Rewrote the shell_escape function in order to make us of GString and g_string_append_c
commitfe95221f05e3cc4a80effdcb886768a9eb77efa7
authorPatrick Winnertz <winnie@debian.org>
Fri, 6 Feb 2009 13:32:09 +0000 (6 14:32 +0100)
committerPatrick Winnertz <winnie@debian.org>
Fri, 6 Feb 2009 13:32:09 +0000 (6 14:32 +0100)
tree4b6a2a688326edcb0f60ce83fc275d98a2b498d3
parente54f318cef911eab70753583be922c9ec35d531d
Rewrote the shell_escape function in order to make us of GString and g_string_append_c

As we decided to fully switch back to glb we needed to rewrite this function in order to use
glib functions. This means in this case mostly that *ptr = c; ptr++; is replaced by something
like this: g_string_append(str,c); with str a GString*.

Signed-off-by: Patrick Winnertz <winnie@debian.org>
src/util.c