projects
/
sxemacs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Partially sync files.el from XEmacs 21.5 for wildcard support.
[sxemacs]
/
src
/
sysfile.h
diff --git
a/src/sysfile.h
b/src/sysfile.h
index
86e4cf1
..
df59f91
100644
(file)
--- a/
src/sysfile.h
+++ b/
src/sysfile.h
@@
-47,7
+47,7
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <sys/param.h>
#include <sys/param.h>
-#if defined (NeXT)
+#if defined (NeXT)
/* what is needed from here? Do others need it too? */
# include <sys/fcntl.h>
#endif /* NeXT */
/* what is needed from here? Do others need it too? */
# include <sys/fcntl.h>
#endif /* NeXT */
@@
-304,6
+304,7
@@
ssize_t sys_write(int, const void *, size_t);
#ifdef ENCAPSULATE_OPEN
int sys_open(const char *, int, ...);
#ifdef ENCAPSULATE_OPEN
int sys_open(const char *, int, ...);
+int raw_open(const char *, int, ...);
#endif
#if defined (ENCAPSULATE_OPEN) && !defined (DONT_ENCAPSULATE)
# undef open
#endif
#if defined (ENCAPSULATE_OPEN) && !defined (DONT_ENCAPSULATE)
# undef open
@@
-311,6
+312,7
@@
int sys_open(const char *, int, ...);
#endif
#if !defined (ENCAPSULATE_OPEN) && defined (DONT_ENCAPSULATE)
# define sys_open open
#endif
#if !defined (ENCAPSULATE_OPEN) && defined (DONT_ENCAPSULATE)
# define sys_open open
+# define raw_open open
#endif
#ifdef ENCAPSULATE_CLOSE
#endif
#ifdef ENCAPSULATE_CLOSE