projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7ba50c
)
Don't try to create "" directories
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 9 Jan 2009 13:05:40 +0000
(15:05 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 9 Jan 2009 13:05:40 +0000
(15:05 +0200)
rpmio/rpmfileutil.c
patch
|
blob
|
history
diff --git
a/rpmio/rpmfileutil.c
b/rpmio/rpmfileutil.c
index
feb799a
..
5e47db4
100644
(file)
--- a/
rpmio/rpmfileutil.c
+++ b/
rpmio/rpmfileutil.c
@@
-284,7
+284,7
@@
int rpmioMkpath(const char * path, mode_t mode, uid_t uid, gid_t gid)
char *d, *de;
int rc;
- if (path == NULL)
+ if (path == NULL
|| *path == '\0'
)
return -1;
d = rstrcat(NULL, path);
if (d[strlen(d)-1] != '/') {