public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/633] New: futimes() should not fail with ENOENT
@ 2005-01-03 23:21 ldv at altlinux dot org
  2005-01-03 23:22 ` [Bug libc/633] " ldv at altlinux dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ldv at altlinux dot org @ 2005-01-03 23:21 UTC (permalink / raw)
  To: glibc-bugs

On linux where no futimes syscall available, futimes wrapper uses /proc
filesystem and utimes/utime.
When /proc is not available, this wrapper fails with undocumented ENOENT instead
of documented ENOSYS.

-- 
           Summary: futimes() should not fail with ENOENT
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: ldv at altlinux dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=633

------- 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] 8+ messages in thread

* [Bug libc/633] futimes() should not fail with ENOENT
  2005-01-03 23:21 [Bug libc/633] New: futimes() should not fail with ENOENT ldv at altlinux dot org
@ 2005-01-03 23:22 ` ldv at altlinux dot org
  2005-01-07  2:43 ` roland at gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ldv at altlinux dot org @ 2005-01-03 23:22 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From ldv at altlinux dot org  2005-01-03 23:22 -------
Created an attachment (id=334)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=334&action=view)
glibc-alt-futimes.patch

Proposed patch.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=633

------- 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] 8+ messages in thread

* [Bug libc/633] futimes() should not fail with ENOENT
  2005-01-03 23:21 [Bug libc/633] New: futimes() should not fail with ENOENT ldv at altlinux dot org
  2005-01-03 23:22 ` [Bug libc/633] " ldv at altlinux dot org
  2005-01-07  2:43 ` roland at gnu dot org
@ 2005-01-07  2:43 ` cvs-commit at gcc dot gnu dot org
  2005-01-07  2:43 ` roland at gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-07  2:43 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-07 02:43 -------
Subject: Bug 633

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2005-01-07 02:42:55

Modified files:
	sysdeps/unix/sysv/linux: futimes.c 

Log message:
	2005-01-06  Roland McGrath  <roland@redhat.com>
	
	[BZ #633]
	* sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
	indicating file-name lookup errors, and return ENOSYS or EBADF instead.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/futimes.c.diff?cvsroot=glibc&r1=1.6&r2=1.7



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=633

------- 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] 8+ messages in thread

* [Bug libc/633] futimes() should not fail with ENOENT
  2005-01-03 23:21 [Bug libc/633] New: futimes() should not fail with ENOENT ldv at altlinux dot org
                   ` (2 preceding siblings ...)
  2005-01-07  2:43 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-07  2:43 ` roland at gnu dot org
  2005-01-18 17:45 ` ldv at altlinux dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: roland at gnu dot org @ 2005-01-07  2:43 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roland at gnu dot org  2005-01-07 02:43 -------
Please try the patch in CVS and tell me if you have any more trouble.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sources.redhat.com/bugzilla/show_bug.cgi?id=633

------- 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] 8+ messages in thread

* [Bug libc/633] futimes() should not fail with ENOENT
  2005-01-03 23:21 [Bug libc/633] New: futimes() should not fail with ENOENT ldv at altlinux dot org
  2005-01-03 23:22 ` [Bug libc/633] " ldv at altlinux dot org
@ 2005-01-07  2:43 ` roland at gnu dot org
  2005-01-07  2:43 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: roland at gnu dot org @ 2005-01-07  2:43 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|gotom at debian dot or dot  |roland at gnu dot org
                   |jp                          |
             Status|WAITING                     |ASSIGNED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=633

------- 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] 8+ messages in thread

* [Bug libc/633] futimes() should not fail with ENOENT
  2005-01-03 23:21 [Bug libc/633] New: futimes() should not fail with ENOENT ldv at altlinux dot org
                   ` (3 preceding siblings ...)
  2005-01-07  2:43 ` roland at gnu dot org
@ 2005-01-18 17:45 ` ldv at altlinux dot org
  2005-02-16  4:19 ` roland at gnu dot org
  2005-02-16 10:47 ` cvs-commit at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ldv at altlinux dot org @ 2005-01-18 17:45 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From ldv at altlinux dot org  2005-01-18 17:45 -------
Thank you for the patch, it fixes even more potential issues than my proposal.

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


http://sources.redhat.com/bugzilla/show_bug.cgi?id=633

------- 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] 8+ messages in thread

* [Bug libc/633] futimes() should not fail with ENOENT
  2005-01-03 23:21 [Bug libc/633] New: futimes() should not fail with ENOENT ldv at altlinux dot org
                   ` (4 preceding siblings ...)
  2005-01-18 17:45 ` ldv at altlinux dot org
@ 2005-02-16  4:19 ` roland at gnu dot org
  2005-02-16 10:47 ` cvs-commit at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: roland at gnu dot org @ 2005-02-16  4:19 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |724
              nThis|                            |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=633

------- 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] 8+ messages in thread

* [Bug libc/633] futimes() should not fail with ENOENT
  2005-01-03 23:21 [Bug libc/633] New: futimes() should not fail with ENOENT ldv at altlinux dot org
                   ` (5 preceding siblings ...)
  2005-02-16  4:19 ` roland at gnu dot org
@ 2005-02-16 10:47 ` cvs-commit at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-16 10:47 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-16 10:47 -------
Subject: Bug 633

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-16 10:47:27

Modified files:
	sysdeps/unix/sysv/linux: futimes.c 

Log message:
	2005-01-06  Roland McGrath  <roland@redhat.com>
	
	[BZ #633]
	* sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
	indicating file-name lookup errors, and return ENOSYS or EBADF instead.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/futimes.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.6&r2=1.6.4.1



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=633

------- 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] 8+ messages in thread

end of thread, other threads:[~2005-02-16 10:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-03 23:21 [Bug libc/633] New: futimes() should not fail with ENOENT ldv at altlinux dot org
2005-01-03 23:22 ` [Bug libc/633] " ldv at altlinux dot org
2005-01-07  2:43 ` roland at gnu dot org
2005-01-07  2:43 ` cvs-commit at gcc dot gnu dot org
2005-01-07  2:43 ` roland at gnu dot org
2005-01-18 17:45 ` ldv at altlinux dot org
2005-02-16  4:19 ` roland at gnu dot org
2005-02-16 10:47 ` cvs-commit at gcc dot 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).