Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
gnucap
gnucap-0.35-gcc6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnucap-0.35-gcc6.patch of Package gnucap
diff -up gnucap-0.35/src/plot.cc~ gnucap-0.35/src/plot.cc --- gnucap-0.35/src/plot.cc~ 2016-04-26 09:16:25.000000000 +0200 +++ gnucap-0.35/src/plot.cc 2016-04-26 09:18:43.392162278 +0200 @@ -231,9 +231,9 @@ static void plotarg( double yhi, double zhi) { - auto char adata[MAXWIDTH+1]; /* actual data. copy emptydata, insert */ + char adata[MAXWIDTH+1]; /* actual data. copy emptydata, insert */ char *xxs; /* string representation of xx */ - memcpy(adata, emptydata, MAXWIDTH); /* copy prototype */ + memcpy(adata, emptydata, MAXWIDTH + 1); /* copy prototype */ xxs = ftos( xx, 11, 5, IO::formaat ); if (zz != NOT_VALID) { adata[point(zz,zlo,zhi,CONSSCALE,0,1)] = '+';/* zap data into string */
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