[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] readlink and mingw32

From: Bruno Haible
Subject: Re: [Bug-gnulib] readlink and mingw32
Date: Wed, 25 Jun 2003 22:59:39 +0200
User-agent: KMail/1.5

Jim Meyering wrote:
> I think we should not assume that everyone will want to
> use xreadlink.  What if an application must use readlink
> but must avoid the malloc implied in a use of xreadlink?

OK, if you think so... I've now added a module 'readlink'
with a standalone lib/readlink.c and m4/readlink.m4, and
made 'xreadlink' depend on 'readlink'.

Other details, for Jim:
  - I've chosen a filename lib/readlink.c, not lib/readlink-stub.c,
    because that's the general naming scheme we use in gnulib, and
    because some more tricky replacement could be used in this file
    later (see the file io/readlink.c in libgw32c which is available
    from http://sf.net/projects/gnuwin32),
  - I've added #if checks to the contents of the file, even though
    the file is AC_LIBOBJ'ed, because in some cases (relocatable
    program's launcher) the file will be used unconditionally.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]