diff options
author | kris <kris@FreeBSD.org> | 2001-10-01 06:22:53 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-10-01 06:22:53 +0000 |
commit | ebde71313f25e6c00554d63efdb7e13e7ec8da0f (patch) | |
tree | cf5a73cdbdc325eb67758fae618b870f0530f779 /gnu/libexec/uucp/libunix/chmod.c | |
parent | 5a5b9f79f48be499ceca11f3d54c0525935b9ac1 (diff) | |
download | FreeBSD-src-ebde71313f25e6c00554d63efdb7e13e7ec8da0f.zip FreeBSD-src-ebde71313f25e6c00554d63efdb7e13e7ec8da0f.tar.gz |
Phase I of UUCP migration to ports. This leaves behind a minimal build
environment for cu, which is still useful.
Diffstat (limited to 'gnu/libexec/uucp/libunix/chmod.c')
-rw-r--r-- | gnu/libexec/uucp/libunix/chmod.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gnu/libexec/uucp/libunix/chmod.c b/gnu/libexec/uucp/libunix/chmod.c deleted file mode 100644 index cf69f3e..0000000 --- a/gnu/libexec/uucp/libunix/chmod.c +++ /dev/null @@ -1,25 +0,0 @@ -/* chmod.c - Change the mode of a file. */ - -#include "uucp.h" - -#include "uudefs.h" -#include "sysdep.h" -#include "system.h" - -#include <errno.h> - -/* Change the mode of a file. */ - -boolean -fsysdep_change_mode (zfile, imode) - const char *zfile; - unsigned int imode; -{ - if (chmod ((char *) zfile, imode) < 0) - { - ulog (LOG_ERROR, "chmod (%s): %s", zfile, strerror (errno)); - return FALSE; - } - return TRUE; -} |