Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
edd3ff1d
Commit
edd3ff1d
authored
May 21, 2003
by
Jason Rumney
Browse files
(main) [WINDOWSNT]: Move it here.
parent
745edc31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
src/ChangeLog
src/ChangeLog
+6
-0
src/emacs.c
src/emacs.c
+7
-1
No files found.
src/ChangeLog
View file @
edd3ff1d
2003-05-21 Jason Rumney <jasonr@gnu.org>
* unexw32.c (_start): Remove _fmode initialization.
* emacs.c (main) [WINDOWSNT]: Move it here.
2003-05-20 Dave Love <fx@gnu.org>
* s/gnu-linux.h (MAIL_USE_FLOCK): Make it conditional.
...
...
src/emacs.c
View file @
edd3ff1d
...
...
@@ -40,6 +40,10 @@ Boston, MA 02111-1307, USA. */
#include <sys/ioctl.h>
#endif
#ifdef WINDOWSNT
#include <fcntl.h>
#endif
#include "lisp.h"
#include "commands.h"
#include "intervals.h"
...
...
@@ -955,11 +959,13 @@ main (argc, argv
uninterrupt_malloc
();
#endif
/* not SYSTEM_MALLOC */
#ifdef
MSDOS
#if
def
ined (MSDOS) || defined (WINDOWSNT)
/* We do all file input/output as binary files. When we need to translate
newlines, we do that manually. */
_fmode
=
O_BINARY
;
#endif
/* MSDOS || WINDOWSNT */
#ifdef MSDOS
#if __DJGPP__ >= 2
if
(
!
isatty
(
fileno
(
stdin
)))
setmode
(
fileno
(
stdin
),
O_BINARY
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment