CVSROOT:        /cvs/src
Module name:    src
Changes by:     cori...@sourceware.org  2012-12-14 10:45:29

Modified files:
        winsup/cygwin  : ChangeLog fhandler.cc fhandler_disk_file.cc 
                         mount.cc path.h 
        winsup/cygwin/include/sys: mount.h 

Log message:
        * fhandler.cc (fhandler_base::write): Don't attempt to sparsify
        an already sparse file.  Drop check for FILE_SUPPORTS_SPARSE_FILES
        flag.  Explicitely set FILE_ATTRIBUTE_SPARSE_FILE attribute in
        cached attributes.
        (fhandler_base::lseek): Only set did_lseek if sparseness is supported.
        * fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Don't attempt
        to sparsify an already sparse file.  Explicitely set
        FILE_ATTRIBUTE_SPARSE_FILE attribute in cached attributes.
        * mount.cc (oopt): Add "sparse" flag.
        (fillout_mntent): Ditto.
        * path.h (enum path_types): Add PATH_SPARSE.
        (path_conv::support_sparse): New method.
        (path_conv::fs_flags): Constify.
        (path_conv::fs_name_len): Ditto.
        include/sys/mount.h: Replace unused MOUNT_MIXED flag with MOUNT_SPARSE.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6006&r2=1.6007
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.429&r2=1.430
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.380&r2=1.381
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mount.cc.diff?cvsroot=src&r1=1.95&r2=1.96
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.h.diff?cvsroot=src&r1=1.171&r2=1.172
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/mount.h.diff?cvsroot=src&r1=1.15&r2=1.16

Reply via email to