mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 11/16] UML - add a comment explaining pread availability
@ 2005-03-07 20:38 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2005-03-07 20:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, user-mode-linux-devel

Prompted by Dave Mielke: This adds a comment explaining why we do not
define _XOPEN_SOURCE, even though the pread man page says you should.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: linux-2.6.11/arch/um/drivers/cow_user.c
===================================================================
--- linux-2.6.11.orig/arch/um/drivers/cow_user.c	2005-03-05 12:07:31.000000000 -0500
+++ linux-2.6.11/arch/um/drivers/cow_user.c	2005-03-05 12:19:11.000000000 -0500
@@ -1,6 +1,9 @@
 #include <stddef.h>
 #include <string.h>
 #include <errno.h>
+/* _XOPEN_SOURCE is needed for pread, but we define _GNU_SOURCE, which defines
+ * that.
+ */
 #include <unistd.h>
 #include <byteswap.h>
 #include <sys/time.h>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-07 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-07 20:38 [PATCH 11/16] UML - add a comment explaining pread availability Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome