summaryrefslogtreecommitdiff
path: root/games/hack/hack.unix.c
diff options
context:
space:
mode:
authorfn <fn@cvs.openbsd.org>1996-05-26 07:23:15 +0000
committerfn <fn@cvs.openbsd.org>1996-05-26 07:23:15 +0000
commit637bb72c923267f485c490f395cf06fe32574c30 (patch)
treebe8b57e67e5823e7ad5c6ec61a3763a373f04417 /games/hack/hack.unix.c
parent959f20497708ba4bb64bbbeb7561b6cf694316ec (diff)
fixed the "/* in comments" problem.
Diffstat (limited to 'games/hack/hack.unix.c')
-rw-r--r--games/hack/hack.unix.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/games/hack/hack.unix.c b/games/hack/hack.unix.c
index 174248ad58c..eb67a3d4d1b 100644
--- a/games/hack/hack.unix.c
+++ b/games/hack/hack.unix.c
@@ -97,12 +97,12 @@ struct stat buf, hbuf;
gethdate(name) char *name; {
/* old version - for people short of space */
/*
-/* register char *np;
-/* if(stat(name, &hbuf))
-/* error("Cannot get status of %s.",
-/* (np = rindex(name, '/')) ? np+1 : name);
-/*
-/* version using PATH from: seismo!gregc@ucsf-cgl.ARPA (Greg Couch) */
+ register char *np;
+ if(stat(name, &hbuf))
+ error("Cannot get status of %s.",
+ (np = rindex(name, '/')) ? np+1 : name);
+
+ version using PATH from: seismo!gregc@ucsf-cgl.ARPA (Greg Couch) */
/*
@@ -166,8 +166,8 @@ veryold(fd) {
return(0);
/* From: Rick Adams <seismo!rick>
- /* This will work on 4.1cbsd, 4.2bsd and system 3? & 5.
- /* It will do nothing on V7 or 4.1bsd. */
+ This will work on 4.1cbsd, 4.2bsd and system 3? & 5.
+ It will do nothing on V7 or 4.1bsd. */
if(!(kill(lockedpid, 0) == -1 && errno == ESRCH))
return(0);
}