[project @ 2001-05-21 11:02:15 by simonmar]
authorsimonmar <unknown>
Mon, 21 May 2001 11:02:15 +0000 (11:02 +0000)
committersimonmar <unknown>
Mon, 21 May 2001 11:02:15 +0000 (11:02 +0000)
commitdf318cbdc37897c4c73839ff97414b518ec268f5
tree7ed0ae5a84dd1296bf8213da2e761bb16ed90b19
parent417aae6f638fb8a8e8b12fa330a9070f3cc62ee5
[project @ 2001-05-21 11:02:15 by simonmar]
Re-instate the missing fstat call.

By some bizarre coincidence, this function declared a 'struct stat',
and failed to initialize it, but in practice the uninitialized memory
was in the exact same place on the stack as the struct stat from a
previous call to fstat, which meant all the tests worked :-)

Also, apparently gcc doesn't warn about uninitialised use of structure
fields.
ghc/lib/std/cbits/lockFile.c