aboutsummaryrefslogtreecommitdiffstats
path: root/util/fileutil.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-11-06 22:51:44 +0000
committerDavid Shaw <[email protected]>2002-11-06 22:51:44 +0000
commitd771dd272dbb29ff076e4506045105931e015354 (patch)
treec35d4dce6219275ba5f130451784779ba6a34690 /util/fileutil.c
parent* util.h: Add wipememory2() macro (same as wipememory, but can specify the (diff)
downloadgnupg-d771dd272dbb29ff076e4506045105931e015354.tar.gz
gnupg-d771dd272dbb29ff076e4506045105931e015354.zip
* w32reg.c (read_w32_registry_string): Fixed expanding of the environment
buffer; didn't worked at all. Reported by Thijmen Klok. From Werner on stable branch. * secmem.c (secmem_free, secmem_term): Use wipememory2() instead of memset() to overwrite secure memory * iobuf.c (direct_open): Handle mode 'b' if O_BINARY is available. From Werner on stable branch. * fileutil.c: Comment from stable branch.
Diffstat (limited to 'util/fileutil.c')
-rw-r--r--util/fileutil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/fileutil.c b/util/fileutil.c
index 92dbc9ef6..14be8b698 100644
--- a/util/fileutil.c
+++ b/util/fileutil.c
@@ -89,10 +89,10 @@ make_dirname(const char *filepath)
-/****************
- * Construct a filename from the NULL terminated list of parts.
- * Tilde expansion is done here.
- */
+/*
+ Construct a filename from the NULL terminated list of parts. Tilde
+ expansion is done here. Note that FIRST_PART must never be NULL and
+ that this function is guaranteed to return an allocated string. */
char *
make_filename( const char *first_part, ... )
{