[comp.mail.elm] bug in utils/newalias.c

paul@vixie.UUCP (Paul Vixie Esq) (05/09/87)

utils/newalias.c defined a macro called whitespace; this is also defined
in hdrs/defs.h, which newalias.c includes. the VAX compiler didn't complain,
but my symmetric got upset.  the patch follows:

Index: utils/newalias.c

*** utils/newalias.c.old	Sat May  9 09:28:40 1987
--- utils/newalias.c	Sat May  9 09:29:03 1987
***************
*** 41,47 ****
--- 41,49 ----
  
  #define group(string)		(strpbrk(string,", ") != NULL)
  
+ #ifndef whitespace
  #define whitespace(c)		(c == ' ' || c == '\t')
+ #endif
  
  struct alias_rec
  shash_table[MAX_SALIASES];	/* the actual hash table     */
-- 
Paul A. Vixie        {ptsfa, crash, winfree}!vixie!paul
329 Noe Street       dual!ptsfa!vixie!paul@ucbvax.Berkeley.EDU
San Francisco        
CA  94116            paul@vixie.UUCP     (415) 864-7013