Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
ksh
ksh93-reg.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ksh93-reg.dif of Package ksh
--- src/cmd/ksh93/edit/edit.c +++ src/cmd/ksh93/edit/edit.c 2013-02-01 17:18:31.405454238 +0000 @@ -1769,8 +1769,13 @@ int ed_histgen(Edit_t *ep,const char *pa mplast->next = mp; mplast->next = 0; } - ep->hlist = (Histmatch_t**)argv; - ep->hfirst = ep->hlist?ep->hlist[0]:0; + if (argv) + { + ep->hlist = (Histmatch_t**)argv; + ep->hfirst = ep->hlist?ep->hlist[0]:0; + } + else + ep->hfirst = 0; return(ep->hmax=ac); }
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