summaryrefslogtreecommitdiff
path: root/development/opencomal/patches/04-mkdir.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-12-11 20:03:09 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-16 07:32:03 +0700
commitc21cc4e428899d1db364beaff51fb26ae65d6708 (patch)
treef6997cc54b715657040594d11e56b1e114c0260c /development/opencomal/patches/04-mkdir.diff
parent2f57a1d6a53e01675e43d0583001bf414b96c5a7 (diff)
downloadslackbuilds-c21cc4e428899d1db364beaff51fb26ae65d6708.tar.gz
development/opencomal: Added (interpreter for Comal).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/opencomal/patches/04-mkdir.diff')
-rw-r--r--development/opencomal/patches/04-mkdir.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/development/opencomal/patches/04-mkdir.diff b/development/opencomal/patches/04-mkdir.diff
new file mode 100644
index 0000000000..47e94354f9
--- /dev/null
+++ b/development/opencomal/patches/04-mkdir.diff
@@ -0,0 +1,12 @@
+diff -Naur opencomal-0.2.6/src/pdclinux.c opencomal-0.2.6.patched/src/pdclinux.c
+--- opencomal-0.2.6/src/pdclinux.c 2002-11-30 03:40:20.000000000 -0500
++++ opencomal-0.2.6.patched/src/pdclinux.c 2017-12-10 17:48:17.357208824 -0500
+@@ -486,7 +486,7 @@
+
+ PUBLIC void sys_mkdir(char *dir)
+ {
+- if (!mkdir(dir,0777)<0)
++ if (mkdir(dir,0777)<0)
+ run_error(DIR_ERR,strerror(errno));
+ }
+