Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/comsat Update outdated comment (and docs) about whic...
details: https://anonhg.NetBSD.org/src/rev/ca8ca062b1ea
branches: trunk
changeset: 755251:ca8ca062b1ea
user: dholland <dholland%NetBSD.org@localhost>
date: Sat May 29 23:08:06 2010 +0000
description:
Update outdated comment (and docs) about which header lines are printed.
I appear to have been carrying this patch around since 2002.
diffstat:
libexec/comsat/comsat.8 | 8 +++-----
libexec/comsat/comsat.c | 8 ++++----
2 files changed, 7 insertions(+), 9 deletions(-)
diffs (65 lines):
diff -r cfaf3b318a8c -r ca8ca062b1ea libexec/comsat/comsat.8
--- a/libexec/comsat/comsat.8 Sat May 29 23:05:22 2010 +0000
+++ b/libexec/comsat/comsat.8 Sat May 29 23:08:06 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: comsat.8,v 1.13 2004/06/25 17:36:04 wiz Exp $
+.\" $NetBSD: comsat.8,v 1.14 2010/05/29 23:08:06 dholland Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)comsat.8 8.1 (Berkeley) 6/4/93
.\"
-.Dd June 25, 2004
+.Dd May 29, 2010
.Dt COMSAT 8
.Os
.Sh NAME
@@ -65,9 +65,7 @@
the first 7 lines or 560 characters of the message are printed
on the user's terminal.
Lines which appear to be part of the message header other than the
-.Dq From ,
-.Dq \&To ,
-.Dq Date ,
+.Dq From
or
.Dq Subject
lines are not included in the displayed message.
diff -r cfaf3b318a8c -r ca8ca062b1ea libexec/comsat/comsat.c
--- a/libexec/comsat/comsat.c Sat May 29 23:05:22 2010 +0000
+++ b/libexec/comsat/comsat.c Sat May 29 23:08:06 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: comsat.c,v 1.40 2010/05/29 23:05:22 dholland Exp $ */
+/* $NetBSD: comsat.c,v 1.41 2010/05/29 23:08:06 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -36,7 +36,7 @@
#if 0
static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: comsat.c,v 1.40 2010/05/29 23:05:22 dholland Exp $");
+__RCSID("$NetBSD: comsat.c,v 1.41 2010/05/29 23:08:06 dholland Exp $");
#endif
#endif /* not lint */
@@ -261,7 +261,7 @@
}
cr = (ttybuf.c_oflag & ONLCR) && (ttybuf.c_oflag & OPOST) ?
"\n" : "\n\r";
- /* Set uid/gid/groups to users in case mail drop is on nfs */
+ /* Set uid/gid/groups to user's in case mail drop is on nfs */
if ((p = getpwnam(ep->name)) == NULL ||
initgroups(p->pw_name, p->pw_gid) == -1 ||
setgid(p->pw_gid) == -1 ||
@@ -292,7 +292,7 @@
/*
* Print the first 7 lines or 560 characters of the new mail
* (whichever comes first). Skip header crap other than
- * From, Subject, To, and Date.
+ * From and Subject.
*/
linecnt = 7;
charcnt = 560;
Home |
Main Index |
Thread Index |
Old Index