* mdocml: Illumos doesn't have O_DIRECTORY.
@ 2017-02-09 18:47 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-02-09 18:47 UTC (permalink / raw)
To: source
Log Message:
-----------
Illumos doesn't have O_DIRECTORY. Work around that for now, may
fix it better after the 1.14.1 release. Portability issue reported
by Sevan Janiyan <venture37 at geeklan dot co dot uk>.
Modified Files:
--------------
mdocml:
catman.c
Revision Data
-------------
Index: catman.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/catman.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -Lcatman.c -Lcatman.c -u -p -r1.16 -r1.17
--- catman.c
+++ catman.c
@@ -41,6 +41,10 @@
#include <time.h>
#include <unistd.h>
+#ifndef O_DIRECTORY
+#define O_DIRECTORY 0
+#endif
+
int process_manpage(int, int, const char *);
int process_tree(int, int);
void run_mandocd(int, const char *, const char *)
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-09 18:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09 18:47 mdocml: Illumos doesn't have O_DIRECTORY schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).