summaryrefslogtreecommitdiff
path: root/japanese/mh/files/patch-uip_popsbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/mh/files/patch-uip_popsbr.c')
-rw-r--r--japanese/mh/files/patch-uip_popsbr.c47
1 files changed, 47 insertions, 0 deletions
diff --git a/japanese/mh/files/patch-uip_popsbr.c b/japanese/mh/files/patch-uip_popsbr.c
new file mode 100644
index 000000000000..769d10340dac
--- /dev/null
+++ b/japanese/mh/files/patch-uip_popsbr.c
@@ -0,0 +1,47 @@
+--- uip/popsbr.c.orig 2001-04-02 10:50:01 UTC
++++ uip/popsbr.c
+@@ -63,7 +63,7 @@ int command(), multiline();
+ static int command(), multiline();
+ #endif
+
+-static int getline();
++static int get_line();
+ static putline();
+
+ #ifdef NNTP
+@@ -176,7 +176,7 @@ int snoop;
+
+ (void) signal (SIGPIPE, SIG_IGN);
+
+- switch (getline (response, sizeof response, input)) {
++ switch (get_line (response, sizeof response, input)) {
+ case OK:
+ if (poprint)
+ fprintf (stderr, "<--- %s\n", response);
+@@ -619,7 +619,7 @@ char *fmt,
+ if (putline (buffer, output) == NOTOK)
+ return NOTOK;
+
+- switch (getline (response, sizeof response, input)) {
++ switch (get_line (response, sizeof response, input)) {
+ case OK:
+ if (poprint)
+ fprintf (stderr, "<--- %s\n", response);
+@@ -645,7 +645,7 @@ static int multiline () {
+ #endif
+ char buffer[BUFSIZ + TRMLEN];
+
+- if (getline (buffer, sizeof buffer, input) != OK)
++ if (get_line (buffer, sizeof buffer, input) != OK)
+ return NOTOK;
+ #ifdef DEBUG
+ if (poprint)
+@@ -665,7 +665,7 @@ static int multiline () {
+
+ /* */
+
+-static int getline (s, n, iop)
++static int get_line (s, n, iop)
+ char *s;
+ int n;
+ FILE * iop;