ksh/ksh93-splice.dif

21 lines
555 B
Plaintext

--- src/lib/libast/string/tokline.c
+++ src/lib/libast/string/tokline.c 2006-06-20 15:59:44.000000000 +0200
@@ -55,7 +55,7 @@
*/
static int
-splice(Sfio_t* s, int op, void* val, Sfdisc_t* ad)
+ksh_splice(Sfio_t* s, int op, void* val, Sfdisc_t* ad)
{
Splice_t* d = (Splice_t*)ad;
register char* b;
@@ -185,7 +185,7 @@
flags = strtol(p + 5, &p, 10);
error(flags, "%s:%-.*s", arg, e - p - 4, p);
}
- d->disc.exceptf = splice;
+ d->disc.exceptf = ksh_splice;
d->sp = f;
*(d->line = line ? line : &hidden) = 0;
sfdisc(s, (Sfdisc_t*)d);