public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/2611] New: bug/typo in stdio-common/renameat.c
@ 2006-04-27  7:32 Petr dot Salinger at seznam dot cz
  2006-04-27 14:31 ` [Bug libc/2611] " drepper at redhat dot com
  2006-04-27 21:50 ` tschwinge at gnu dot org
  0 siblings, 2 replies; 4+ messages in thread
From: Petr dot Salinger at seznam dot cz @ 2006-04-27  7:32 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/2611] bug/typo in stdio-common/renameat.c
  2006-04-27  7:32 [Bug libc/2611] New: bug/typo in stdio-common/renameat.c Petr dot Salinger at seznam dot cz
@ 2006-04-27 14:31 ` drepper at redhat dot com
  2006-04-27 21:50   ` Thomas Schwinge
  2006-04-27 21:50 ` tschwinge at gnu dot org
  1 sibling, 1 reply; 4+ messages in thread
From: drepper at redhat dot com @ 2006-04-27 14:31 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2006-04-27 14:31 -------
The file is not used at all but should nevertheless be correct.  Applied.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bug libc/2611] bug/typo in stdio-common/renameat.c
  2006-04-27 14:31 ` [Bug libc/2611] " drepper at redhat dot com
@ 2006-04-27 21:50   ` Thomas Schwinge
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Schwinge @ 2006-04-27 21:50 UTC (permalink / raw)
  To: drepper at redhat dot com, drepper; +Cc: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/2611] bug/typo in stdio-common/renameat.c
  2006-04-27  7:32 [Bug libc/2611] New: bug/typo in stdio-common/renameat.c Petr dot Salinger at seznam dot cz
  2006-04-27 14:31 ` [Bug libc/2611] " drepper at redhat dot com
@ 2006-04-27 21:50 ` tschwinge at gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: tschwinge at gnu dot org @ 2006-04-27 21:50 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From tschwinge at gnu dot org  2006-04-27 21:50 -------
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.


-- 


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-27 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-27  7:32 [Bug libc/2611] New: bug/typo in stdio-common/renameat.c Petr dot Salinger at seznam dot cz
2006-04-27 14:31 ` [Bug libc/2611] " drepper at redhat dot com
2006-04-27 21:50   ` Thomas Schwinge
2006-04-27 21:50 ` tschwinge at gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).