Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP4:GA
rsh
netkit-rsh-0.17-varargs.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netkit-rsh-0.17-varargs.diff of Package rsh
--- rcp/rcp.c +++ rcp/rcp.c @@ -855,7 +855,7 @@ error(const char *fmt, ...) { static FILE *fp; - va_list ap; + va_list ap, current_variadic; va_start(ap, fmt); @@ -863,10 +863,12 @@ if (!fp && !(fp = fdopen(rem, "w"))) return; fprintf(fp, "%c", 0x01); - vfprintf(fp, fmt, ap); + __va_copy(current_variadic, ap); + vfprintf(fp, fmt, current_variadic); fflush(fp); if (!iamremote) vfprintf(stderr, fmt, ap); + va_end(current_variadic); va_end(ap); }
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