[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lib-src/b2m.c [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lib-src/b2m.c [emacs-unicode-2] |
Date: |
Mon, 28 Jun 2004 03:43:27 -0400 |
Index: emacs/lib-src/b2m.c
diff -c emacs/lib-src/b2m.c:1.28.10.1 emacs/lib-src/b2m.c:1.28.10.2
*** emacs/lib-src/b2m.c:1.28.10.1 Fri Apr 16 12:49:44 2004
--- emacs/lib-src/b2m.c Mon Jun 28 07:28:22 2004
***************
*** 39,53 ****
#undef FALSE
#define FALSE 0
- /* Exit codes for success and failure. */
- #ifdef VMS
- #define GOOD 1
- #define BAD 0
- #else
- #define GOOD 0
- #define BAD 1
- #endif
-
#define streq(s,t) (strcmp (s, t) == 0)
#define strneq(s,t,n) (strncmp (s, t, n) == 0)
--- 39,44 ----
***************
*** 124,141 ****
case 'V':
printf ("%s (GNU Emacs %s)\n", "b2m", VERSION);
puts ("b2m is in the public domain.");
! exit (GOOD);
case 'h':
fprintf (stderr, "Usage: %s <babylmailbox >unixmailbox\n", progname);
! exit (GOOD);
}
}
if (optind != argc)
{
fprintf (stderr, "Usage: %s <babylmailbox >unixmailbox\n", progname);
! exit (GOOD);
}
labels_saved = printing = header = FALSE;
--- 115,132 ----
case 'V':
printf ("%s (GNU Emacs %s)\n", "b2m", VERSION);
puts ("b2m is in the public domain.");
! exit (EXIT_SUCCESS);
case 'h':
fprintf (stderr, "Usage: %s <babylmailbox >unixmailbox\n", progname);
! exit (EXIT_SUCCESS);
}
}
if (optind != argc)
{
fprintf (stderr, "Usage: %s <babylmailbox >unixmailbox\n", progname);
! exit (EXIT_SUCCESS);
}
labels_saved = printing = header = FALSE;
***************
*** 191,197 ****
puts (data.buffer);
}
! return 0;
}
--- 182,188 ----
puts (data.buffer);
}
! return EXIT_SUCCESS;
}
***************
*** 298,305 ****
char *message;
{
fprintf (stderr, "%s: %s\n", progname, message);
! exit (BAD);
}
/* arch-tag: 5a3ad2af-a802-408f-83cc-e7cf5e98653e
(do not change this comment) */
--- 289,298 ----
char *message;
{
fprintf (stderr, "%s: %s\n", progname, message);
! exit (EXIT_FAILURE);
}
/* arch-tag: 5a3ad2af-a802-408f-83cc-e7cf5e98653e
(do not change this comment) */
+
+ /* b2m.c ends here */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lib-src/b2m.c [emacs-unicode-2],
Miles Bader <=