This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] manual/examples: Remove redundant "if not"


On Wed, Dec 19, 2018 at 9:23 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> 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.
> ---
>  manual/examples/add.c              | 2 +-
>  manual/examples/argp-ex1.c         | 2 +-
>  manual/examples/argp-ex2.c         | 2 +-
>  manual/examples/argp-ex3.c         | 2 +-
>  manual/examples/argp-ex4.c         | 2 +-
>  manual/examples/atexit.c           | 2 +-
>  manual/examples/db.c               | 2 +-
>  manual/examples/dir.c              | 2 +-
>  manual/examples/dir2.c             | 2 +-
>  manual/examples/execinfo.c         | 2 +-
>  manual/examples/filecli.c          | 2 +-
>  manual/examples/filesrv.c          | 2 +-
>  manual/examples/fmtmsgexpl.c       | 2 +-
>  manual/examples/genpass.c          | 2 +-
>  manual/examples/inetcli.c          | 2 +-
>  manual/examples/inetsrv.c          | 2 +-
>  manual/examples/isockad.c          | 2 +-
>  manual/examples/longopt.c          | 2 +-
>  manual/examples/memopen.c          | 2 +-
>  manual/examples/memstrm.c          | 2 +-
>  manual/examples/mkdirent.c         | 2 +-
>  manual/examples/mkfsock.c          | 2 +-
>  manual/examples/mkisock.c          | 2 +-
>  manual/examples/mygetpass.c        | 2 +-
>  manual/examples/pipe.c             | 2 +-
>  manual/examples/popen.c            | 2 +-
>  manual/examples/rprintf.c          | 2 +-
>  manual/examples/search.c           | 2 +-
>  manual/examples/select.c           | 2 +-
>  manual/examples/setjmp.c           | 2 +-
>  manual/examples/sigh1.c            | 2 +-
>  manual/examples/sigusr.c           | 2 +-
>  manual/examples/stpcpy.c           | 2 +-
>  manual/examples/strdupa.c          | 2 +-
>  manual/examples/strftim.c          | 2 +-
>  manual/examples/subopt.c           | 2 +-
>  manual/examples/swapcontext.c      | 2 +-
>  manual/examples/termios.c          | 2 +-
>  manual/examples/testopt.c          | 2 +-
>  manual/examples/testpass.c         | 2 +-
>  manual/examples/timeval_subtract.c | 2 +-
>  41 files changed, 41 insertions(+), 41 deletions(-)
>
> diff --git a/manual/examples/add.c b/manual/examples/add.c
> index 88d3e3d5f7..5b502c6467 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 <http://www.gnu.org/licenses/>.
> +   along with this program; if not, see <http://www.gnu.org/licenses/>.
>  */
>

I am checking it in as an obvious fix.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]