From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12567 invoked by alias); 27 Apr 2006 07:32:45 -0000 Received: (qmail 12542 invoked by uid 48); 27 Apr 2006 07:32:40 -0000 Date: Thu, 27 Apr 2006 07:32:00 -0000 From: "Petr dot Salinger at seznam dot cz" To: glibc-bugs@sources.redhat.com Message-ID: <20060427073239.2611.Petr.Salinger@seznam.cz> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/2611] New: bug/typo in stdio-common/renameat.c X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00359.txt.bz2 List-Id: 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; -- Summary: bug/typo in stdio-common/renameat.c Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: Petr dot Salinger at seznam dot cz CC: glibc-bugs at sources dot redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=2611 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.