[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [DotGNU]Errno Weirdness & Need a `HAVE_RENAME'
From: |
Aditya P. Bansod |
Subject: |
RE: [DotGNU]Errno Weirdness & Need a `HAVE_RENAME' |
Date: |
Tue, 17 Dec 2002 18:20:07 -0800 |
Thanks Gopal, I've added patches 857 (pnet) and 858 (pnetlib).
--Aditya
> -----Original Message-----
> From: Gopal V [mailto:address@hidden
> Sent: Tuesday, December 17, 2002 5:41 PM
> To: address@hidden
> Subject: Re: [DotGNU]Errno Weirdness & Need a `HAVE_RENAME'
>
>
> If memory serves me right, Aditya P. Bansod wrote:
> > When I enter into support/dir.c, I see the errno being already at 2
> > (directory not found).
>
> Try resetting errno at the top of the Directory.Move
> function, before calling the Rename .. This will clear the
> errno of the last call, or so I understand.
>
> > Secondly, in support/dir.c I'd like to have a HAVE_RENAME so I can
> > #ifdef HAVE_RENAME before I call rename. I couldn't really
> find where
> > to put it
>
> Take a look at AC_CHECK_FUNCS in configure.in . Add rename, re-run
> ./autogen.sh and ./configure ... Check if HAVE_RENAME has
> been added by
> ./configure to include/il_config.h ..
>
> Gopal
> --
> The difference between insanity and genius is measured by
> success _______________________________________________
> Developers mailing list
> address@hidden
> http://www.dotgnu.org/mailman/listinfo/develop> ers
>