termux-packages/packages/kona/c.c.patch

12 lines
421 B
Diff

--- ../kona-Win.3.36-64/src/c.c 2015-07-30 11:18:02.000000000 -0400
+++ ./src/c.c 2015-12-06 03:19:35.000000000 -0500
@@ -463,7 +463,7 @@
w=t; while(isspace(*w++))l++;
if(l==n||!n){if(y)cd(y); y=0; continue;}
O("%s ",t);
- if(-1==getline_(&u,&m,stdin))GC;
+ if(-1==new_getline_(&u,&m,stdin))GC;
d=stepopt(u,m);
if(d==1){if(y)cd(y); y=0; continue;}else if(d==2)GC;
show(k=ex(wd(t,n)));