mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 03:33:33 +08:00
[BZ #2611]
2006-04-27 Ulrich Drepper <drepper@redhat.com> [BZ #2611] * stdio-common/renameat.c (renameat): Fix typo.
This commit is contained in:
parent
15627a21c6
commit
b9af3620d4
@ -1,3 +1,8 @@
|
||||
2006-04-27 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
[BZ #2611]
|
||||
* stdio-common/renameat.c (renameat): Fix typo.
|
||||
|
||||
2006-04-26 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2005 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2005, 2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -29,7 +29,7 @@ renameat (oldfd, old, newfd, new)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user