fopen()/fclose() turns off compression

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Jul 14 19:47:00 GMT 2004


On Jul 14 10:18, Jeff wrote:
> I wrote about this issue before, but now I have something specific to
> report. I'm running the latest Cygwin on WinXP Pro SP1, and have my HDD
> formatted NTFS. I also have it set to compress all new and modified
> files (compression set for the HDD, inheritable to all directories and
> files). fopen (file_name, "w")/fclose() on an already-existing file
> overwrites it as expected, but the new file will have the NTFS
> compression attribute turned off. fopen()/fclose() on a new (not yet
> existing file) results in a compresed file. Earlier Cygwin versions did
> not do this, and all files created or modified by Cygwin apps correctly
> inherited all NTFS file attributes.

Please try the cygwin DLL from the latest developers snapshot, see
http://cygwin.com/snapshots/ 
Does the same still happen with that Cygwin DLL?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list