patch getline() -> get_line() for -current (thank you PSOIX)
This commit is contained in:
parent
bd7bf01242
commit
0a15199e27
4 changed files with 39 additions and 7 deletions
|
@ -1,7 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.3 2006/01/09 22:14:32 joerg Exp $
|
||||
$NetBSD: distinfo,v 1.4 2010/04/29 00:22:02 dholland Exp $
|
||||
|
||||
SHA1 (focal.tar.gz) = 704d1411365085fb47ff25c1a77ae1f8e7fa601e
|
||||
RMD160 (focal.tar.gz) = 6b06cc08b2761035c315ae13b80d64a5e7a6004b
|
||||
Size (focal.tar.gz) = 12561 bytes
|
||||
SHA1 (patch-aa) = f37f7271b0a7fe508bee1bf1630229096efb21d0
|
||||
SHA1 (patch-ab) = f42b9f219bfee5a0deaae5d030989a6bc4ae2e77
|
||||
SHA1 (patch-aa) = 632a2ff83f744865a154712ce31092e1435af6f2
|
||||
SHA1 (patch-ab) = b2795472241ef1d1cc554e7c13bf35dc4b39b330
|
||||
SHA1 (patch-ac) = 17d1d5e2895d45c76782dfa79b97f583efa5346d
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: patch-aa,v 1.1.1.1 2003/09/11 17:15:02 drochner Exp $
|
||||
$NetBSD: patch-aa,v 1.2 2010/04/29 00:22:02 dholland Exp $
|
||||
|
||||
--- focal0.c.orig 1995-04-17 15:03:43.000000000 +0200
|
||||
--- focal0.c.orig 1995-04-17 13:03:43.000000000 +0000
|
||||
+++ focal0.c
|
||||
@@ -13,6 +13,7 @@
|
||||
$(ATOD) = 1
|
||||
|
@ -18,3 +18,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/09/11 17:15:02 drochner Exp $
|
|||
|
||||
#include "focal.h"
|
||||
#ifdef vms
|
||||
@@ -649,7 +651,7 @@ register int c;
|
||||
}
|
||||
|
||||
|
||||
-int getline(cp, fp)
|
||||
+int get_line(cp, fp)
|
||||
register char *cp;
|
||||
register FILE *fp;
|
||||
{
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
$NetBSD: patch-ab,v 1.1 2006/01/09 22:14:32 joerg Exp $
|
||||
$NetBSD: patch-ab,v 1.2 2010/04/29 00:22:02 dholland Exp $
|
||||
|
||||
--- focal2.c.orig 2006-01-09 22:06:20.000000000 +0000
|
||||
--- focal2.c.orig 1995-04-17 13:03:46.000000000 +0000
|
||||
+++ focal2.c
|
||||
@@ -71,7 +71,7 @@ void library()
|
||||
}
|
||||
line = NULL;
|
||||
sctp = ctp;
|
||||
- while (getline(abuf, fp) != 0) {
|
||||
+ while (get_line(abuf, fp) != 0) {
|
||||
ctp = abuf;
|
||||
if ((c=getnb()) != 0) {
|
||||
if (isdigit(c) == 0)
|
||||
@@ -138,7 +138,7 @@ void library()
|
||||
|| strcmp(de->d_name, ".") == 0
|
||||
|| strcmp(de->d_name, "..") == 0)
|
||||
|
|
13
lang/focal/patches/patch-ac
Normal file
13
lang/focal/patches/patch-ac
Normal file
|
@ -0,0 +1,13 @@
|
|||
$NetBSD: patch-ac,v 1.1 2010/04/29 00:22:02 dholland Exp $
|
||||
|
||||
--- proto.h~ 1995-04-17 13:03:41.000000000 +0000
|
||||
+++ proto.h
|
||||
@@ -17,7 +17,7 @@ void popdo ARG((void));
|
||||
void popfor ARG((void));
|
||||
void clearfors ARG((struct sym *sp));
|
||||
void inject ARG((int c));
|
||||
-int getline ARG((char *cp, FILE *fp));
|
||||
+int get_line ARG((char *cp, FILE *fp));
|
||||
void type ARG((void));
|
||||
void save ARG((struct lno *lnop, FILE *fp));
|
||||
void erasesyms ARG((void));
|
Loading…
Reference in a new issue