* patch for arm ioperm
@ 2003-02-20 20:55 Philip Blundell
2003-02-20 22:23 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Philip Blundell @ 2003-02-20 20:55 UTC (permalink / raw)
To: libc-hacker
This small patch changes the return value from ioperm to be more useful
when the function is called on a system where it isn't supported. Could
someone please check it in?
Thanks!
p.
2002-07-24 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
on unknown systems.
Index: sysdeps/unix/sysv/linux/arm/ioperm.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/arm/ioperm.c,v
retrieving revision 1.5
diff -u -p -r1.5 ioperm.c
--- sysdeps/unix/sysv/linux/arm/ioperm.c 6 Jul 2001 04:56:13 -0000 1.5
+++ sysdeps/unix/sysv/linux/arm/ioperm.c 24 Jul 2002 11:39:30 -0000
@@ -166,7 +166,7 @@ init_iosys (void)
}
/* systype is not a known platform name... */
- __set_errno (EINVAL);
+ __set_errno (ENODEV);
return -1;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: patch for arm ioperm
2003-02-20 20:55 patch for arm ioperm Philip Blundell
@ 2003-02-20 22:23 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-02-20 22:23 UTC (permalink / raw)
To: Philip Blundell; +Cc: libc-hacker
Philip Blundell wrote:
> This small patch changes the return value from ioperm to be more useful
> when the function is called on a system where it isn't supported. Could
> someone please check it in?
I checked it in.
--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-20 22:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 20:55 patch for arm ioperm Philip Blundell
2003-02-20 22:23 ` Ulrich Drepper
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).