Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
xbanner
xbanner-1.31-gets.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xbanner-1.31-gets.patch of Package xbanner
--- xb_check.c +++ xb_check.c @@ -280,6 +280,7 @@ int i,j,k; char namelist[MAX_CYCS][MAX_CYCNAME]; char appname[LNLEN]="xbanner"; + char *p; if (argc>1) { @@ -303,8 +304,9 @@ } } - while(gets(line)!=NULL) + while(fgets(line, sizeof line, stdin)!=NULL) { + if ((p = strchr(line, '\n')) != NULL) *p = '\0'; if(line[0]=='!') continue; strcpy(elem1,elem(line,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