X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/05595c2e59983db469e620c4f34b2eef5123391b..c2ce5476dcde1ab9a7651a4c8a7b29a398b435ce:/src/unexcw.c diff --git a/src/unexcw.c b/src/unexcw.c index 6ebd8c6f83..ea678dd4c2 100644 --- a/src/unexcw.c +++ b/src/unexcw.c @@ -7,8 +7,8 @@ This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -275,9 +275,9 @@ unexec (const char *outfile, const char *infile) infile = add_exe_suffix_if_necessary (infile, infile_buffer); outfile = add_exe_suffix_if_necessary (outfile, outfile_buffer); - fd_in = emacs_open (infile, O_RDONLY | O_BINARY, 0); + fd_in = emacs_open (infile, O_RDONLY, 0); assert (fd_in >= 0); - fd_out = emacs_open (outfile, O_RDWR | O_TRUNC | O_CREAT | O_BINARY, 0755); + fd_out = emacs_open (outfile, O_RDWR | O_TRUNC | O_CREAT, 0755); assert (fd_out >= 0); for (;;) {