Thread (2 messages) flat view 2 messages, 1 author, 2016-06-15

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

From: David Michael <hidden>
Date: 2016-06-15 23:03:12

On Wed, Dec 3, 2014 at 9:24 PM, David Michael [off-list ref] wrote:
quoted hunk ↗ jump to hunk
--- /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.

Thanks.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help