CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2004-04-08 07:57:28

Modified files:
        winsup/cygwin  : ChangeLog fhandler.cc fhandler.h 
                         fhandler_disk_file.cc security.cc security.h 
                         syscalls.cc 

Log message:
        * fhandler.cc (fhandler_base::open): Set query access mode according
        to query_open setting.
        (fhandler_base::fhandler_base): Initialize query_open.
        * fhandler.h (FH_QUERYOPEN): Drop.
        (enum query_state): Add.
        (class fhandler_base): Add query_open member.
        (fhandler_base::get_query_open): Redefine to use query_open.
        (fhandler_base::set_query_open): Ditto.
        * fhandler_disk_file.cc (fhandler_base::fstat_fs): Remove O_DIROPEN
        from open_flags since it's added in open_fs anyway.  Remove
        query_open_already.  Use new query_open settings.  Rearrange slightly.
        (fhandler_base::fstat_helper): Add get_io_handle as parameter to
        get_file_attribute.
        * security.cc (get_nt_object_attribute): Make returning an int.
        Return -1 on error, 0 otherwise.
        (get_file_attribute): Take an object handle as argument. Move down
        to allow calling get_nt_object_attribute in case a non-NULL handle
        is given.
        * security.h (get_file_attribute): Add handle to argument list.
        * syscalls.cc (chown_worker): Accomodate new definition of
        get_file_attribute.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2402&r2=1.2403
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.178&r2=1.179
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.194&r2=1.195
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.79&r2=1.80
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.161&r2=1.162
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.h.diff?cvsroot=src&r1=1.52&r2=1.53
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.322&r2=1.323

Reply via email to