Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
kinput2
kinput2-v3.1-getline.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kinput2-v3.1-getline.patch of Package kinput2
Index: kinput2-v3.1/lib/cconv.c =================================================================== --- kinput2-v3.1.orig/lib/cconv.c +++ kinput2-v3.1/lib/cconv.c @@ -790,7 +790,7 @@ static wchar *promptsave(wchar *); static int parseLine(uchar *, uchar **, int); static FILE *openfile(char *); static int doinclude(uchar *, Files *, void (*)()); -static uchar *getline(uchar *, int, Files *, void (*)()); +static uchar *getLine(uchar *, int, Files *, void (*)()); static int readRuleFile(ccRule, char *); static int registMode(ccRule, int, uchar **); static int newMode(ccRule, Files *, _strbufRec *, _funcbufRec *, @@ -1035,8 +1035,8 @@ void (*efunc)(); return 0; } -/* getline -- 1$B9TFI$_9~$`(B ($B$=$N:](B include $B$N=hM}$r9T$J$&(B) */ -static uchar *getline(line, linesize, files, efunc) +/* getLine -- 1$B9TFI$_9~$`(B ($B$=$N:](B include $B$N=hM}$r9T$J$&(B) */ +static uchar *getLine(line, linesize, files, efunc) uchar *line; int linesize; Files *files; @@ -1100,7 +1100,7 @@ char *file; rule->nmode = 0; rule->initialmode = -1; - while (getline(line, sizeof(line), &files, efunc)) { + while (getLine(line, sizeof(line), &files, efunc)) { (void)Strcpy(tmp, line); if ((argc = parseLine(tmp, argv, 20)) == 0) continue; @@ -1269,7 +1269,7 @@ uchar **av; cdbuf.cdbuf = NULL; /* $B%k!<%k$rFI$s$G%9%H%"$9$k(B */ - while (getline(line, sizeof(line), files, efunc)) { + while (getLine(line, sizeof(line), files, efunc)) { /* '#' $B$G;O$^$k9T$O%3%a%s%H(B */ if (*line == '\0' || *line == '\n' || *line == '#') continue;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor