www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/24/15:52:22

From: kunglao AT prairienet DOT org (Bizzaro)
Subject: Re: compile problems with gimp
24 Sep 1997 15:52:22 -0700 :
Message-ID: <34298FC4.AAB4434.cygnus.gnu-win32@prairienet.org>
References: <19970924000226 DOT 23571 DOT qmail AT hotmail DOT com>
Mime-Version: 1.0
To: GNU Win 32 <gnu-win32 AT cygnus DOT com>

Earnie Boyd wrote:
> 
> >>Although "setpwent" is correct, it is misspelled in libcygwin.a as
> >>"setpwend".  If you substitute setpwent with setpwend it should link
> >>fine.
> >>
> >>By the way the version of libcygwin.a from Sergey Okhapkin know as
> >>coolview has this corrected.  However, if you are using a FAT
> directory
> >>structure that gets created and grows quickly, so don't use it.
> >
> >Sergey's stuff is quite nice, and you really should use it, but if you
> >can't, it is relatively easy to edit the file with 'vim -b' or emacs
> >and change all occurrences of setpwend to setpwent.
> >
> >cgf
> 
> Now why didn't I think of that??
> 
> Thanks,

Doing a search/replace in all the files is too much hassle, I just added a line
to one of the .h's of "#define setpwent setpwent" and let gcc do the replacing
:).
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019