Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ErlangPro
symlinks
symlinks-1.2-deb-alt.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File symlinks-1.2-deb-alt.patch of Package symlinks
--- symlinks-1.2.orig/symlinks.c +++ symlinks-1.2/symlinks.c @@ -294,7 +294,7 @@ exit(1); } -void main(int argc, char **argv) +int main(int argc, char **argv) { static char path[PATH_MAX+2], cwd[PATH_MAX+2]; int dircount = 0; @@ -307,7 +307,7 @@ if (NULL == getcwd(cwd,PATH_MAX)) { fprintf(stderr,"getcwd() failed\n"); - exit (1); + return (1); } if (!*cwd || cwd[strlen(cwd)-1] != '/') strcat(cwd,"/"); @@ -342,5 +342,5 @@ } if (dircount == 0) usage_error(); - exit (0); + return (0); }
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