/[emacs]/emacs/src/emacs.c
ViewVC logotype

Diff of /emacs/src/emacs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.289 by pj, Sun Oct 28 13:40:29 2001 UTC revision 1.290 by pj, Sun Oct 28 18:52:14 2001 UTC
# Line 981  main (argc, argv, envp) Line 981  main (argc, argv, envp)
981            if (result < 0)            if (result < 0)
982              {              {
983                char *errstring = strerror (errno);                char *errstring = strerror (errno);
984                fprintf (stderr, "emacs: %s: %s\n", term, errstring);                fprintf (stderr, "%s: %s: %s\n", argv[0], term, errstring);
985                exit (1);                exit (1);
986              }              }
987            dup (0);            dup (0);
988            if (! isatty (0))            if (! isatty (0))
989              {              {
990                fprintf (stderr, "emacs: %s: not a tty\n", term);                fprintf (stderr, "%s: %s: not a tty\n", argv[0], term);
991                exit (1);                exit (1);
992              }              }
993            fprintf (stderr, "Using %s\n", term);            fprintf (stderr, "Using %s\n", term);

Legend:
Removed from v.1.289  
changed lines
  Added in v.1.290

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26