Mercurial > emacs
diff lib-src/movemail.c @ 16218:32f82ca8b41f
Replaced all BSD with BSD_SYSTEM.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Tue, 17 Sep 1996 02:37:17 +0000 |
| parents | 328889a58f6d |
| children | ed13d19dbce5 |
line wrap: on
line diff
--- a/lib-src/movemail.c Mon Sep 16 19:00:18 1996 +0000 +++ b/lib-src/movemail.c Tue Sep 17 02:37:17 1996 +0000 @@ -310,13 +310,13 @@ if (indesc < 0) pfatal_with_name (inname); -#if defined (BSD) || defined (XENIX) +#if defined (BSD_SYSTEM) || defined (XENIX) /* In case movemail is setuid to root, make sure the user can read the output file. */ /* This is desirable for all systems but I don't want to assume all have the umask system call */ umask (umask (0) & 0333); -#endif /* BSD or Xenix */ +#endif /* BSD_SYSTEM || XENIX */ outdesc = open (outname, O_WRONLY | O_CREAT | O_EXCL, 0666); if (outdesc < 0) pfatal_with_name (outname); @@ -354,7 +354,7 @@ } } -#ifdef BSD +#ifdef BSD_SYSTEM if (fsync (outdesc) < 0) pfatal_and_delete (outname); #endif @@ -588,7 +588,7 @@ * directories have lost mail when over quota because these checks were * not made in previous versions of movemail. */ -#ifdef BSD +#ifdef BSD_SYSTEM if (fsync (mbfi) < 0) { error ("Error in fsync: %s", strerror (errno));
