diff options
author | jozan <jozan@noemail.net> | 2020-11-27 21:58:23 +0000 |
---|---|---|
committer | jozan <jozan@noemail.net> | 2020-11-27 21:58:23 +0000 |
commit | 9f93facf36146013a40040ad910d9e467b3f1681 (patch) | |
tree | 425465e1c9d01e512a223d875a81ac278dd65e6e /src/c_unixize.c | |
parent | Added install and uninstall rules (diff) | |
download | unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.gz unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.bz2 unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.xz unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.zst unixize-9f93facf36146013a40040ad910d9e467b3f1681.zip |
Completed man page
FossilOrigin-Name: a94793605a8a1faef6be0c11bdad80c3c915644aa4d442fcac4ba37d7f62baee
Diffstat (limited to '')
-rw-r--r-- | src/c_unixize.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/c_unixize.c b/src/c_unixize.c index f6b7b87..b3fb265 100644 --- a/src/c_unixize.c +++ b/src/c_unixize.c @@ -52,6 +52,7 @@ #include <locale.h> #include <stdio.h> #include <stddef.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> @@ -80,7 +81,7 @@ main static char path[MAXPATHLEN] = ""; if (c_get_opts(&opts, argc, argv) == FALSE) { - return (0); + return (EXIT_SUCCESS); } if ( argv[0][0] != 'r' @@ -91,7 +92,7 @@ main } og_files = c_lfiles_gather(path); if (og_files == NULL) { - return (0); + return (EXIT_SUCCESS); } new_files = c_subst_filenames( og_files, @@ -101,7 +102,7 @@ main ); if (new_files == NULL) { c_lfiles_clear(&og_files); - return (1); + return (EXIT_FAILURE); } og_files_head = og_files; new_files_head = new_files; |