From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24804 invoked by alias); 2 Apr 2013 08:46:43 -0000 Mailing-List: contact cygwin-patches-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Archive: List-Help: , Sender: cygwin-patches-owner@cygwin.com Mail-Followup-To: cygwin-patches@cygwin.com Received: (qmail 24767 invoked by uid 89); 2 Apr 2013 08:46:36 -0000 X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,CHARSET_FARAWAY_HEADER,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 02 Apr 2013 08:46:34 +0000 Received: by mail-wi0-f173.google.com with SMTP id ez12so2284785wid.12 for ; Tue, 02 Apr 2013 01:46:32 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.89.105 with SMTP id bn9mr14000199wib.26.1364892392103; Tue, 02 Apr 2013 01:46:32 -0700 (PDT) Received: by 10.217.88.74 with HTTP; Tue, 2 Apr 2013 01:46:32 -0700 (PDT) Date: Tue, 02 Apr 2013 08:46:00 -0000 Message-ID: Subject: Forgotted appersand From: =?KOI8-R?B?4czFy9PFyiDwwdfMz9c=?= To: cygwin-patches@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-q2/txt/msg00000.txt.bz2 Hi! On cygwin-64bit-branch I think one appersand is forgotten. --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -1176,7 +1176,7 @@ fhandler_disk_file::ftruncate (off_t length, bool allow_truncate) /* Create sparse files only when called through ftruncate, not when called through posix_fallocate. */ if (allow_truncate && pc.support_sparse () - & !has_attribute (FILE_ATTRIBUTE_SPARSE_FILE) + && !has_attribute (FILE_ATTRIBUTE_SPARSE_FILE) && length >= fsi.EndOfFile.QuadPart + (128 * 1024)) { status = NtFsControlFile (get_handle (), NULL, NULL, NULL, &io, Best regards, Alexey.