[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lib-src/ebrowse.c [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lib-src/ebrowse.c [emacs-unicode-2] |
Date: |
Mon, 28 Jun 2004 04:43:36 -0400 |
Index: emacs/lib-src/ebrowse.c
diff -c emacs/lib-src/ebrowse.c:1.35.6.1 emacs/lib-src/ebrowse.c:1.35.6.2
*** emacs/lib-src/ebrowse.c:1.35.6.1 Fri Apr 16 12:49:44 2004
--- emacs/lib-src/ebrowse.c Mon Jun 28 07:28:22 2004
***************
*** 564,570 ****
if (p == NULL)
{
yyerror ("out of memory", NULL);
! exit (1);
}
return p;
}
--- 564,570 ----
if (p == NULL)
{
yyerror ("out of memory", NULL);
! exit (EXIT_FAILURE);
}
return p;
}
***************
*** 581,587 ****
if (p == NULL)
{
yyerror ("out of memory", NULL);
! exit (1);
}
return p;
}
--- 581,587 ----
if (p == NULL)
{
yyerror ("out of memory", NULL);
! exit (EXIT_FAILURE);
}
return p;
}
***************
*** 3671,3677 ****
int error;
{
puts (USAGE);
! exit (error ? 1 : 0);
}
--- 3671,3677 ----
int error;
{
puts (USAGE);
! exit (error ? EXIT_FAILURE : EXIT_SUCCESS);
}
***************
*** 3688,3694 ****
printf ("ebrowse %s\n", VERSION);
puts ("Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.");
puts ("This program is distributed under the same terms as Emacs.");
! exit (0);
}
--- 3688,3694 ----
printf ("ebrowse %s\n", VERSION);
puts ("Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.");
puts ("This program is distributed under the same terms as Emacs.");
! exit (EXIT_SUCCESS);
}
***************
*** 3925,3931 ****
if (yyout == NULL)
{
yyerror ("cannot open output file `%s'", out_filename);
! exit (1);
}
}
--- 3925,3931 ----
if (yyout == NULL)
{
yyerror ("cannot open output file `%s'", out_filename);
! exit (EXIT_FAILURE);
}
}
***************
*** 3970,3980 ****
if (yyout != stdout)
fclose (yyout);
! return 0;
}
-
- /* ebrowse.c ends here. */
-
/* arch-tag: fc03b4bc-91a9-4c3d-b3b9-12a77fa86dd8
(do not change this comment) */
--- 3970,3979 ----
if (yyout != stdout)
fclose (yyout);
! return EXIT_SUCCESS;
}
/* arch-tag: fc03b4bc-91a9-4c3d-b3b9-12a77fa86dd8
(do not change this comment) */
+
+ /* ebrowse.c ends here */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lib-src/ebrowse.c [emacs-unicode-2],
Miles Bader <=