lkml.org 
[lkml]   [1998]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Bug in kernel or libc !?
Date
From
In message <35E0DB62.1BDD2D30@taraz.kz>, Alex Riedel writes:
+-----
| Please test this program.
| After executing this program file 'test' is 0 bytes lenght.
+--->8

libc only guarantees the effect of mixed raw and buffered I/O after an
fflush(). It's the program that is broken, not libc and not the kernel;
without the fflush() the behavior of the ftruncate() and lseek() is
*undefined*.

--
brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net
system administrator [WAY too many hats] allbery@ece.cmu.edu
electrical and computer engineering KF8NH
carnegie mellon university



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.074 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site