|
From: <sv...@va...> - 2006-04-12 11:11:13
|
Author: njn Date: 2006-04-12 12:10:46 +0100 (Wed, 12 Apr 2006) New Revision: 5842 Log: Add the O_LARGEFILE constant so people can use it when writing tools that generate large trace files (> 2GB). Modified: trunk/include/vki-amd64-linux.h trunk/include/vki-ppc32-linux.h trunk/include/vki-ppc64-linux.h trunk/include/vki-x86-linux.h Modified: trunk/include/vki-amd64-linux.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/include/vki-amd64-linux.h 2006-04-12 10:08:05 UTC (rev 5841) +++ trunk/include/vki-amd64-linux.h 2006-04-12 11:10:46 UTC (rev 5842) @@ -236,6 +236,7 @@ #define VKI_O_TRUNC 01000 /* not fcntl */ #define VKI_O_APPEND 02000 #define VKI_O_NONBLOCK 04000 +#define VKI_O_LARGEFILE 0100000 =20 #define VKI_F_DUPFD 0 /* dup */ #define VKI_F_GETFD 1 /* get close_on_exec */ Modified: trunk/include/vki-ppc32-linux.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/include/vki-ppc32-linux.h 2006-04-12 10:08:05 UTC (rev 5841) +++ trunk/include/vki-ppc32-linux.h 2006-04-12 11:10:46 UTC (rev 5842) @@ -289,6 +289,7 @@ #define VKI_O_TRUNC 01000 /* not fcntl */ #define VKI_O_APPEND 02000 #define VKI_O_NONBLOCK 04000 +#define VKI_O_LARGEFILE 0200000 =20 #define VKI_F_DUPFD 0 /* dup */ #define VKI_F_GETFD 1 /* get close_on_exec */ Modified: trunk/include/vki-ppc64-linux.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/include/vki-ppc64-linux.h 2006-04-12 10:08:05 UTC (rev 5841) +++ trunk/include/vki-ppc64-linux.h 2006-04-12 11:10:46 UTC (rev 5842) @@ -345,6 +345,7 @@ #define VKI_O_TRUNC 01000 /* not fcntl */ #define VKI_O_APPEND 02000 #define VKI_O_NONBLOCK 04000 +#define VKI_O_LARGEFILE 0200000 =20 #define VKI_F_DUPFD 0 /* dup */ #define VKI_F_GETFD 1 /* get close_on_exec */ Modified: trunk/include/vki-x86-linux.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/include/vki-x86-linux.h 2006-04-12 10:08:05 UTC (rev 5841) +++ trunk/include/vki-x86-linux.h 2006-04-12 11:10:46 UTC (rev 5842) @@ -268,6 +268,7 @@ #define VKI_O_TRUNC 01000 /* not fcntl */ #define VKI_O_APPEND 02000 #define VKI_O_NONBLOCK 04000 +#define VKI_O_LARGEFILE 0100000 =20 #define VKI_F_DUPFD 0 /* dup */ #define VKI_F_GETFD 1 /* get close_on_exec */ |