diff options
author | Michael Haro <mharo@FreeBSD.org> | 1999-04-16 08:52:25 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 1999-04-16 08:52:25 +0000 |
commit | b5836e35bd973ac3604fd21446bbffa905ee294a (patch) | |
tree | 46e4eab6691375e2d7775a8850ee054e03ab6f0b /news/nn/files/patch-ah | |
parent | updated mastersite path. now compiles with lots less warnings (diff) |
Split up patchfiles. Add patch from PR 9710. Update md5 file so it
no longer needs to be marked as broken.
PR: 9710
Submitted by: Boris Staeblow <balu@dva.in-berlin.de>
Notes
Notes:
svn path=/head/; revision=17915
Diffstat (limited to '')
-rw-r--r-- | news/nn/files/patch-ah | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/news/nn/files/patch-ah b/news/nn/files/patch-ah new file mode 100644 index 000000000000..8517cfcd3cc2 --- /dev/null +++ b/news/nn/files/patch-ah @@ -0,0 +1,29 @@ +--- nn.c.orig Fri Jul 17 08:32:08 1998 ++++ nn.c Fri Apr 16 01:41:04 1999 +@@ -394,7 +394,7 @@ + fl; + mode = 0; + +- if (gets(answer1)) { ++ if (fgets(answer1, sizeof(answer1), stdin)) { + if (strncmp(answer1, "auto", 4) == 0) { + tprintf("\nUPDATING .newsrc FILE...."); + fl; +@@ -437,7 +437,7 @@ + (long)(gh->last_db_article - gh->last_article)); + fl; + +- if (gets(answer1) == NULL || s_keyboard) ++ if (fgets(answer1, sizeof(answer1), stdin) == NULL || s_keyboard) + *answer1 = 'q'; + + switch (*answer1) { +@@ -446,7 +446,7 @@ + tputc(NL); + tprintf("Update rest? (yn) n\b"); + fl; +- if (gets(answer1) == NULL || *answer1 != 'y') ++ if (fgets(answer1, sizeof(answer1), stdin) == NULL || *answer1 != 'y') + return; + + mode = -1; |