Hi, there is a typo in stdio-common/renameat.c, "&&" should be used instead of "&". Petr --- stdio-common/renameat.c~ 2006-04-27 10:19:47.000000000 +0200 +++ stdio-common/renameat.c 2006-04-27 10:19:47.000000000 +0200 @@ -29,7 +29,7 @@ int newfd; const char *new; { - if ((oldfd < 0 & oldfd != AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD)) + if ((oldfd < 0 && oldfd != AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD)) { __set_errno (EBADF); return -1;
The file is not used at all but should nevertheless be correct. Applied.
Subject: Re: bug/typo in stdio-common/renameat.c On Thu, Apr 27, 2006 at 02:31:05PM -0000, drepper at redhat dot com wrote: > > [stdio-common/renameat.c] > > The file is not used at all but should nevertheless be correct. Applied. Eh? Sure that file is being used. Nevertheless, thanks for fixing this.