From ec68c7d9fca00e976df02842dc2c9d5a523567af Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sat, 22 Apr 2017 23:36:19 +0100 Subject: [PATCH] Correct first-line comments where filename is wrong. Having jiggled the start-of-file comment about, it's apparent that a few files either don't know their own name, or the format the rest of the gang follow. To wit, "basename(filename) -- ...". --- sbr/charstring.c | 2 +- sbr/ctype-checked.c | 2 +- sbr/ctype-checked.h | 2 +- sbr/dtimep.l | 2 +- sbr/lock_file.c | 2 +- sbr/m_rand.c | 2 +- sbr/message_id.c | 2 +- sbr/terminal.c | 2 +- sbr/unquote.c | 2 +- uip/folder.c | 2 +- uip/mhmisc.c | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/sbr/charstring.c b/sbr/charstring.c index eefca7de..b9b94bd9 100644 --- a/sbr/charstring.c +++ b/sbr/charstring.c @@ -1,4 +1,4 @@ -/* charstring -- dynamically-sized char array that can report size +/* charstring.c -- dynamically-sized char array that can report size * in both characters and bytes * * This code is Copyright (c) 2014, by the authors of nmh. See the diff --git a/sbr/ctype-checked.c b/sbr/ctype-checked.c index 880f1f07..65b1cf31 100644 --- a/sbr/ctype-checked.c +++ b/sbr/ctype-checked.c @@ -1,4 +1,4 @@ -/* sbr/ctype-checked.c: checks char isn't used as the value for each of +/* ctype-checked.c -- checks char isn't used as the value for each of * the ctype functions * * This code is Copyright (c) 2016, by the authors of nmh. diff --git a/sbr/ctype-checked.h b/sbr/ctype-checked.h index 12dbc6fd..18c75155 100644 --- a/sbr/ctype-checked.h +++ b/sbr/ctype-checked.h @@ -1,4 +1,4 @@ -/* sbr/ctype-checked.h +/* ctype-checked.h * * This code is Copyright (c) 2016, by the authors of nmh. * See the COPYRIGHT file in the root directory of the nmh diff --git a/sbr/dtimep.l b/sbr/dtimep.l index 445b74ff..a4f8d8be 100644 --- a/sbr/dtimep.l +++ b/sbr/dtimep.l @@ -1,4 +1,4 @@ -/* dtimep.lex exceeds the default table capacities for some old versions +/* dtimep.l exceeds the default table capacities for some old versions * of lex (and the minimum defaults as specified by POSIX). The following * choices meet or exceed the lex defaults for older SunOS4.x, Solaris, * HPUX, and AIX. diff --git a/sbr/lock_file.c b/sbr/lock_file.c index 941dcc3b..0bf82f8a 100644 --- a/sbr/lock_file.c +++ b/sbr/lock_file.c @@ -1,4 +1,4 @@ -/* lock.c -- routines to lock/unlock files +/* lock_file.c -- routines to lock/unlock files * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for diff --git a/sbr/m_rand.c b/sbr/m_rand.c index cfb9986d..a05bb4ab 100644 --- a/sbr/m_rand.c +++ b/sbr/m_rand.c @@ -1,4 +1,4 @@ -/* m_rand -- provides pseudorandom bytes +/* m_rand.c -- provides pseudorandom bytes * * This code is Copyright (c) 2012, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for diff --git a/sbr/message_id.c b/sbr/message_id.c index 1e7b2fa0..8c138665 100644 --- a/sbr/message_id.c +++ b/sbr/message_id.c @@ -1,4 +1,4 @@ -/* message-id.c -- construct the body of a Message-ID or Content-ID +/* message_id.c -- construct the body of a Message-ID or Content-ID * header field * * This code is Copyright (c) 2012, by the authors of nmh. See the diff --git a/sbr/terminal.c b/sbr/terminal.c index e7e2ac55..51dd1298 100644 --- a/sbr/terminal.c +++ b/sbr/terminal.c @@ -1,4 +1,4 @@ -/* termsbr.c -- termcap support +/* terminal.c -- termcap support * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for diff --git a/sbr/unquote.c b/sbr/unquote.c index dde1226d..0708f6fd 100644 --- a/sbr/unquote.c +++ b/sbr/unquote.c @@ -1,4 +1,4 @@ -/* unquote.c: Handle quote removal and quoted-pair strings on +/* unquote.c -- Handle quote removal and quoted-pair strings on * RFC 2822-5322 atoms. * * This code is Copyright (c) 2013, by the authors of nmh. See the diff --git a/uip/folder.c b/uip/folder.c index 51a22e1a..a3cc4ec6 100644 --- a/uip/folder.c +++ b/uip/folder.c @@ -1,4 +1,4 @@ -/* folder(s).c -- set/list the current message and/or folder +/* folder.c -- set/list the current message and/or folder * -- push/pop a folder onto/from the folder stack * -- list the folder stack * diff --git a/uip/mhmisc.c b/uip/mhmisc.c index 41fe92c9..ad50264e 100644 --- a/uip/mhmisc.c +++ b/uip/mhmisc.c @@ -1,4 +1,4 @@ -/* mhparse.c -- misc routines to process MIME messages +/* mhmisc.c -- misc routines to process MIME messages * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for -- 2.56.0