absolutePathFromBaseFile: don't leak when first arg contains no "/"

* src/util/storage_file.c: Include "dirname.h".
(absolutePathFromBaseFile): Rewrite not to leak, and to require
fewer allocations.
* bootstrap (modules): Add dirname-lgpl.
* .gnulib: Update submodule to the latest.
This commit is contained in:
Jim Meyering
2010-02-04 16:55:57 +01:00
parent a7e80e6bfd
commit 53b7dae139
3 changed files with 10 additions and 19 deletions

View File

@@ -71,6 +71,7 @@ c-ctype
canonicalize-lgpl
close
connect
dirname-lgpl
getaddrinfo
gethostname
getpass