bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] argmatch.c EXIT_FAILURE patch


From: Paul Eggert
Subject: [Bug-gnulib] argmatch.c EXIT_FAILURE patch
Date: Sun, 9 Mar 2003 23:34:36 -0800 (PST)

I installed this patch to port argmatch.c to SunOS 4.1.4 + GCC 2.7.2.3.

2003-03-09  Paul Eggert  <address@hidden>

        * argmatch.c (EXIT_FAILURE): Define if the system doesn't.
        Reported by Bruce Becker; see:
        http://mail.gnu.org/archive/html/bug-bison/2003-03/msg00017.html

--- argmatch.c  21 Nov 2002 20:15:39 -0000      1.29
+++ argmatch.c  10 Mar 2003 07:31:50 -0000      1.30
@@ -1,5 +1,7 @@
 /* argmatch.c -- find a match for a string in an array
-   Copyright (C) 1990, 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
+
+   Copyright (C) 1990, 1998, 1999, 2001, 2002, 2003 Free Software
+   Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -42,6 +44,10 @@
    literal_quoting_style.  */
 #ifndef ARGMATCH_QUOTING_STYLE
 # define ARGMATCH_QUOTING_STYLE locale_quoting_style
+#endif
+
+#ifndef EXIT_FAILURE
+# define EXIT_FAILURE 1
 #endif
 
 /* Non failing version of argmatch call this function after failing. */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]