aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorEli Zaretskii2013-12-14 10:29:42 +0200
committerEli Zaretskii2013-12-14 10:29:42 +0200
commitec4440cf5ee9b885957a774354894b62713258c5 (patch)
treeab8a997a398cc37c4f0d3270679c7d6a1e0a8d61 /src/alloc.c
parent276bc3337b27bcd76aa2735ed96c160c6a1b573a (diff)
downloademacs-ec4440cf5ee9b885957a774354894b62713258c5.tar.gz
emacs-ec4440cf5ee9b885957a774354894b62713258c5.zip
Fix copy-file on MS-Windows with file names outside of current locale.
src/fileio.c (Fcopy_file) [WINDOWSNT]: Move most of the Windows-specific code to w32.c. Change error message text to match that of Posix platforms. src/w32.c (w32_copy_file): New function, most of the code copied and reworked from Fcopy_file. Improve error handling. Plug memory leak when errors are thrown. Support file names outside of the current codepage. (Bug#7100)
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions