public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libc/6546] New: ctype.c defines to many functions @ 2008-05-22 11:14 jan-erik dot dahlin at iar dot se 2008-05-22 14:13 ` [Bug libc/6546] " drepper at redhat dot com 2008-05-23 6:56 ` jan-erik dot dahlin at iar dot se 0 siblings, 2 replies; 3+ messages in thread From: jan-erik dot dahlin at iar dot se @ 2008-05-22 11:14 UTC (permalink / raw) To: glibc-bugs The file ctype.c contains 13 different functions (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint, ispunct, isspace, isupper, isxdigit, tolower, and toupper). Trying to use other implementations of one or more of those functions, say toupper and tolower, will cause conflicts during linking if any of the other functions in ctype.c are used. One has to define __NO_INLINE__ or use some other way to prevent inlining of the ctype functions for the conflict to occur. -- Summary: ctype.c defines to many functions Product: glibc Version: unspecified Status: NEW Severity: minor Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: jan-erik dot dahlin at iar dot se CC: glibc-bugs at sources dot redhat dot com GCC build triplet: N/A GCC host triplet: N/A GCC target triplet: N/A http://sourceware.org/bugzilla/show_bug.cgi?id=6546 ------- 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] 3+ messages in thread
* [Bug libc/6546] ctype.c defines to many functions 2008-05-22 11:14 [Bug libc/6546] New: ctype.c defines to many functions jan-erik dot dahlin at iar dot se @ 2008-05-22 14:13 ` drepper at redhat dot com 2008-05-23 6:56 ` jan-erik dot dahlin at iar dot se 1 sibling, 0 replies; 3+ messages in thread From: drepper at redhat dot com @ 2008-05-22 14:13 UTC (permalink / raw) To: glibc-bugs ------- Additional Comments From drepper at redhat dot com 2008-05-22 14:13 ------- You are not supposed to replace functions. If you do you're on your own and then don't dare to come here ad complain. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=6546 ------- 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] 3+ messages in thread
* [Bug libc/6546] ctype.c defines to many functions 2008-05-22 11:14 [Bug libc/6546] New: ctype.c defines to many functions jan-erik dot dahlin at iar dot se 2008-05-22 14:13 ` [Bug libc/6546] " drepper at redhat dot com @ 2008-05-23 6:56 ` jan-erik dot dahlin at iar dot se 1 sibling, 0 replies; 3+ messages in thread From: jan-erik dot dahlin at iar dot se @ 2008-05-23 6:56 UTC (permalink / raw) To: glibc-bugs ------- Additional Comments From jan-erik dot dahlin at iar dot se 2008-05-23 06:55 ------- (In reply to comment #1) > You are not supposed to replace functions. If you do you're on your own and then > don't dare to come here ad complain. Ok, I stand corrected and I'm sorry for wasting your time, but... There are reasons why some people would like to use other implementations of some function in the C library, typically to reduce the code size. Is there any point in making that unnecessarily hard to do that? -- http://sourceware.org/bugzilla/show_bug.cgi?id=6546 ------- 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] 3+ messages in thread
end of thread, other threads:[~2008-05-23 6:56 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-05-22 11:14 [Bug libc/6546] New: ctype.c defines to many functions jan-erik dot dahlin at iar dot se 2008-05-22 14:13 ` [Bug libc/6546] " drepper at redhat dot com 2008-05-23 6:56 ` jan-erik dot dahlin at iar dot se
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).