[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lib-src/update-game-score.c [emacs-unicod
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lib-src/update-game-score.c [emacs-unicode-2] |
Date: |
Mon, 28 Jun 2004 03:41:02 -0400 |
Index: emacs/lib-src/update-game-score.c
diff -c emacs/lib-src/update-game-score.c:1.17.4.1
emacs/lib-src/update-game-score.c:1.17.4.2
*** emacs/lib-src/update-game-score.c:1.17.4.1 Fri Apr 16 12:49:44 2004
--- emacs/lib-src/update-game-score.c Mon Jun 28 07:28:23 2004
***************
*** 111,117 ****
const char *msg;
{
fprintf (stderr, "%s\n", msg);
! exit (1);
}
void lose_syserr P_ ((const char *msg)) NO_RETURN;
--- 111,117 ----
const char *msg;
{
fprintf (stderr, "%s\n", msg);
! exit (EXIT_FAILURE);
}
void lose_syserr P_ ((const char *msg)) NO_RETURN;
***************
*** 138,144 ****
const char *msg;
{
fprintf (stderr, "%s: %s\n", msg, strerror (errno));
! exit (1);
}
char *
--- 138,144 ----
const char *msg;
{
fprintf (stderr, "%s: %s\n", msg, strerror (errno));
! exit (EXIT_FAILURE);
}
char *
***************
*** 199,205 ****
switch (c)
{
case 'h':
! usage (0);
break;
case 'd':
user_prefix = optarg;
--- 199,205 ----
switch (c)
{
case 'h':
! usage (EXIT_SUCCESS);
break;
case 'd':
user_prefix = optarg;
***************
*** 213,223 ****
max = MAX_SCORES;
break;
default:
! usage (1);
}
if (optind+3 != argc)
! usage (1);
running_suid = (getuid () != geteuid ());
--- 213,223 ----
max = MAX_SCORES;
break;
default:
! usage (EXIT_FAILURE);
}
if (optind+3 != argc)
! usage (EXIT_FAILURE);
running_suid = (getuid () != geteuid ());
***************
*** 266,272 ****
lose_syserr ("Failed to write scores file");
}
unlock_file (scorefile, lockstate);
! exit (0);
}
int
--- 266,272 ----
lose_syserr ("Failed to write scores file");
}
unlock_file (scorefile, lockstate);
! exit (EXIT_SUCCESS);
}
int
***************
*** 531,533 ****
--- 531,535 ----
/* arch-tag: 2bf5c52e-4beb-463a-954e-c58b9c64736b
(do not change this comment) */
+
+ /* update-game-score.c ends here */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c [emacs-unicode-2],
Miles Bader <=