Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2] compat: convert modes to use portable file type values

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:03:12
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

David Michael [off-list ref] writes:
On Wed, Dec 3, 2014 at 9:24 PM, David Michael [off-list ref] wrote:
quoted
--- /dev/null
+++ b/compat/stat.c
@@ -0,0 +1,49 @@
+#define _POSIX_C_SOURCE 200112L
+#include <stddef.h>    /* NULL         */
+#include <sys/stat.h>  /* *stat, S_IS* */
+#include <sys/types.h> /* mode_t       */
Oops, the <stddef.h> line can be removed now that this is no longer
testing for NULL.  Let me know if this warrants a v3 if there is no
other feedback.
Let me queue with this squashed in for now.

 compat/stat.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/compat/stat.c b/compat/stat.c
index c2d4711..a2d3931 100644
--- a/compat/stat.c
+++ b/compat/stat.c
@@ -1,5 +1,4 @@
 #define _POSIX_C_SOURCE 200112L
-#include <stddef.h>    /* NULL         */
 #include <sys/stat.h>  /* *stat, S_IS* */
 #include <sys/types.h> /* mode_t       */
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help