[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs coreutils was broken wrt LARGEFILE support
From: |
Jim Meyering |
Subject: |
cvs coreutils was broken wrt LARGEFILE support |
Date: |
Thu, 25 Aug 2005 18:52:26 +0200 |
Today I tried to use `cp' to copy a file larger than 2GB and
was surprised to get a `File too large' error.
Here's the patch I've applied to both coreutils and gnulib:
2005-08-25 Jim Meyering <address@hidden>
* open-safer.c: Include <config.h>.
Otherwise, we'd lose LARGEFILE support in any file using
e.g. "fcntl--.h"
Index: lib/open-safer.c
===================================================================
RCS file: /fetish/cu/lib/open-safer.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -u -r1.3 -r1.4
--- lib/open-safer.c 3 Jul 2005 06:43:07 -0000 1.3
+++ lib/open-safer.c 25 Aug 2005 16:28:18 -0000 1.4
@@ -17,6 +17,10 @@
/* Written by Paul Eggert. */
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include "fcntl-safer.h"
#include <fcntl.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- cvs coreutils was broken wrt LARGEFILE support,
Jim Meyering <=