lkml.org 
[lkml]   [2006]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Quick close of all the open files.
Date
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    [W:0.122 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site