Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
joe
joe-3.1-fix_isblanck_argument.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File joe-3.1-fix_isblanck_argument.patch of Package joe
--- joe/b.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Index: joe/b.c =================================================================== --- joe/b.c.orig +++ joe/b.c @@ -638,9 +638,10 @@ int piseow(P *p) int pisblank(P *p) { P *q = pdup(p, "pisblank"); + int brc_result; p_goto_bol(q); - while (joe_isblank(p->b->o.charmap,brc(q))) + while (((brc_result = brc(q)) != MAXINT) && joe_isblank(p->b->o.charmap,brc(q))) pgetb(q); if (piseol(q)) { prm(q); @@ -672,9 +673,10 @@ off_t pisindent(P *p) { P *q = pdup(p, "pisindent"); off_t col; + int brc_result; p_goto_bol(q); - while (joe_isblank(p->b->o.charmap,brc(q))) + while (((brc_result = brc(q)) != MAXINT) && joe_isblank(p->b->o.charmap,brc(q))) pgetc(q); col = q->col; prm(q);
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