home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!bi.TWinsun.COM!eggert
- From: eggert@bi.TWinsun.COM (Paul Eggert)
- Newsgroups: gnu.utils.bug
- Subject: typo in regex 0.10 prevents use in pre-ANSI C
- Message-ID: <9209111538.AA16643@bi.twinsun.com>
- Date: 11 Sep 92 15:38:20 GMT
- Sender: gnulists@ai.mit.edu
- Distribution: gnu
- Organization: GNUs Not Usenet
- Lines: 26
- Approved: bug-gnu-utils@prep.ai.mit.edu
-
- A typo in regex.h causes compilation to fail in pre-ANSI C compilers
- (e.g. SunOS 4.1.2 cc). Here is a patch.
-
- ===================================================================
- RCS file: RCS/regex.h,v
- retrieving revision 0.10
- diff -c -r0.10 regex.h
- *** regex.h 1992/09/09 10:33:48 0.10
- --- regex.h 1992/09/11 15:25:23
- ***************
- *** 396,402 ****
- #if __STDC__
- #define _RE_ARGS(args) args
- #else
- ! #define _RE_ARGS(args)
- #define const
- #endif
-
- --- 396,402 ----
- #if __STDC__
- #define _RE_ARGS(args) args
- #else
- ! #define _RE_ARGS(args) ()
- #define const
- #endif
-
-