Date: Tue, 15 Feb 2000 09:54:56 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Teun Burgers cc: gtk-bugs AT gtk DOT org, djgpp AT delorie DOT com Subject: Re: Portability patch for DJGPP to glib-1.2.6 In-Reply-To: <38A86B13.F124845A@ecn.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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. > After applying this patch glib 1.2.6 compiles and > passes all tests. Please consider packaging glib in the usual DJGPP manner and uploading it to SimTel.NET. Thanks.