Package: original-awk Version: 2007-10-23-3 Severity: serious Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd
Hi, the last upload tried to avoid using name getline, but it missed the necessary rename in maketab.c. As a result, it does not work, i.e. SIGSEGV during build of kfreebsd-8. I also suggest to rename to awkgetline(), to be consistent with awkprintf and so on. Petr diff -u original-awk-2007-10-23/proto.h original-awk-2007-10-23/proto.h --- original-awk-2007-10-23/proto.h +++ original-awk-2007-10-23/proto.h @@ -149,7 +149,7 @@ extern Cell *copycell(Cell *); extern Cell *arg(Node **, int); extern Cell *jump(Node **, int); -extern Cell *awk_getline(Node **, int); +extern Cell *awkgetline(Node **, int); extern Cell *getnf(Node **, int); extern Cell *array(Node **, int); extern Cell *awkdelete(Node **, int); diff -u original-awk-2007-10-23/run.c original-awk-2007-10-23/run.c --- original-awk-2007-10-23/run.c +++ original-awk-2007-10-23/run.c @@ -388,7 +388,7 @@ return 0; /* not reached */ } -Cell *awk_getline(Node **a, int n) /* get next line from specific input */ +Cell *awkgetline(Node **a, int n) /* get next line from specific input */ { /* a[0] is variable, a[1] is operator, a[2] is filename */ Cell *r, *x; extern Cell **fldtab; only in patch2: unchanged: --- original-awk-2007-10-23.orig/maketab.c +++ original-awk-2007-10-23/maketab.c @@ -102,7 +102,7 @@ { CALL, "call", "call" }, { ARG, "arg", "arg" }, { VARNF, "getnf", "NF" }, - { GETLINE, "getline", "getline" }, + { GETLINE, "awkgetline", "getline" }, { 0, "", "" }, }; -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org