Messages in this thread | | | From | Måns Rullgård <> | Subject | Re: Quick close of all the open files. | Date | Wed, 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/
| |