Subject: Re: pkgsrc on hurd and some patches...
To: None <tech-pkg@netbsd.org>
From: pancake <sergipop@mx3.redestb.es>
List: tech-pkg
Date: 06/21/2003 12:43:30
True, I test asprintf on Solaris for example, and it does not exists...the correct solution must be write the Hurd patch inside #if __GNU__ directives.
asprintf is very interesting...for good code, I think,...why could be better? do not use it, or implement this function in the pkgsrc code...
On Fri, 20 Jun 2003 18:00:42 +0200
Julio Merino <jmmv@menta.net> wrote:
> On Fri, 20 Jun 2003 01:05:06 +0200
> pancake <sergipop@mx3.redestb.es> wrote:
>
> > It tries to use malloc/free functions (for example xgethostname instead of gethostname, asprintf instead snprintf)...
> >
>
> They may be better, but are not present on all systems.
>
> > We think that could be better do this changes in the official pkgsrc code.
>
> bootstrap-pkgsrc, you mean? If so, it should rely on configure checks where
> appropiate to keep compatibility with systems not having these special
> functions.
>
> Regards
>
> --
> Julio M. Merino Vidal <jmmv@menta.net>
> The NetBSD Project - http://www.NetBSD.org/
--
Software is like violence. Is better if it's free.
--