aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2013-02-01 12:51:12 -0800
committerPaul Eggert2013-02-01 12:51:12 -0800
commit35e854998e2ab2155875683411beb0518236da18 (patch)
tree21bff62f619f3f3568bed3d0ed3cc9727b53503d /src/alloc.c
parentaf314ba001f576c59dcc2df8506b34cdf12b5c63 (diff)
downloademacs-35e854998e2ab2155875683411beb0518236da18.tar.gz
emacs-35e854998e2ab2155875683411beb0518236da18.zip
Fix timestamp bug when write-region appends nothing.
* fileio.c (Fwrite_region): When neither O_EXCL nor O_TRUNC is used, the file's time stamp doesn't change if Emacs happens to write nothing to the file, and on a buggy file system this could cause Emacs to incorrectly infer that the file system doesn't have the bug. Avoid this problem by inhibiting the inference in this case. Fixes: debbugs:13149
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions