pkgsrc/lang/libtcl-nothread/patches/patch-ah
2015-12-29 23:34:43 +00:00

21 lines
504 B
Text

$NetBSD: patch-ah,v 1.2 2015/12/29 23:34:50 dholland Exp $
Add TclpCreateDirectory.
--- tclUnixFCmd.c.orig 2003-10-03 19:45:37.000000000 +0200
+++ tclUnixFCmd.c
@@ -561,6 +561,14 @@ TclpDeleteFile(path)
*---------------------------------------------------------------------------
*/
+/* Reintroduced here for the benefit of scotty */
+int
+TclpCreateDirectory(path)
+ CONST char *path;
+{
+ return DoCreateDirectory(path);
+}
+
int
TclpObjCreateDirectory(pathPtr)
Tcl_Obj *pathPtr;