Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: Jeff To: cygwin AT cygwin DOT com Subject: fopen()/fclose() turns off compression Date: Wed, 14 Jul 2004 10:18:51 -0700 Organization: Less and less each day.. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <7rW9A5OUR1cX092yn@verizon.net> Lines: 13 X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [4.14.35.87] at Wed, 14 Jul 2004 12:38:50 -0500 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. Jeff -- 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/