summaryrefslogtreecommitdiffstats
path: root/bin/csh/csh.c
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2015-10-26 22:03:06 +0000
committernaddy <naddy@openbsd.org>2015-10-26 22:03:06 +0000
commitb5ff2eaa55bf28e828eeaff05335860de2fdee30 (patch)
treed9f27048a962302d167a0285491bcf312abb8c6d /bin/csh/csh.c
parentHandle unknown keys more gracefully, return a string instead of NULL. (diff)
downloadwireguard-openbsd-b5ff2eaa55bf28e828eeaff05335860de2fdee30.tar.xz
wireguard-openbsd-b5ff2eaa55bf28e828eeaff05335860de2fdee30.zip
miscellaneous cruft:
* remove lint * unifdef S_IFLNK, S_ISFIFO, S_ISLNK, S_ISSOCK, O_APPEND * remove 0, NOTUSED, notdef -- untouched since original import * remove IIASA
Diffstat (limited to 'bin/csh/csh.c')
-rw-r--r--bin/csh/csh.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/csh/csh.c b/bin/csh/csh.c
index 51d873ebf39..4839de79306 100644
--- a/bin/csh/csh.c
+++ b/bin/csh/csh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: csh.c,v 1.33 2015/10/26 21:57:42 naddy Exp $ */
+/* $OpenBSD: csh.c,v 1.34 2015/10/26 22:03:06 naddy Exp $ */
/* $NetBSD: csh.c,v 1.14 1995/04/29 23:21:28 mycroft Exp $ */
/*-
@@ -1278,11 +1278,6 @@ defaultpath(void)
#undef DIRAPPEND
-#if 0
- if (euid != 0 && uid != 0)
- *blkp++ = Strsave(STRdot);
-#endif
-
*blkp = NULL;
return (blk);
}