CVS commit: src/usr.bin/nohup
Module Name:src Committed By: wiz Date: Thu Mar 29 18:33:20 UTC 2012 Modified Files: src/usr.bin/nohup: nohup.1 Log Message: Punctuation. >From patch by Bug Hunting. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/nohup/nohup.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/nohup/nohup.1 diff -u src/usr.bin/nohup/nohup.1:1.14 src/usr.bin/nohup/nohup.1:1.15 --- src/usr.bin/nohup/nohup.1:1.14 Fri May 14 17:28:56 2010 +++ src/usr.bin/nohup/nohup.1 Thu Mar 29 18:33:19 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: nohup.1,v 1.14 2010/05/14 17:28:56 joerg Exp $ +.\" $NetBSD: nohup.1,v 1.15 2012/03/29 18:33:19 wiz Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -80,7 +80,7 @@ will exit without invoking with an exit value as described below. .Sh ENVIRONMENT The following variable is used by -.Nm . +.Nm : .Bl -tag -width flag .It Ev HOME User's home directory.
CVS commit: src/usr.bin/nohup
Module Name:src Committed By: joerg Date: Tue Sep 6 18:24:15 UTC 2011 Modified Files: src/usr.bin/nohup: nohup.c Log Message: ANSIfy + __dead To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/nohup/nohup.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/nohup/nohup.c diff -u src/usr.bin/nohup/nohup.c:1.14 src/usr.bin/nohup/nohup.c:1.15 --- src/usr.bin/nohup/nohup.c:1.14 Sun Apr 12 23:38:17 2009 +++ src/usr.bin/nohup/nohup.c Tue Sep 6 18:24:15 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: nohup.c,v 1.14 2009/04/12 23:38:17 lukem Exp $ */ +/* $NetBSD: nohup.c,v 1.15 2011/09/06 18:24:15 joerg Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "@(#)nohup.c 5.4 (Berkeley) 6/1/90"; #endif -__RCSID("$NetBSD: nohup.c,v 1.14 2009/04/12 23:38:17 lukem Exp $"); +__RCSID("$NetBSD: nohup.c,v 1.15 2011/09/06 18:24:15 joerg Exp $"); #endif /* not lint */ #include @@ -53,9 +53,8 @@ #include #include -static void dofile __P((void)); -static void usage __P((void)); -int main __P((int, char **)); +static void dofile(void); +__dead static void usage(void); /* nohup shall exit with one of the following values: 126 - The utility was found but could not be invoked. @@ -66,9 +65,7 @@ #define EXIT_MISC 127 int -main(argc, argv) - int argc; - char **argv; +main(int argc, char **argv) { int exit_status; @@ -100,7 +97,7 @@ } static void -dofile() +dofile(void) { int fd; char path[MAXPATHLEN]; @@ -138,7 +135,7 @@ } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: nohup utility [argument ...]\n"); exit(EXIT_MISC);
CVS commit: src/usr.bin/nohup
Module Name:src Committed By: joerg Date: Fri May 14 17:28:56 UTC 2010 Modified Files: src/usr.bin/nohup: nohup.1 Log Message: Resort sections to canonical order. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/nohup/nohup.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/nohup/nohup.1 diff -u src/usr.bin/nohup/nohup.1:1.13 src/usr.bin/nohup/nohup.1:1.14 --- src/usr.bin/nohup/nohup.1:1.13 Thu Jul 14 22:16:39 2005 +++ src/usr.bin/nohup/nohup.1 Fri May 14 17:28:56 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: nohup.1,v 1.13 2005/07/14 22:16:39 wiz Exp $ +.\" $NetBSD: nohup.1,v 1.14 2010/05/14 17:28:56 joerg Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -78,6 +78,13 @@ will exit without invoking .Ar utility , with an exit value as described below. +.Sh ENVIRONMENT +The following variable is used by +.Nm . +.Bl -tag -width flag +.It Ev HOME +User's home directory. +.El .Sh EXIT STATUS The .Nm @@ -98,13 +105,6 @@ .Nm will be that of .Ar utility . -.Sh ENVIRONMENT -The following variable is used by -.Nm . -.Bl -tag -width flag -.It Ev HOME -User's home directory. -.El .Sh SEE ALSO .Xr signal 3 .Sh STANDARDS
CVS commit: src/usr.bin/nohup
Module Name:src Committed By: lukem Date: Sun Apr 12 23:38:17 UTC 2009 Modified Files: src/usr.bin/nohup: nohup.c Log Message: Fix -Wcast-qual issue To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/nohup/nohup.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/nohup/nohup.c diff -u src/usr.bin/nohup/nohup.c:1.13 src/usr.bin/nohup/nohup.c:1.14 --- src/usr.bin/nohup/nohup.c:1.13 Mon Jul 21 14:19:24 2008 +++ src/usr.bin/nohup/nohup.c Sun Apr 12 23:38:17 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: nohup.c,v 1.13 2008/07/21 14:19:24 lukem Exp $ */ +/* $NetBSD: nohup.c,v 1.14 2009/04/12 23:38:17 lukem Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "@(#)nohup.c 5.4 (Berkeley) 6/1/90"; #endif -__RCSID("$NetBSD: nohup.c,v 1.13 2008/07/21 14:19:24 lukem Exp $"); +__RCSID("$NetBSD: nohup.c,v 1.14 2009/04/12 23:38:17 lukem Exp $"); #endif /* not lint */ #include @@ -103,7 +103,8 @@ dofile() { int fd; - char *p, path[MAXPATHLEN]; + char path[MAXPATHLEN]; + const char *p; /* If the standard output is a terminal, all output written to its standard output shall be appended to the end of the file