comparison lib-src/etags.c @ 5448:18de002e47dd

(main) [MSDOS]: Open all files as binary.
author Richard M. Stallman <rms@gnu.org>
date Thu, 06 Jan 1994 03:58:35 +0000
parents d3bd7baee39f
children 517d8eb361f8
comparison
equal deleted inserted replaced
5447:6f0905b05218 5448:18de002e47dd
25 * Gnu Emacs TAGS format and modifications by RMS? 25 * Gnu Emacs TAGS format and modifications by RMS?
26 * Sam Kendall added C++. 26 * Sam Kendall added C++.
27 * 27 *
28 * Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer. 9.8 28 * Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer. 9.8
29 */ 29 */
30
31 #ifdef MSDOS
32 #include <fcntl.h>
33 #endif /* MSDOS */
30 34
31 #ifdef HAVE_CONFIG_H 35 #ifdef HAVE_CONFIG_H
32 #include <../src/config.h> 36 #include <../src/config.h>
33 #endif 37 #endif
34 38
543 char got_err; 547 char got_err;
544 548
545 extern char *gfnames (); 549 extern char *gfnames ();
546 extern char *massage_name (); 550 extern char *massage_name ();
547 #endif 551 #endif
552
553 #ifdef MSDOS
554 _fmode = O_BINARY; /* all of files are treated as binary files */
555 #endif /* MSDOS */
548 556
549 progname = argv[0]; 557 progname = argv[0];
550 558
551 #ifndef CTAGS 559 #ifndef CTAGS
552 emacs_tags_format = 1; 560 emacs_tags_format = 1;