Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
jtools
jtools.getline.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jtools.getline.patch of Package jtools
--- jcode.c +++ jcode.c @@ -173,7 +173,7 @@ int toup(int data); int SkipESCSeq(FILE *in,int temp,int *intwobyte); int DetectCodeType(FILE *in); -int getline(FILE *in,char *myarray); +int my_getline(FILE *in,char *myarray); int getcode(int data,char ki[],char ko[],int doing); int getnotation(int data); int hex2dec(int data); @@ -882,7 +882,7 @@ print1byte(out,notation,p1,control,pad); } -int getline(FILE *in,char *myarray) +int my_getline(FILE *in,char *myarray) { if (fgets(myarray,100,in) == NULL) return 0; @@ -914,7 +914,7 @@ int data[8]; char myarray[100],temparray[10]; - while (getline(in,myarray)) { + while (my_getline(in,myarray)) { okay = TRUE; offset = 0; switch (toup(myarray[0])) { --- jgrep.c +++ jgrep.c @@ -134,7 +134,7 @@ #define ISEUC(A) ((A >= 161) && (A <= 254)) /* int ccommand(char ***p); */ -int getline(FILE *in,char *line,int max); +int my_getline(FILE *in,char *line,int max); int stringsearch(char *pattern,char *string); int nextchar(char *string,int index); @@ -209,7 +209,7 @@ exit(1); } } - while (getline(in,line,MAXLINLEN) > 0) { + while (my_getline(in,line,MAXLINLEN) > 0) { lineno++; if ((stringsearch(pattern,line) != 0) != except) { /* replaced strstr() */ if (number) { @@ -227,7 +227,7 @@ } -int getline(FILE *in,char *line,int max) +int my_getline(FILE *in,char *line,int max) { if (fgets(line,max,in) == NULL) return 0;
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