[PATCH] fix reading from inotify

simo idra at samba.org
Sat Sep 5 10:50:44 MDT 2009


On Sat, 2009-09-05 at 18:31 +0200, Volker Lendecke wrote:
> On Sat, Sep 05, 2009 at 12:21:13PM -0400, simo wrote:
> > attached find 2 patches.
> > 0001 makes sure we do not loose errno before reporting on it.
> > 0002 should fix a bug when reading from the inotify file descriptor
> > returns a short read - bug #6693
> 
> Looks good, thanks.
> 
> I'd also print nt_errstr(status) in "Failed to read all
> inotify data\n"

Ok added nt_errstr() and pushed both to master.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list