home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnuawk.zip / README_d / README.solaris < prev    next >
Internet Message Format  |  1997-02-07  |  1KB

  1. From dragon!lehman.com!carson Fri Feb  7 01:12:09 1997
  2. Return-Path: <dragon!lehman.com!carson>
  3. From: carson@lehman.com
  4. Date: Fri, 7 Feb 1997 01:05:58 -0500
  5. Message-ID: <199702070605.BAA09185@dragon.lehman.com>
  6. To: arnold@gnu.ai.mit.edu
  7. Subject: Solaris 2.5.1 x86 bug in gawk-3.0.2
  8. Reply-To: carson@lehman.com
  9. Status: R
  10. Content-Length: 630
  11. X-Lines: 23
  12. X-Display-Position: 0
  13.  
  14.  
  15. awktab.c has the following bogus logic:
  16.  
  17. #ifndef alloca
  18. #ifdef __GNUC__
  19. #define alloca __builtin_alloca
  20. #else /* not GNU C.  */
  21. #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
  22. #include <alloca.h>
  23. #else /* not sparc */
  24.  
  25. Solaris x86 obviously dosn't define sparc or __sparc.
  26.  
  27. What you _meant_ to say was:
  28.  
  29. if (defined(__sun) && defined(__SVR4))
  30.  
  31. (which identifies Solaris 2.x under both Sun's cc and gcc)
  32.  
  33. --
  34. Carson Gaspar -- carson@cs.columbia.edu carson@lehman.com
  35. http://www.cs.columbia.edu/~carson/home.html
  36. <This is the boring business .sig - no outre sayings here>
  37.  
  38.