summaryrefslogtreecommitdiff
path: root/source3/autogen.sh
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-09-05 10:18:12 -0400
committerSimo Sorce <idra@samba.org>2009-09-05 12:49:26 -0400
commitaffed02ef67b495e8785a56545d15eff96d7a749 (patch)
tree18d2e389dd4e4160d9f282023f59c0a6939cf88e /source3/autogen.sh
parentbc081cf0cc41ad8da24cc60c27ab7c7931d60c55 (diff)
downloadsamba-affed02ef67b495e8785a56545d15eff96d7a749.tar.gz
samba-affed02ef67b495e8785a56545d15eff96d7a749.tar.bz2
samba-affed02ef67b495e8785a56545d15eff96d7a749.zip
Check we read off the compelte event from inotify
The kernel may return a short read, so we must use read_data() to make sure we read off the full buffer. If somethign bad happens we also need to kill the inotify watch because the filedescriptor will return out of sync structures if we read only part of the data.
Diffstat (limited to 'source3/autogen.sh')
0 files changed, 0 insertions, 0 deletions