Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/sysdir.h Fri Mar 08 13:33:14 2002 +0000 +++ b/src/sysdir.h Wed Mar 13 08:54:06 2002 +0000 @@ -1,5 +1,6 @@ /* Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 2000 Ben Wing. This file is part of XEmacs. @@ -65,70 +66,13 @@ /* encapsulation: directory calls */ -#ifdef ENCAPSULATE_CHDIR -int sys_chdir (const char *path); -#endif -#if defined (ENCAPSULATE_CHDIR) && !defined (DONT_ENCAPSULATE) -# undef chdir -# define chdir sys_chdir -#endif -#if !defined (ENCAPSULATE_CHDIR) && defined (DONT_ENCAPSULATE) -# define sys_chdir chdir -#endif - -#ifdef ENCAPSULATE_MKDIR -int sys_mkdir (const char *path, mode_t mode); -#endif -#if defined (ENCAPSULATE_MKDIR) && !defined (DONT_ENCAPSULATE) -# undef mkdir -# define mkdir sys_mkdir -#endif -#if !defined (ENCAPSULATE_MKDIR) && defined (DONT_ENCAPSULATE) -# define sys_mkdir mkdir -#endif - -#ifdef ENCAPSULATE_OPENDIR -DIR *sys_opendir (const char *filename); -#endif -#if defined (ENCAPSULATE_OPENDIR) && !defined (DONT_ENCAPSULATE) -# undef opendir -# define opendir sys_opendir -#endif -#if !defined (ENCAPSULATE_OPENDIR) && defined (DONT_ENCAPSULATE) -# define sys_opendir opendir -#endif +int qxe_chdir (const Intbyte *path); +int qxe_mkdir (const Intbyte *path, mode_t mode); +DIR *qxe_opendir (const Intbyte *filename); +DIRENTRY *qxe_readdir (DIR *dirp); +int qxe_closedir (DIR *dirp); +int qxe_rmdir (const Intbyte *path); -#ifdef ENCAPSULATE_READDIR -DIRENTRY *sys_readdir (DIR *dirp); -#endif -#if defined (ENCAPSULATE_READDIR) && !defined (DONT_ENCAPSULATE) -# undef readdir -# define readdir sys_readdir -#endif -#if !defined (ENCAPSULATE_READDIR) && defined (DONT_ENCAPSULATE) -# define sys_readdir readdir -#endif - -#ifdef ENCAPSULATE_CLOSEDIR -int sys_closedir (DIR *dirp); -#endif -#if defined (ENCAPSULATE_CLOSEDIR) && !defined (DONT_ENCAPSULATE) -# undef closedir -# define closedir sys_closedir -#endif -#if !defined (ENCAPSULATE_CLOSEDIR) && defined (DONT_ENCAPSULATE) -# define sys_closedir closedir -#endif - -#ifdef ENCAPSULATE_RMDIR -int sys_rmdir (const char *path); -#endif -#if defined (ENCAPSULATE_RMDIR) && !defined (DONT_ENCAPSULATE) -# undef rmdir -# define rmdir sys_rmdir -#endif -#if !defined (ENCAPSULATE_RMDIR) && defined (DONT_ENCAPSULATE) -# define sys_rmdir rmdir -#endif +Intbyte *qxe_allocating_getcwd (void); #endif /* INCLUDED_sysdir_h_ */