diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-05 07:39:19 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-05 07:39:19 +0000 |
commit | 478577c8b34a3ac7645aaf740dda471a9a606c76 (patch) | |
tree | 1b2d87b44edcfb67d078e624dcbeff4aee73c6fc /usr.bin/rdistd | |
parent | 7d73f7651de9982c3fa7e72dcea6465300edbbf1 (diff) |
Assume POSIX: S_IFSOCK and S_IFIFO
Kill some 'notyet' code that will never be enabled
Diffstat (limited to 'usr.bin/rdistd')
-rw-r--r-- | usr.bin/rdistd/server.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/usr.bin/rdistd/server.c b/usr.bin/rdistd/server.c index 68a24391289..2fd6b7f6270 100644 --- a/usr.bin/rdistd/server.c +++ b/usr.bin/rdistd/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.30 2014/07/05 07:22:18 guenther Exp $ */ +/* $OpenBSD: server.c,v 1.31 2014/07/05 07:39:18 guenther Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -287,12 +287,8 @@ removefile(struct stat *statb, int silent) case S_IFLNK: case S_IFCHR: case S_IFBLK: -#ifdef S_IFSOCK case S_IFSOCK: -#endif -#ifdef S_IFIFO case S_IFIFO: -#endif if (unlink(target) < 0) { if (errno == ETXTBSY) { if (!silent) @@ -623,16 +619,6 @@ query(char *xname) case S_IFLNK: case S_IFDIR: case S_IFREG: -#ifdef notyet - case S_IFCHR: - case S_IFBLK: -#ifdef S_IFSOCK - case S_IFSOCK: -#endif -#ifdef S_IFIFO - case S_IFIFO: -#endif -#endif (void) sendcmd(QC_YES, "%lld %lld %o %s %s", (long long) stb.st_size, (long long) stb.st_mtime, |