🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #814

typo in regex 0.10 prevents use in pre-ANSI C

#814
From: Paul Eggert
Date: Fri, 11 Sep 1992 15:38
26 lines
1063 bytes
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
  
Technical Details
Message-ID: <9209111538.AA16643@bi.twinsun.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!bi.TWinsun.COM!eggert

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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