diff options
author | Patrik Nyblom <[email protected]> | 2010-11-22 16:24:59 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-11-30 16:33:17 +0100 |
commit | fed20c731b91f1debb11a809cc5999d8b04dd293 (patch) | |
tree | 801b87703f713758c2e339792555501b0e012f7b /erts/emulator/drivers/common/efile_drv.c | |
parent | 9622ab2132e2501ee5769357a914dcc6635e515c (diff) | |
download | otp-fed20c731b91f1debb11a809cc5999d8b04dd293.tar.gz otp-fed20c731b91f1debb11a809cc5999d8b04dd293.tar.bz2 otp-fed20c731b91f1debb11a809cc5999d8b04dd293.zip |
Teach spawn_executable about Unicode
Also corrected compressed files on Windows
Diffstat (limited to 'erts/emulator/drivers/common/efile_drv.c')
-rw-r--r-- | erts/emulator/drivers/common/efile_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/drivers/common/efile_drv.c b/erts/emulator/drivers/common/efile_drv.c index ac73897cf2..786fa7da77 100644 --- a/erts/emulator/drivers/common/efile_drv.c +++ b/erts/emulator/drivers/common/efile_drv.c @@ -1401,7 +1401,7 @@ static void invoke_readlink(void *data) d->result_ok = efile_readlink(&d->errInfo, d->b, resbuf+1, RESBUFSIZE-1); if (d->result_ok != 0) - strcpy((char *) d->b + 1, resbuf+1); + FILENAME_COPY((char *) d->b + 1, resbuf+1); } static void invoke_altname(void *data) @@ -1413,7 +1413,7 @@ static void invoke_altname(void *data) d->result_ok = efile_altname(&d->errInfo, d->b, resbuf+1, RESBUFSIZE-1); if (d->result_ok != 0) - strcpy((char *) d->b + 1, resbuf+1); + FILENAME_COPY((char *) d->b + 1, resbuf+1); } static void invoke_pwritev(void *data) { |