summaryrefslogtreecommitdiffstats
path: root/ampolish3
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-09-13 15:17:57 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-09-13 16:47:55 +0200
commitc5b2d7944c63695d4be21f4f904d74a945270763 (patch)
tree5bf2df463162fa437641e45e07afd4787eb61559 /ampolish3
parentIMFS: Use inline functions instead of macros (diff)
downloadrtems-c5b2d7944c63695d4be21f4f904d74a945270763.tar.bz2
IMFS: Fix truncate according to POSIX
ftruncate() and open() with O_TRUNC shall upon successful completion mark for update the st_ctime and st_mtime fields of the file. truncate() shall upon successful completion, if the file size is changed, mark for update the st_ctime and st_mtime fields of the file. The POSIX standard "The Open Group Base Specifications Issue 7", IEEE Std 1003.1, 2013 Edition says nothing about the behaviour of truncate() if the file size remains unchanged. Future directions of the standard may mandate the behaviour specified in ftruncate(): http://austingroupbugs.net/view.php?id=489
Diffstat (limited to 'ampolish3')
0 files changed, 0 insertions, 0 deletions