bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] readlink and mingw32


From: Jim Meyering
Subject: Re: [Bug-gnulib] readlink and mingw32
Date: Wed, 25 Jun 2003 19:57:28 +0200

Bruno Haible <address@hidden> wrote:
> It was reported to me that mingw32 has no readlink() function. The xreadlink
> module does not take care of this yet. Jim, in the coreutils, uses a stub
>
> int
> readlink (const char *filename, char *buffer, size_t size)
> {
>   errno = EINVAL;
>   return -1;
> }
>
> in an extra file. But since the purpose of xreadlink.c is that everyone
> uses only xreadlink() and not the low-level readlink(), I'd propose this
> more lightweight change.
>
> Opinions?

Hi Bruno,

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?

Jim




reply via email to

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