This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: Forgotted appersand
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 2 Apr 2013 11:08:52 +0200
- Subject: Re: Forgotted appersand
- References: <CABEPuQL+SF_sV1NDYGHam8KWtgdzBKWqWDzUUgW9c4imQ1oriw at mail dot gmail dot com>
- Reply-to: cygwin-patches at cygwin dot com
On Apr 2 12:46, ÐÐÐÐÑÐÐ ÐÐÐÐÐÐ wrote:
> 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,
Thanks for catching! I just applied the patch.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat