From: H.J. Lu Date: Thu, 20 Dec 2018 15:53:47 +0000 (-0800) Subject: manual/examples: Remove redundant "if not" X-Git-Tag: glibc-2.29~112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab4169313cdb15d688242609aef879fc5121356e;p=thirdparty%2Fglibc.git manual/examples: Remove redundant "if not" Replace "if not, if not," with "if not,". * manual/examples/add.c: Remove redundant "if not". * manual/examples/argp-ex1.c: Likewise. * manual/examples/argp-ex2.c: Likewise. * manual/examples/argp-ex3.c: Likewise. * manual/examples/argp-ex4.c: Likewise. * manual/examples/atexit.c: Likewise. * manual/examples/db.c: Likewise. * manual/examples/dir.c: Likewise. * manual/examples/dir2.c: Likewise. * manual/examples/execinfo.c: Likewise. * manual/examples/filecli.c: Likewise. * manual/examples/filesrv.c: Likewise. * manual/examples/fmtmsgexpl.c: Likewise. * manual/examples/genpass.c: Likewise. * manual/examples/inetcli.c: Likewise. * manual/examples/inetsrv.c: Likewise. * manual/examples/isockad.c: Likewise. * manual/examples/longopt.c: Likewise. * manual/examples/memopen.c: Likewise. * manual/examples/memstrm.c: Likewise. * manual/examples/mkdirent.c: Likewise. * manual/examples/mkfsock.c: Likewise. * manual/examples/mkisock.c: Likewise. * manual/examples/mygetpass.c: Likewise. * manual/examples/pipe.c: Likewise. * manual/examples/popen.c: Likewise. * manual/examples/rprintf.c: Likewise. * manual/examples/search.c: Likewise. * manual/examples/select.c: Likewise. * manual/examples/setjmp.c: Likewise. * manual/examples/sigh1.c: Likewise. * manual/examples/sigusr.c: Likewise. * manual/examples/stpcpy.c: Likewise. * manual/examples/strdupa.c: Likewise. * manual/examples/strftim.c: Likewise. * manual/examples/subopt.c: Likewise. * manual/examples/swapcontext.c: Likewise. * manual/examples/termios.c: Likewise. * manual/examples/testopt.c: Likewise. * manual/examples/testpass.c: Likewise. * manual/examples/timeval_subtract.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index e9fe501b14b..04072a465c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,47 @@ +2018-12-20 H.J. Lu + + * manual/examples/add.c: Remove redundant "if not". + * manual/examples/argp-ex1.c: Likewise. + * manual/examples/argp-ex2.c: Likewise. + * manual/examples/argp-ex3.c: Likewise. + * manual/examples/argp-ex4.c: Likewise. + * manual/examples/atexit.c: Likewise. + * manual/examples/db.c: Likewise. + * manual/examples/dir.c: Likewise. + * manual/examples/dir2.c: Likewise. + * manual/examples/execinfo.c: Likewise. + * manual/examples/filecli.c: Likewise. + * manual/examples/filesrv.c: Likewise. + * manual/examples/fmtmsgexpl.c: Likewise. + * manual/examples/genpass.c: Likewise. + * manual/examples/inetcli.c: Likewise. + * manual/examples/inetsrv.c: Likewise. + * manual/examples/isockad.c: Likewise. + * manual/examples/longopt.c: Likewise. + * manual/examples/memopen.c: Likewise. + * manual/examples/memstrm.c: Likewise. + * manual/examples/mkdirent.c: Likewise. + * manual/examples/mkfsock.c: Likewise. + * manual/examples/mkisock.c: Likewise. + * manual/examples/mygetpass.c: Likewise. + * manual/examples/pipe.c: Likewise. + * manual/examples/popen.c: Likewise. + * manual/examples/rprintf.c: Likewise. + * manual/examples/search.c: Likewise. + * manual/examples/select.c: Likewise. + * manual/examples/setjmp.c: Likewise. + * manual/examples/sigh1.c: Likewise. + * manual/examples/sigusr.c: Likewise. + * manual/examples/stpcpy.c: Likewise. + * manual/examples/strdupa.c: Likewise. + * manual/examples/strftim.c: Likewise. + * manual/examples/subopt.c: Likewise. + * manual/examples/swapcontext.c: Likewise. + * manual/examples/termios.c: Likewise. + * manual/examples/testopt.c: Likewise. + * manual/examples/testpass.c: Likewise. + * manual/examples/timeval_subtract.c: Likewise. + 2018-12-19 Joseph Myers * sysdeps/x86/fpu/math_private.h: New file. diff --git a/manual/examples/add.c b/manual/examples/add.c index 88d3e3d5f77..5b502c64677 100644 --- a/manual/examples/add.c +++ b/manual/examples/add.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/argp-ex1.c b/manual/examples/argp-ex1.c index 900af1aec95..2b761290876 100644 --- a/manual/examples/argp-ex1.c +++ b/manual/examples/argp-ex1.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /* This is (probably) the smallest possible program that diff --git a/manual/examples/argp-ex2.c b/manual/examples/argp-ex2.c index 2465d418a88..50faf6b36a0 100644 --- a/manual/examples/argp-ex2.c +++ b/manual/examples/argp-ex2.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /* This program doesn't use any options or arguments, but uses diff --git a/manual/examples/argp-ex3.c b/manual/examples/argp-ex3.c index efec8e85076..76d658a81e4 100644 --- a/manual/examples/argp-ex3.c +++ b/manual/examples/argp-ex3.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /* This program uses the same features as example 2, and uses options and diff --git a/manual/examples/argp-ex4.c b/manual/examples/argp-ex4.c index f560e38bfb5..4b38f03896e 100644 --- a/manual/examples/argp-ex4.c +++ b/manual/examples/argp-ex4.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /* This program uses the same features as example 3, but has more diff --git a/manual/examples/atexit.c b/manual/examples/atexit.c index 718651e8bd2..57def3b8c74 100644 --- a/manual/examples/atexit.c +++ b/manual/examples/atexit.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/db.c b/manual/examples/db.c index 93602dece5a..ec60cd72af0 100644 --- a/manual/examples/db.c +++ b/manual/examples/db.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/dir.c b/manual/examples/dir.c index f9d314a7809..a7d37717da6 100644 --- a/manual/examples/dir.c +++ b/manual/examples/dir.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /*@group*/ diff --git a/manual/examples/dir2.c b/manual/examples/dir2.c index 1403bb4ea92..bba417dea8c 100644 --- a/manual/examples/dir2.c +++ b/manual/examples/dir2.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /*@group*/ diff --git a/manual/examples/execinfo.c b/manual/examples/execinfo.c index 112134a70e3..2d82625b6c3 100644 --- a/manual/examples/execinfo.c +++ b/manual/examples/execinfo.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/filecli.c b/manual/examples/filecli.c index dcdb82590d9..89b862655e6 100644 --- a/manual/examples/filecli.c +++ b/manual/examples/filecli.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/filesrv.c b/manual/examples/filesrv.c index 7d9f507be2e..c4a4998168c 100644 --- a/manual/examples/filesrv.c +++ b/manual/examples/filesrv.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/fmtmsgexpl.c b/manual/examples/fmtmsgexpl.c index 8c1e0582044..328e98be1c2 100644 --- a/manual/examples/fmtmsgexpl.c +++ b/manual/examples/fmtmsgexpl.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/genpass.c b/manual/examples/genpass.c index 23d20789fc2..e729dd29ab4 100644 --- a/manual/examples/genpass.c +++ b/manual/examples/genpass.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/inetcli.c b/manual/examples/inetcli.c index bcc060b7ca3..0718480dd87 100644 --- a/manual/examples/inetcli.c +++ b/manual/examples/inetcli.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/inetsrv.c b/manual/examples/inetsrv.c index ea590fe7b87..249457b5ecf 100644 --- a/manual/examples/inetsrv.c +++ b/manual/examples/inetsrv.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/isockad.c b/manual/examples/isockad.c index 4a55e7a696a..2bc4f5e7442 100644 --- a/manual/examples/isockad.c +++ b/manual/examples/isockad.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/longopt.c b/manual/examples/longopt.c index 4f33d525588..698caf0a1d9 100644 --- a/manual/examples/longopt.c +++ b/manual/examples/longopt.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/memopen.c b/manual/examples/memopen.c index 7ffd06b3eba..b71607c68fb 100644 --- a/manual/examples/memopen.c +++ b/manual/examples/memopen.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/memstrm.c b/manual/examples/memstrm.c index 65147c87343..5c57fdd02da 100644 --- a/manual/examples/memstrm.c +++ b/manual/examples/memstrm.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/mkdirent.c b/manual/examples/mkdirent.c index cb19c1f3ccd..445dd0fe938 100644 --- a/manual/examples/mkdirent.c +++ b/manual/examples/mkdirent.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/mkfsock.c b/manual/examples/mkfsock.c index ebce75f4bf1..6865449656d 100644 --- a/manual/examples/mkfsock.c +++ b/manual/examples/mkfsock.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/mkisock.c b/manual/examples/mkisock.c index 1a13c54271c..eaf316ea34d 100644 --- a/manual/examples/mkisock.c +++ b/manual/examples/mkisock.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/mygetpass.c b/manual/examples/mygetpass.c index 3f465ac8ea6..65c732cfedc 100644 --- a/manual/examples/mygetpass.c +++ b/manual/examples/mygetpass.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/pipe.c b/manual/examples/pipe.c index 25fed7f754d..71a25ed0784 100644 --- a/manual/examples/pipe.c +++ b/manual/examples/pipe.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/popen.c b/manual/examples/popen.c index 566dbf39181..e6ac3bf1fde 100644 --- a/manual/examples/popen.c +++ b/manual/examples/popen.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/rprintf.c b/manual/examples/rprintf.c index 917db0866a5..9f31fa28bd3 100644 --- a/manual/examples/rprintf.c +++ b/manual/examples/rprintf.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/search.c b/manual/examples/search.c index 624cf502903..9d43c84cd38 100644 --- a/manual/examples/search.c +++ b/manual/examples/search.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/select.c b/manual/examples/select.c index 2a92d5358ff..fe9999e3547 100644 --- a/manual/examples/select.c +++ b/manual/examples/select.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /*@group*/ diff --git a/manual/examples/setjmp.c b/manual/examples/setjmp.c index cc9ccc76638..47d6a3e1aec 100644 --- a/manual/examples/setjmp.c +++ b/manual/examples/setjmp.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/sigh1.c b/manual/examples/sigh1.c index 9fe0fd23944..3dbe82658bf 100644 --- a/manual/examples/sigh1.c +++ b/manual/examples/sigh1.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/sigusr.c b/manual/examples/sigusr.c index 7dfb4cf251d..6a92567262f 100644 --- a/manual/examples/sigusr.c +++ b/manual/examples/sigusr.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /*@group*/ diff --git a/manual/examples/stpcpy.c b/manual/examples/stpcpy.c index ab0befdf58a..542f1930f6b 100644 --- a/manual/examples/stpcpy.c +++ b/manual/examples/stpcpy.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/strdupa.c b/manual/examples/strdupa.c index 7dc4180cf1a..a8d108af68e 100644 --- a/manual/examples/strdupa.c +++ b/manual/examples/strdupa.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/strftim.c b/manual/examples/strftim.c index 2b7e48a1c95..1120f3421f3 100644 --- a/manual/examples/strftim.c +++ b/manual/examples/strftim.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/subopt.c b/manual/examples/subopt.c index a3fba4b537c..b04b0042013 100644 --- a/manual/examples/subopt.c +++ b/manual/examples/subopt.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/swapcontext.c b/manual/examples/swapcontext.c index d0b7b2b3741..13cd207eb03 100644 --- a/manual/examples/swapcontext.c +++ b/manual/examples/swapcontext.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/termios.c b/manual/examples/termios.c index e4e5a5540cd..115e524c268 100644 --- a/manual/examples/termios.c +++ b/manual/examples/termios.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/testopt.c b/manual/examples/testopt.c index 6249f2a2edb..8bffc5238ff 100644 --- a/manual/examples/testopt.c +++ b/manual/examples/testopt.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /*@group*/ diff --git a/manual/examples/testpass.c b/manual/examples/testpass.c index f8883fea176..0b8e8a53776 100644 --- a/manual/examples/testpass.c +++ b/manual/examples/testpass.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ #include diff --git a/manual/examples/timeval_subtract.c b/manual/examples/timeval_subtract.c index 77265bb2529..aeb0c39bc7a 100644 --- a/manual/examples/timeval_subtract.c +++ b/manual/examples/timeval_subtract.c @@ -12,7 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, if not, see . + along with this program; if not, see . */ /* Subtract the `struct timeval' values X and Y,