🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #527

Small buglet in grep 1.4

#527
From: Arnold D. Robbins
Date: Thu, 09 Nov 1989 22:30
24 lines
1314 bytes
If one uses cc, as the Makefile does by default, then there is a macro
definition missing in the ! __STDC__ part of dfa.h.  Here is a diff
that fixes it.

Note that gcc 1.36 on the sparc does not have the problem described in the
README.sunos4 file, so no source changes are needed for that.
--------- cut here -----
*** dfa.h.orig	Thu Nov  9 17:04:06 1989
--- dfa.h	Thu Nov  9 17:04:12 1989
***************
*** 145,150 ****
--- 145,151 ----
  
  #define ISALNUM(c) (isascii(c) && isalnum(c))
  #define ISALPHA(c) (isascii(c) && isalpha(c))
+ #define ISUPPER(c) (isascii(c) && isupper(c))
  
  #endif /* ! __STDC__ */
  
--
Arnold Robbins -- Emory Information Technology Division | Laundry increases
DOMAIN: arnold@emoryu1.cc.emory.edu			| exponentially in the
UUCP: gatech!emoryu1!arnold  PHONE: +1 404 727-7636	| number of children.
BITNET: arnold@emoryu1	     FAX:   +1 404 727-2599	|   -- Miriam Hartholz
Technical Details
Message-ID: <8911092230.AA10529@emoryu1.cc.emory.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!unix.cc.emory.edu!arnold

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!unix.cc.emory.edu!arnold
From: arnold@unix.cc.emory.edu (Arnold D. Robbins)
Newsgroups: gnu.utils.bug
Subject: Small buglet in grep 1.4
Message-ID: <8911092230.AA10529@emoryu1.cc.emory.edu>
Date: 9 Nov 89 22:30:12 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 24