[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
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] Changes to emacs/lib-src/update-game-score.c |
Date: |
Sat, 13 Apr 2002 21:02:36 -0400 |
Index: emacs/lib-src/update-game-score.c
diff -c emacs/lib-src/update-game-score.c:1.5
emacs/lib-src/update-game-score.c:1.6
*** emacs/lib-src/update-game-score.c:1.5 Wed Apr 10 15:10:23 2002
--- emacs/lib-src/update-game-score.c Sat Apr 13 21:02:36 2002
***************
*** 249,255 ****
ungetc(c, f);
#ifdef HAVE_GETDELIM
{
! int count = 0;
if (getdelim(&score->username, &count, ' ', f) < 1
|| score->username == NULL)
return -1;
--- 249,255 ----
ungetc(c, f);
#ifdef HAVE_GETDELIM
{
! size_t count = 0;
if (getdelim(&score->username, &count, ' ', f) < 1
|| score->username == NULL)
return -1;
***************
*** 279,287 ****
#endif
#ifdef HAVE_GETLINE
score->data = NULL;
! errno = ESUCCES;
{
! int len;
if (getline(&score->data, &len, f) < 0)
return -1;
score->data[strlen(score->data)-1] = '\0';
--- 279,287 ----
#endif
#ifdef HAVE_GETLINE
score->data = NULL;
! errno = 0;
{
! size_t len;
if (getline(&score->data, &len, f) < 0)
return -1;
score->data[strlen(score->data)-1] = '\0';
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c, Colin Walters, 2002/04/05
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c, Colin Walters, 2002/04/05
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c, Colin Walters, 2002/04/07
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c, Colin Walters, 2002/04/10
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c,
Andreas Schwab <=
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c, Colin Walters, 2002/04/14
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c, Eli Zaretskii, 2002/04/16
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c, Colin Walters, 2002/04/23
- [Emacs-diffs] Changes to emacs/lib-src/update-game-score.c, Colin Walters, 2002/04/29