Mercurial > hg > xemacs-beta
comparison src/sysdir.h @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | b39c14581166 |
children | 804517e16990 |
comparison
equal
deleted
inserted
replaced
770:336a418893b5 | 771:943eaba38521 |
---|---|
1 /* | 1 /* |
2 Copyright (C) 1995 Free Software Foundation, Inc. | 2 Copyright (C) 1995 Free Software Foundation, Inc. |
3 Copyright (C) 2000 Ben Wing. | |
3 | 4 |
4 This file is part of XEmacs. | 5 This file is part of XEmacs. |
5 | 6 |
6 XEmacs is free software; you can redistribute it and/or modify it | 7 XEmacs is free software; you can redistribute it and/or modify it |
7 under the terms of the GNU General Public License as published by the | 8 under the terms of the GNU General Public License as published by the |
63 | 64 |
64 #define DIRENTRY_NONEMPTY(p) ((p)->d_ino) | 65 #define DIRENTRY_NONEMPTY(p) ((p)->d_ino) |
65 | 66 |
66 /* encapsulation: directory calls */ | 67 /* encapsulation: directory calls */ |
67 | 68 |
68 #ifdef ENCAPSULATE_CHDIR | 69 int qxe_chdir (const Intbyte *path); |
69 int sys_chdir (const char *path); | 70 int qxe_mkdir (const Intbyte *path, mode_t mode); |
70 #endif | 71 DIR *qxe_opendir (const Intbyte *filename); |
71 #if defined (ENCAPSULATE_CHDIR) && !defined (DONT_ENCAPSULATE) | 72 DIRENTRY *qxe_readdir (DIR *dirp); |
72 # undef chdir | 73 int qxe_closedir (DIR *dirp); |
73 # define chdir sys_chdir | 74 int qxe_rmdir (const Intbyte *path); |
74 #endif | |
75 #if !defined (ENCAPSULATE_CHDIR) && defined (DONT_ENCAPSULATE) | |
76 # define sys_chdir chdir | |
77 #endif | |
78 | 75 |
79 #ifdef ENCAPSULATE_MKDIR | 76 Intbyte *qxe_allocating_getcwd (void); |
80 int sys_mkdir (const char *path, mode_t mode); | |
81 #endif | |
82 #if defined (ENCAPSULATE_MKDIR) && !defined (DONT_ENCAPSULATE) | |
83 # undef mkdir | |
84 # define mkdir sys_mkdir | |
85 #endif | |
86 #if !defined (ENCAPSULATE_MKDIR) && defined (DONT_ENCAPSULATE) | |
87 # define sys_mkdir mkdir | |
88 #endif | |
89 | |
90 #ifdef ENCAPSULATE_OPENDIR | |
91 DIR *sys_opendir (const char *filename); | |
92 #endif | |
93 #if defined (ENCAPSULATE_OPENDIR) && !defined (DONT_ENCAPSULATE) | |
94 # undef opendir | |
95 # define opendir sys_opendir | |
96 #endif | |
97 #if !defined (ENCAPSULATE_OPENDIR) && defined (DONT_ENCAPSULATE) | |
98 # define sys_opendir opendir | |
99 #endif | |
100 | |
101 #ifdef ENCAPSULATE_READDIR | |
102 DIRENTRY *sys_readdir (DIR *dirp); | |
103 #endif | |
104 #if defined (ENCAPSULATE_READDIR) && !defined (DONT_ENCAPSULATE) | |
105 # undef readdir | |
106 # define readdir sys_readdir | |
107 #endif | |
108 #if !defined (ENCAPSULATE_READDIR) && defined (DONT_ENCAPSULATE) | |
109 # define sys_readdir readdir | |
110 #endif | |
111 | |
112 #ifdef ENCAPSULATE_CLOSEDIR | |
113 int sys_closedir (DIR *dirp); | |
114 #endif | |
115 #if defined (ENCAPSULATE_CLOSEDIR) && !defined (DONT_ENCAPSULATE) | |
116 # undef closedir | |
117 # define closedir sys_closedir | |
118 #endif | |
119 #if !defined (ENCAPSULATE_CLOSEDIR) && defined (DONT_ENCAPSULATE) | |
120 # define sys_closedir closedir | |
121 #endif | |
122 | |
123 #ifdef ENCAPSULATE_RMDIR | |
124 int sys_rmdir (const char *path); | |
125 #endif | |
126 #if defined (ENCAPSULATE_RMDIR) && !defined (DONT_ENCAPSULATE) | |
127 # undef rmdir | |
128 # define rmdir sys_rmdir | |
129 #endif | |
130 #if !defined (ENCAPSULATE_RMDIR) && defined (DONT_ENCAPSULATE) | |
131 # define sys_rmdir rmdir | |
132 #endif | |
133 | 77 |
134 #endif /* INCLUDED_sysdir_h_ */ | 78 #endif /* INCLUDED_sysdir_h_ */ |