From dccecd9bec76e6e007d7220cf4e31e3ca8b80102 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 31 Dec 2007 01:48:09 +0000 Subject: use pm_mkdir(), so it works on Windows git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@516 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/pnmindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/pnmindex.c b/editor/pnmindex.c index cb7d3702..04ac7f92 100644 --- a/editor/pnmindex.c +++ b/editor/pnmindex.c @@ -200,7 +200,7 @@ makeTempDir(const char ** const tempDirP) { asprintfN(&mytmpdir, "%s/pnmindex_%d", tmpdir, getpid()); - rc = mkdir(mytmpdir, 0700); + rc = pm_mkdir(mytmpdir, 0700); if (rc != 0) pm_error("Unable to create temporary file directory '%s'. mkdir() " "fails with errno %d (%s)", -- cgit 1.4.1