Hey,
On Thu, Jul 12, 2007 at 10:24:03AM +0200, Patrick Georgi wrote:
+int mkdirp(const char *parent, const char *dirpath, mode_t mode)
conflicts with: (where libgen is a compatibility dummy in solaris 10 at least, deferring that object to libc, so it always conflicts)
int mkdirp(const char *path, mode_t mode);
Thanks!
New patch, rename mkdirp() to mkdirp_below(). :)
I just had a thought; parent and dirpath are currently treated as either absolute or relative cwd but perhaps dirpath should always be treated as absolute or relative parent instead?
mkdirp_below("subdir","x/y/z",077);
would create subdir/x/y/z. Feels much more intuitive, no?
//Peter