Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
cdp
cdp-0.33.13-getline.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cdp-0.33.13-getline.diff of Package cdp
--- getline.c +++ getline.c @@ -160,10 +160,10 @@ if ( info.pw == NULL ) return GETLINE_ERR; - info.text = malloc( strSize + strlen( lpszDef ) + 256 ); + info.text = malloc( strSize + (lpszDef?strlen( lpszDef ):0) + 256 ); if ( info.text == NULL ) return GETLINE_ERR; - strcpy( info.text, lpszDef ); + strcpy( info.text, lpszDef?lpszDef:"" ); info.textLen = strlen( info.text ); info.fDefault = TRUE; info.strSize = strSize;
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