From 66403d375aecea1b567c68a31b84ec334a9496a6 Mon Sep 17 00:00:00 2001 From: "Joel N. Weber II" Date: Sat, 14 Mar 1998 00:33:12 +0000 Subject: [PATCH] (Some of these changes were not made by devnull, but devnull is unwedging rcs.) Changed gnu@prep.ai.mit.edu to gnu@gnu.org Some #ifdef and #ifndef examples added. A grammer error was fixed. --- doc/standards.texi | 21 +++++++++++++++------ standards.texi | 21 +++++++++++++++------ 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/doc/standards.texi b/doc/standards.texi index 5712aedc..7341be78 100644 --- a/doc/standards.texi +++ b/doc/standards.texi @@ -3,7 +3,7 @@ @setfilename standards.info @settitle GNU Coding Standards @c UPDATE THIS DATE WHENEVER YOU MAKE CHANGES! -@set lastupdate 04 July 1997 +@set lastupdate 18 February 1998 @c %**end of header @ifinfo @@ -105,7 +105,7 @@ even if you write in another programming language. The rules often state reasons for writing in a certain way. Corrections or suggestions for this document should be sent to -@code{gnu@@prep.ai.mit.edu}. If you make a suggestion, please include a +@code{gnu@@gnu.org}. If you make a suggestion, please include a suggested new wording for it; our time is limited. We prefer a context diff to the @file{standards.texi} or @file{make-stds.texi} files, but if you don't have those files, please mail your suggestion anyway. @@ -678,7 +678,7 @@ Report bugs to @var{mailing-address}. Here is a table of long options used by GNU programs. It is surely incomplete, but we aim to list all the options that a new program might want to be compatible with. If you use names not already in the table, -please send @samp{gnu@@prep.ai.mit.edu} a list of them, with their +please send @samp{gnu@@gnu.org} a list of them, with their meanings, so we can update the table. @c Please leave newlines between items in this table; it's much easier @@ -1173,7 +1173,7 @@ Used in @code{su}. @item machine No listing of which programs already use this; someone should check to -see if any actually do and tell @code{gnu@@prep.ai.mit.edu}. +see if any actually do and tell @code{gnu@@gnu.org}. @item macro-name @samp{-M} in @code{ptx}. @@ -1976,6 +1976,11 @@ its sense}. @samp{#else} should have a comment describing the condition @dots{} #endif /* not foo */ @end group +@group +#ifdef foo + @dots{} +#endif /* foo */ +@end group @end example @noindent @@ -1989,9 +1994,13 @@ but, by contrast, write the comments this way for a @samp{#ifndef}: @dots{} #endif /* foo */ @end group +@group +#ifndef foo + @dots{} +#endif /* not foo */ +@end group @end example - @node Syntactic Conventions @section Clean Use of C Constructs @@ -2447,7 +2456,7 @@ printf ((nfiles != 1 ? gettext ("%d files processed") @end example @noindent -This can any method of forming the plural of the word for ``file'', and +This can be any method of forming the plural of the word for ``file'', and also handles languages that require agreement in the word for ``processed''. diff --git a/standards.texi b/standards.texi index 5712aedc..7341be78 100644 --- a/standards.texi +++ b/standards.texi @@ -3,7 +3,7 @@ @setfilename standards.info @settitle GNU Coding Standards @c UPDATE THIS DATE WHENEVER YOU MAKE CHANGES! -@set lastupdate 04 July 1997 +@set lastupdate 18 February 1998 @c %**end of header @ifinfo @@ -105,7 +105,7 @@ even if you write in another programming language. The rules often state reasons for writing in a certain way. Corrections or suggestions for this document should be sent to -@code{gnu@@prep.ai.mit.edu}. If you make a suggestion, please include a +@code{gnu@@gnu.org}. If you make a suggestion, please include a suggested new wording for it; our time is limited. We prefer a context diff to the @file{standards.texi} or @file{make-stds.texi} files, but if you don't have those files, please mail your suggestion anyway. @@ -678,7 +678,7 @@ Report bugs to @var{mailing-address}. Here is a table of long options used by GNU programs. It is surely incomplete, but we aim to list all the options that a new program might want to be compatible with. If you use names not already in the table, -please send @samp{gnu@@prep.ai.mit.edu} a list of them, with their +please send @samp{gnu@@gnu.org} a list of them, with their meanings, so we can update the table. @c Please leave newlines between items in this table; it's much easier @@ -1173,7 +1173,7 @@ Used in @code{su}. @item machine No listing of which programs already use this; someone should check to -see if any actually do and tell @code{gnu@@prep.ai.mit.edu}. +see if any actually do and tell @code{gnu@@gnu.org}. @item macro-name @samp{-M} in @code{ptx}. @@ -1976,6 +1976,11 @@ its sense}. @samp{#else} should have a comment describing the condition @dots{} #endif /* not foo */ @end group +@group +#ifdef foo + @dots{} +#endif /* foo */ +@end group @end example @noindent @@ -1989,9 +1994,13 @@ but, by contrast, write the comments this way for a @samp{#ifndef}: @dots{} #endif /* foo */ @end group +@group +#ifndef foo + @dots{} +#endif /* not foo */ +@end group @end example - @node Syntactic Conventions @section Clean Use of C Constructs @@ -2447,7 +2456,7 @@ printf ((nfiles != 1 ? gettext ("%d files processed") @end example @noindent -This can any method of forming the plural of the word for ``file'', and +This can be any method of forming the plural of the word for ``file'', and also handles languages that require agreement in the word for ``processed''.