diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-10-05 09:40:24 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-10-05 09:40:24 +0000 |
commit | 50c3b63a06a56b18c07951482d88b5d383ea5238 (patch) | |
tree | 89047447a1174a24afbbcdce5d5a14a41bf32939 /libutil | |
parent | 35fd1d093a6c50c4289d09f61aa3407d0b6fd62a (diff) | |
download | pw-darwin-50c3b63a06a56b18c07951482d88b5d383ea5238.tar.gz pw-darwin-50c3b63a06a56b18c07951482d88b5d383ea5238.tar.zst pw-darwin-50c3b63a06a56b18c07951482d88b5d383ea5238.zip |
Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/pw_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libutil/pw_util.c b/libutil/pw_util.c index 21e0ca5..5902c07 100644 --- a/libutil/pw_util.c +++ b/libutil/pw_util.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94"; +static const char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ /* @@ -126,7 +126,7 @@ pw_tmp() int fd; char *p; - if (p = strrchr(path, '/')) + if ((p = strrchr(path, '/'))) ++p; else p = path; @@ -172,7 +172,7 @@ pw_edit(notsetuid) if (!(editor = getenv("EDITOR"))) editor = _PATH_VI; - if (p = strrchr(editor, '/')) + if ((p = strrchr(editor, '/'))) ++p; else p = editor; |