lkml.org 
[lkml]   [2006]   [Jun]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromMåns Rullgård <>
SubjectRe: Quick close of all the open files.
DateWed, 07 Jun 2006 08:56:34 +0100
Valdis.Kletnieks@vt.edu writes:

> On Tue, 06 Jun 2006 23:03:38 BST, =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= said:
>> > (Hint - what does that fp->_chain = stderr *really* do? ;)>> >> As it touches the innards of the FILE type, it invokes undefined
>> behavior.  Nothing that follows can be considered a bug.>> Invoking undefined behavior is often considered a bug itself.  And it's
> certainly happening in userspace.. so there's a userspace bug. ;)

The bug is in the program that invoked the undefined behavior, not in
the library (libc) in which this behavior was invoked.

-- 
Måns Rullgård
mru@inprovide.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-07 09:59    [from the cache]
©2003-2008