diff options
author | Ulrich Hecht <uli@suse.de> | 2009-07-24 19:10:32 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@iki.fi> | 2009-08-25 17:15:35 +0300 |
commit | 12727917db45aebb809e4b09c51e883c09a6366f (patch) | |
tree | 135c4d7d76aefed61c7a8f01933682d74f27d290 /linux-user/mmap.c | |
parent | e72d2cc781f335474fe07234051b64ec314714f4 (diff) |
linux-user: zero fstat buffer to initialize nsec fields
The fstat implementation does not initialize the nanosecond fields in the
stat buffer; this caused funny values to turn up there, preventing, for
instance, cp -p from preserving timestamps because utimensat rejected
the out-of-bounds nanosecond values. Resetting the entire structure
to zero fixes that.
Signed-off-by: Ulrich Hecht <uli@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'linux-user/mmap.c')
0 files changed, 0 insertions, 0 deletions