Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
xmbase-grok
xmbase-grok-1.5-errno-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmbase-grok-1.5-errno-fix.diff of Package xmbase-grok
--- src/editwin.c +++ src/editwin.c @@ -9,6 +9,7 @@ * edit_file(name, readonly, create, title, help) */ +#include <errno.h> #include "config.h" #include <X11/Xos.h> #include <stdio.h> --- src/evalfunc.c +++ src/evalfunc.c @@ -18,6 +18,7 @@ * f_printf */ +#include <errno.h> #include "config.h" #include <X11/Xos.h> #include <stdio.h> --- src/mainwin.c +++ src/mainwin.c @@ -11,6 +11,7 @@ * search_cards(mode,card,string) do a query for an expression or string */ +#include <errno.h> #include "config.h" #include <X11/Xos.h> #include <stdlib.h> --- src/popup.c +++ src/popup.c @@ -92,7 +92,7 @@ va_end(parm); if (error) { strcat(msg, "\n"); - strcat(msg, sys_errlist[error]); + strcat(msg, strerror(error)); } if (!widget) { fprintf(stderr, "%s: %s\n", progname, msg); --- src/prefwin.c +++ src/prefwin.c @@ -9,6 +9,7 @@ * create_preference_popup() */ +#include <errno.h> #include "config.h" #include <stdio.h> #include <stdlib.h> --- src/print.c +++ src/print.c @@ -4,6 +4,7 @@ * print() */ +#include <errno.h> #include "config.h" #include <X11/Xos.h> #include <stdio.h>
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