home *** CD-ROM | disk | FTP | other *** search
- --- Makefile.rtr Tue Feb 4 14:41:15 1997
- +++ Makefile Tue Feb 4 14:43:49 1997
- @@ -28,8 +28,8 @@
- DEPEND= /usr/bin/X11/makedepend
- COMPILE_ET= ../com_err/compile_et
- LINT= lint
- -MALLOC=
- -DEFINES= $(MALLOC)
- +MALLOC= -DMALLOC_0_RETURNS_NULL
- +DEFINES= -DSYSV -DMAXPATHLEN=PATHSIZE $(MALLOC) -DPOSIX
-
-
- # These variables apply only if you want this program to recognize
- --- delete.c.rtr Tue Feb 4 14:41:13 1997
- +++ delete.c Tue Feb 4 14:41:16 1997
- @@ -14,13 +14,15 @@
- static char rcsid_delete_c[] = "$Header: /afs/athena.mit.edu/astaff/project/delete/src/RCS/delete.c,v 1.26 91/06/04 22:06:55 jik Exp $";
- #endif
-
- +#define MAXPATHLEN PATHSIZE
- #include <sys/types.h>
- +#include <sys/unistd.h>
- #include <stdio.h>
- #ifdef POSIX
- #include <dirent.h>
- #define direct dirent
- #else
- -#include <sys/dir.h>
- +#include <sys/ndir.h>
- #endif
- #ifdef SYSV
- #include <string.h>
- --- directories.c.rtr Tue Feb 4 14:41:13 1997
- +++ directories.c Tue Feb 4 14:41:17 1997
- @@ -21,7 +21,7 @@
- #include <dirent.h>
- #define direct dirent
- #else
- -#include <sys/dir.h>
- +/* #include <sys/ndir.h> */
- #endif
- #ifdef SYSV
- #include <string.h>
- --- directories.h.rtr Tue Feb 4 14:41:17 1997
- +++ directories.h Tue Feb 4 14:41:18 1997
- @@ -12,7 +12,7 @@
- */
-
- #include "mit-copying.h"
- -#include <sys/ndir.h>
- +/* #include <sys/ndir.h> */
-
- typedef short Boolean;
- #define True (Boolean) 1
- --- expunge.c.rtr Tue Feb 4 14:41:14 1997
- +++ expunge.c Tue Feb 4 14:41:17 1997
- @@ -21,7 +21,7 @@
- #include <dirent.h>
- #define direct dirent
- #else
- -#include <sys/dir.h>
- +/* #include <sys/dir.h> */
- #endif
- #include <sys/param.h>
- #ifdef SYSV
- --- lsdel.c.rtr Tue Feb 4 14:41:14 1997
- +++ lsdel.c Tue Feb 4 14:41:17 1997
- @@ -20,7 +20,7 @@
- #include <dirent.h>
- #define direct dirent
- #else
- -#include <sys/dir.h>
- +/* #include <sys/dir.h> */
- #endif
- #include <sys/param.h>
- #ifdef SYSV
- --- pattern.c.rtr Tue Feb 4 14:41:14 1997
- +++ pattern.c Tue Feb 4 14:41:17 1997
- @@ -20,7 +20,7 @@
- #include <dirent.h>
- #define direct dirent
- #else
- -#include <sys/dir.h>
- +/* #include <sys/dir.h> */
- #endif
- #include <sys/param.h>
- #ifdef SYSV
- @@ -774,6 +774,7 @@
- }
-
- if (is_link(base, &statbuf)) {
- +#ifndef M_UNIX /* SCO doesn't get symbolic links until 3.2.4 */
- /* Never follow deleted symlinks */
- if (is_deleted(lastpart(base))) {
- return 0;
- @@ -808,6 +809,7 @@
- return error_code;
- }
- }
- +#endif
- }
-
- if ((statbuf.st_mode & S_IFMT) != S_IFDIR)
- --- undelete.c.rtr Tue Feb 4 14:41:13 1997
- +++ undelete.c Tue Feb 4 14:41:18 1997
- @@ -20,7 +20,7 @@
- #include <dirent.h>
- #define direct dirent
- #else
- -#include <sys/dir.h>
- +/* #include <sys/dir.h> */
- #endif
- #include <sys/param.h>
- #ifdef SYSV
- --- util.c.rtr Tue Feb 4 14:41:14 1997
- +++ util.c Tue Feb 4 14:41:18 1997
- @@ -18,13 +18,13 @@
- #include <sys/param.h>
- #include <sys/types.h>
- #ifdef SYSV /* SYSV doesn't define uid_t */
- -typedef unsigned short uid_t;
- +/*typedef unsigned short uid_t;*/ /* causes redef probs under SCO */
- #endif
- #ifdef POSIX
- #include <dirent.h>
- #define direct dirent
- #else
- -#include <sys/dir.h>
- +/* #include <sys/ndir.h> */
- #endif
- #ifdef SYSV
- #include <string.h>
-