From 9a7c54c193f2e231b274f70df7b124e87db67676 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 2 May 2002 00:17:03 +0000 Subject: Documented this function as not necessarily stripping shell 2002-05-01 Christopher James Lahey * gal/util/e-util.c, gal/util/e-util.h (e_filename_make_safe): Documented this function as not necessarily stripping shell metacharacters. Fixes Ximian bug #21223. svn path=/trunk/; revision=16660 --- e-util/e-util.c | 1 + e-util/e-util.h | 1 + 2 files changed, 2 insertions(+) diff --git a/e-util/e-util.c b/e-util/e-util.c index 7a10d71b34..c6862ab8c5 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -946,6 +946,7 @@ e_strstrcase (const gchar *haystack, const gchar *needle) return NULL; } +/* This only makes a filename safe for usage as a filename. It still may have shell meta-characters in it. */ void e_filename_make_safe (gchar *string) { diff --git a/e-util/e-util.h b/e-util/e-util.h index 3df619a522..1c558f485e 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -149,6 +149,7 @@ gchar **e_strsplit (const g gint max_tokens); gchar *e_strstrcase (const gchar *haystack, const gchar *needle); +/* This only makes a filename safe for usage as a filename. It still may have shell meta-characters in it. */ void e_filename_make_safe (gchar *string); gchar *e_format_number (gint number); gchar *e_format_number_float (gfloat number); -- cgit