🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1136

Prototype problems with wdiff-0.03

#1136
From: Cliff Krumvieda
Date: Mon, 23 Nov 1992 06:02
17 lines
1059 bytes
Howdy:

I ran into two (easily fixed) problems when compiling wdiff-0.03:

 1. In getopt.h, the prototype for getopt should not specify
    const char arguments unless the GNU library is being used---
    this problem is fixed in most of the getopt.h's distributed
    with the current utilities (including diff 2.0).  Without the
    fix, wdiff would not compile under AIX.
 2. In wdiff.c, the prototype for strstr should not specify a
    const char return value---a strstr prototype specifying a
    char return value is provided in <strings.h> on a number
    of OS's, including AIX, HP-UX, and ULTRIX.

Thanks!

						--Cliff Krumvieda
Technical Details
Message-ID: <9211231602.AA22762@ask.cs.cornell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.cornell.edu!cliff

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.cornell.edu!cliff
From: cliff@cs.cornell.edu (Cliff Krumvieda)
Subject: Prototype problems with wdiff-0.03
Message-ID: <9211231602.AA22762@ask.cs.cornell.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 23 Nov 1992 06:02:58 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 20