aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-07 19:17:43 +0000
committerjozan <jozan@noemail.net>2020-11-07 19:17:43 +0000
commite0fbb207e3a12e0eb8f4aa5434c9e6e59b1eaf29 (patch)
tree79b76f105feea560f634ccf7e54cc957cf732a57
parentMerged 'go-full-stack' into 'trunk' (diff)
parentDeleted .fossil-settings (diff)
downloadunixize-e0fbb207e3a12e0eb8f4aa5434c9e6e59b1eaf29.tar.gz
unixize-e0fbb207e3a12e0eb8f4aa5434c9e6e59b1eaf29.tar.bz2
unixize-e0fbb207e3a12e0eb8f4aa5434c9e6e59b1eaf29.tar.xz
unixize-e0fbb207e3a12e0eb8f4aa5434c9e6e59b1eaf29.tar.zst
unixize-e0fbb207e3a12e0eb8f4aa5434c9e6e59b1eaf29.zip
Merged branch 'go-full-stack' into 'trunk'
FossilOrigin-Name: 8fd267ef91d9730f365476e983c3e772ac8b104ccaf349ead656c0ebf308f283
-rw-r--r--.fossil-settings/ignore-glob4
-rw-r--r--src/c_unixize.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob
deleted file mode 100644
index ce0679b..0000000
--- a/.fossil-settings/ignore-glob
+++ /dev/null
@@ -1,4 +0,0 @@
-obj
-unixize
-git.sh
-compile_flags.txt
diff --git a/src/c_unixize.c b/src/c_unixize.c
index 880f0a4..2a0ed43 100644
--- a/src/c_unixize.c
+++ b/src/c_unixize.c
@@ -45,6 +45,8 @@
* This is the main function and entrypoint of the program.
*/
+#include <sys/param.h>
+
#include <dirent.h>
#include <errno.h>
#include <stdio.h>
@@ -69,6 +71,7 @@ main
struct opts_s opts;
int nargc;
char** nargv;
+ static char subpath[MAXPATHLEN];
if (c_get_opts(&opts, argc, argv) == FALSE) {
return (0);