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

Diff of /emacs/src/term.c

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

revision 1.168 by dann, Fri Sep 30 22:38:14 2005 UTC revision 1.169 by dann, Sun Oct 2 18:35:04 2005 UTC
# Line 25  Boston, MA 02110-1301, USA.  */ Line 25  Boston, MA 02110-1301, USA.  */
25  #include <stdio.h>  #include <stdio.h>
26  #include <ctype.h>  #include <ctype.h>
27  #include <string.h>  #include <string.h>
 #include <stdarg.h>  
28    
29  #include "termchar.h"  #include "termchar.h"
30  #include "termopts.h"  #include "termopts.h"
# Line 2690  to do `unset TERMCAP' (C-shell: `unseten Line 2689  to do `unset TERMCAP' (C-shell: `unseten
2689    
2690  /* VARARGS 1 */  /* VARARGS 1 */
2691  void  void
2692  fatal (const char *str, ...)  fatal (str, arg1, arg2)
2693         char *str, *arg1, *arg2;
2694  {  {
   va_list ap;  
   va_start (ap, str);  
2695    fprintf (stderr, "emacs: ");    fprintf (stderr, "emacs: ");
2696    vfprintf (stderr, str, ap);    fprintf (stderr, str, arg1, arg2);
2697    va_end (ap);    fprintf (stderr, "\n");
2698    fflush (stderr);    fflush (stderr);
2699    exit (1);    exit (1);
2700  }  }

Legend:
Removed from v.1.168  
changed lines
  Added in v.1.169

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