linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Found the problem...
@ 2005-10-09  5:54 Rob Landley
  2005-10-09 19:06 ` Blaisorblade
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Landley @ 2005-10-09  5:54 UTC (permalink / raw)
  To: user-mode-linux-devel

When attempting to stat a nonexistent file, 2.6.11 returned a consistent value 
in st_mode (BFFFF73C, every time), and 2.6.13 is returning random crap that 
varies from invocation to invocation.  Hence the intermittent failure.

We _should_ be checking the error return value from lstat64() before looking 
at S_ISDIR(), and I'll fix it.  Almost certainly, the value in there is 
random garbage off the stack, and 2.6.13 simply has different random garbage 
on the stack.

So it's not your problem...

Rob



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-09 22:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-09  5:54 [uml-devel] Found the problem Rob Landley
2005-10-09 19:06 ` Blaisorblade
2005-10-09 22:37   ` Rob Landley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox