From: Teun Burgers Newsgroups: comp.os.msdos.djgpp Subject: Re: Portability patch for DJGPP to glib-1.2.6 Date: Fri, 18 Feb 2000 09:42:23 +0100 Organization: Netherlands Energy Research Foundation ECN Lines: 34 Message-ID: <38AD05EF.7241DECE@ecn.nl> References: NNTP-Posting-Host: blister.ecn.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.surfnet.nl 950863351 18164 130.112.1.3 (18 Feb 2000 08:42:31 GMT) X-Complaints-To: usenet AT news DOT surfnet DOT nl NNTP-Posting-Date: 18 Feb 2000 08:42:31 GMT X-Mailer: Mozilla 4.5 [en] (X11; I; OSF1 V4.0 alpha) X-Accept-Language: nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > On Mon, 14 Feb 2000, Teun Burgers wrote: > > > The patch adresses two problems: > > > > - djgpp does not have a functioning fork. > > > > - djgpp comes with pwd.h and a struct passwd. > > However struct passwd on DJGPP > > does not have a member pw->gecos. > > Why can't the configure script check for these two issues and DTRT > automagically? In particular, AFAIK Posix doesn't define the gecos > member in struct passwd, so a portable program shouldn't rely on it. The glib CVS version 1.3.1 already checks for pw_gecos, so that's solved. > Please consider packaging glib in the usual DJGPP manner and uploading > it to SimTel.NET. Thanks So I did. There are a few instructions missing in the upload howto: - where to put formatted man-pages (man/cat? ?) - How to generate info-files with extension .i1, .i2 etc -- Drs A.R. Burgers Netherlands Energy Research Foundation ECN Phone: +31-224-564959 Solar & Wind Energy, PV Cells & Modules Fax : +31-224-563214 P.O. Box 1 email: burgers AT ecn DOT nl 1755 ZG Petten, The Netherlands