This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ports/14250] ia64 makecontext.c writes to stderr and it should not.


http://sourceware.org/bugzilla/show_bug.cgi?id=14250

--- Comment #2 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-06-18 14:19:07 UTC ---
Mike,

I didn't notice the call to exit(). Calling exit() is definitely the wrong
thing to do in this context. 

Returning EINVAL when argc > 8 would fix both of these problems.

I wonder if you couldn't somehow macro-ize this to fail at build time if argc
was greater than 8?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]