[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getcwd infinite recursion
From: |
Colin Watson |
Subject: |
Re: getcwd infinite recursion |
Date: |
Sun, 14 Oct 2007 19:37:35 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sun, Oct 14, 2007 at 05:41:06PM +0200, Bruno Haible wrote:
> Colin Watson wrote:
> > I'm in the process of making my man-db package use Gnulib. Upon
> > importing the xgetcwd module and using it
>
> Have you done a "make distclean" and reconfigured after doing this?
Yes.
> > Isn't this bound to break with HAVE_PARTLY_WORKING_GETCWD && !LIBC? The
> > function definition preprocesses to char *getcwd.
>
> The expected behaviour is that __getwcd expands to getcwd which in turns
> expands to rpl_getcwd. If getcwd does not expand to rpl_getcwd, you need
> to find out why. Look at the value of REPLACE_GETCWD in your config.status
> and at the differences between lib/unistd.in.h (or lib/unistd_.h) and
> lib/unistd.h.
REPLACE_GETCWD is 1 and unistd.h is up to date. However, getcwd.c
includes <unistd.h>. Should this not be "unistd.h", in order to use the
version from Gnulib in the current directory?
(I'm writing this mail in a brief interval between coming home and going
out again, but I can try this out later if nobody beats me to it.)
Thanks,
--
Colin Watson address@hidden
- getcwd infinite recursion, Colin Watson, 2007/10/14
- Re: getcwd infinite recursion, Bruno Haible, 2007/10/14
- Re: getcwd infinite recursion,
Colin Watson <=
- Re: getcwd infinite recursion, Bruno Haible, 2007/10/14
- Re: getcwd infinite recursion, Colin Watson, 2007/10/14
- Re: getcwd infinite recursion, Bruno Haible, 2007/10/14
- Re: getcwd infinite recursion, Ralf Wildenhues, 2007/10/15
- Re: getcwd infinite recursion, Bruno Haible, 2007/10/15
- Re: getcwd infinite recursion, Ralf Wildenhues, 2007/10/29
- Re: getcwd infinite recursion, Colin Watson, 2007/10/15
- Re: getcwd infinite recursion, Bruno Haible, 2007/10/15
- Re: getcwd infinite recursion, Jim Meyering, 2007/10/15
- Re: getcwd infinite recursion, Paul Eggert, 2007/10/16