CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2008-05-20 15:11:29

Modified files:
        winsup/cygwin  : ChangeLog Makefile.in fhandler.cc fhandler.h 
                         fhandler_disk_file.cc mount.cc path.cc path.h 
Added files:
        winsup/cygwin  : nfs.cc nfs.h 

Log message:
        * Makefile.in (DLL_OFILES): Add nfs.o.
        * fhandler.cc (fhandler_base::open): Open files on NFS shares with
        correct access flags and EAs.
        * fhandler.h (fhandler_base::fstat_by_nfs_ea): Declare.
        * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): New method.
        (fhandler_base::fstat_by_handle): Call fstat_by_nfs_ea for files on
        NFS shares.
        (fhandler_disk_file::fchmod): Use NFS specific method to set mode for
        files on NFS shares.  Don't overrule errno from call to
        set_file_attribute with errno from NtSetInformationFile call.
        (fhandler_disk_file::fchown): Add comment.
        * mount.cc (fillout_mntent): Accommodate change in second parameter
        to fs_info::update.
        * nfs.cc: New file.
        * nfs.h: New file.
        * path.cc (fs_info::update): Take handle instead of bool as second
        parameter.  Use that handle if it's not NULL.  Only close handle if
        it has been opened here.  Use static defined buffers instead of
        alloca'd buffers.
        (path_conv::check): Call symlink_info::check with reference to fs.
        Don't call fs.update here if file exists.
        (conv_path_list): Prefer tmp_pathbuf buffer over using alloca.
        (symlink_worker): Use NFS specific method to create symlinks on NFS
        shares.  Prefer tmp_pathbuf buffer over using alloca.
        (symlink_info::check_shortcut): Reopen file from incoming handle
        with necessary FILE_GENERIC_READ flag.  Prefer tmp_pathbuf buffer over
        using alloca.
        (symlink_info::check_sysfile): Ditto.
        (symlink_info::check_reparse_point): Use tmp_pathbuf buffer to
        allocate REPARSE_DATA_BUFFER.
        (symlink_info::check_nfs_symlink): New method.
        (enum symlink_t): Remove.
        (symlink_info::check): Don't use NtQueryAttributesFile.  Rather, open
        file with necessary access flags and call NtQueryInformationFile.  Fix
        error handling in case file can't be opened.  For existing files, call
        fs_info::update here.  Restructure symlink checking to accommodate the
        fact that the file is already open.  Add case for NFS symlinks.
        * path.h (fs_info::update): Take handle instead of bool as second
        parameter.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/nfs.cc.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/nfs.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4148&r2=1.4149
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/Makefile.in.diff?cvsroot=src&r1=1.213&r2=1.214
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.324&r2=1.325
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.344&r2=1.345
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.274&r2=1.275
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mount.cc.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.497&r2=1.498
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.h.diff?cvsroot=src&r1=1.119&r2=1.120

Reply via email to