Show
Ignore:
Timestamp:
07/01/06 08:27:06 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib-src/digest-doc.c

    r4037 r4098  
    2727#include <stdio.h> 
    2828 
     29#ifdef DOS_NT 
     30#include <fcntl.h>              /* for O_BINARY */ 
     31#include <io.h>                 /* for setmode */ 
     32#endif 
     33 
    2934int 
    3035main () 
     
    3237  register int ch; 
    3338  register int notfirst = 0; 
     39 
     40#ifdef DOS_NT 
     41  /* DOC is a binary file.  */ 
     42  if (!isatty (fileno (stdin))) 
     43    setmode (fileno (stdin), O_BINARY); 
     44#endif 
    3445 
    3546  printf (".TL\n");