home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / utils / bug / 2103 < prev    next >
Encoding:
Text File  |  1992-11-24  |  1.0 KB  |  33 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!cs.cornell.edu!cliff
  3. From: cliff@cs.cornell.edu (Cliff Krumvieda)
  4. Subject: Prototype problems with wdiff-0.03
  5. Message-ID: <9211231602.AA22762@ask.cs.cornell.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 23 Nov 1992 06:02:58 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 20
  12.  
  13. Howdy:
  14.  
  15. I ran into two (easily fixed) problems when compiling wdiff-0.03:
  16.  
  17.  1. In getopt.h, the prototype for getopt should not specify
  18.     const char arguments unless the GNU library is being used---
  19.     this problem is fixed in most of the getopt.h's distributed
  20.     with the current utilities (including diff 2.0).  Without the
  21.     fix, wdiff would not compile under AIX.
  22.  2. In wdiff.c, the prototype for strstr should not specify a
  23.     const char return value---a strstr prototype specifying a
  24.     char return value is provided in <strings.h> on a number
  25.     of OS's, including AIX, HP-UX, and ULTRIX.
  26.  
  27. Thanks!
  28.  
  29.                         --Cliff Krumvieda
  30.  
  31.  
  32.  
  33.