-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to branch-1_4.

  * looking for [EMAIL PROTECTED]/m4--release--1.4--patch-10 to compare with
  * comparing to [EMAIL PROTECTED]/m4--release--1.4--patch-10
  M  src/m4.c
  M  ChangeLog
  
  * modified files
  
  Index: Changelog
  from  John Gatewood Ham  <[EMAIL PROTECTED]>  (tiny change)
        * src/m4.c: fix return code when non-existent files are processed
  
  2005-10-17  John Gatewood Ham  <[EMAIL PROTECTED]>  (tiny change)
  
  --- orig/src/m4.c
  +++ mod/src/m4.c
  @@ -1,6 +1,6 @@
   /* GNU m4 -- A simple macro processor
   
  -   Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2004 Free
  +   Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2004, 2005 Free
      Software Foundation, Inc.
   
      This program is free software; you can redistribute it and/or modify
  @@ -260,6 +260,7 @@
   int
   main (int argc, char *const *argv, char *const *envp)
   {
  +  int retcode = EXIT_SUCCESS;
     macro_definition *head;    /* head of deferred argument list */
     macro_definition *tail;
     macro_definition *new;
  @@ -485,6 +486,9 @@
            if (fp == NULL)
              {
                error (0, errno, "%s", argv[optind]);
  +             /* Set the status to EXIT_FAILURE, even though we
  +                continue to process files after a missing file.  */
  +             retcode = EXIT_FAILURE;
                continue;
              }
            else
  @@ -507,5 +511,5 @@
         undivert_all ();
       }
   
  -  exit (EXIT_SUCCESS);
  +  exit (retcode);
   }
  
  
  
- -- 
Gary V. Vaughan      ())_.  [EMAIL PROTECTED],gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 1.0
http://tkd.kicks-ass.net/arch/[EMAIL PROTECTED]/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDVOvAFRMICSmD1gYRAl5vAJ9JlIkB4mt55srwyfF5CeONdGfksgCfbtSm
gkb+r6hsZJ6KYeoGvQnOThU=
=xzzz
-----END PGP SIGNATURE-----


_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches

Reply via email to