Package: fatrace
Version: 0.10-1
Severity: important
Tags: patch

Pick up O_LARGEFILE, if defined.


diff --git a/fatrace/fatrace.c b/fatrace/fatrace.c
index ec925b7..cf99fa9 100644
--- a/fatrace/fatrace.c
+++ b/fatrace/fatrace.c
@@ -42,7 +42,11 @@
  * 
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1e2ee49f7
  * O_LARGEFILE is usually 0, so hardcode it here
  */
+#ifdef O_LARGEFILE
+#define KERNEL_O_LARGEFILE O_LARGEFILE
+#else
 #define KERNEL_O_LARGEFILE 00100000
+#endif

 /* command line options */
 static char* option_output = NULL;


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (99, 'unstable'), (59, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages fatrace depends on:
ii  libc6  2.19-18

Versions of packages fatrace recommends:
ii  powertop  2.6.1-1
ii  python3   3.4.2-2

fatrace suggests no packages.

-- no debconf information


Cheers,

--
Cristian


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to