aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-05-02 08:17:03 +0800
committerChris Lahey <clahey@src.gnome.org>2002-05-02 08:17:03 +0800
commit9a7c54c193f2e231b274f70df7b124e87db67676 (patch)
treefd93e0143ad8329c76458fd7f056d63f79c90b7a /e-util
parent17c6af5d3eba8b31a08dfaad77bcd8e5a5a47513 (diff)
downloadgsoc2013-evolution-9a7c54c193f2e231b274f70df7b124e87db67676.tar
gsoc2013-evolution-9a7c54c193f2e231b274f70df7b124e87db67676.tar.gz
gsoc2013-evolution-9a7c54c193f2e231b274f70df7b124e87db67676.tar.bz2
gsoc2013-evolution-9a7c54c193f2e231b274f70df7b124e87db67676.tar.lz
gsoc2013-evolution-9a7c54c193f2e231b274f70df7b124e87db67676.tar.xz
gsoc2013-evolution-9a7c54c193f2e231b274f70df7b124e87db67676.tar.zst
gsoc2013-evolution-9a7c54c193f2e231b274f70df7b124e87db67676.zip
Documented this function as not necessarily stripping shell
2002-05-01 Christopher James Lahey <clahey@ximian.com> * 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
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-util.c1
-rw-r--r--e-util/e-util.h1
2 files changed, 2 insertions, 0 deletions
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);