File symlinks-1.4-deb-alt.patch of Package symlinks
diff -Ndurp symlinks-1.4/symlinks.c symlinks-1.4-deb-alt/symlinks.c
--- symlinks-1.4/symlinks.c 2009-10-09 17:03:55.000000000 +0300
+++ symlinks-1.4-deb-alt/symlinks.c 2015-01-11 18:24:48.000000000 +0200
@@ -322,7 +322,7 @@ int main(int argc, char **argv)
if (NULL == getcwd(cwd,PATH_MAX)) {
fprintf(stderr,"getcwd() failed\n");
- exit (1);
+ return (1);
}
if (!*cwd || cwd[strlen(cwd)-1] != '/')
strcat(cwd,"/");
@@ -358,5 +358,5 @@ int main(int argc, char **argv)
}
if (dircount == 0)
usage_error();
- exit (0);
+ return (0);
}