Re: updated: [fe95221] Rewrote the shell_escape function in order to make us of GString and g_string_append_c
On Tue, Feb 10, 2009 at 12:49:57PM +0100, Patrick Winnertz wrote: > Rewrote the shell_escape function in order to make us of GString and > g_string_append_c > glib has functions for shell (un-)escaping. did you look at those? ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: updated: [fe95221] Rewrote the shell_escape function in order to make us of GString and g_string_append_c
2009/2/10 Oswald Buddenhagen > On Tue, Feb 10, 2009 at 12:49:57PM +0100, Patrick Winnertz wrote: > > Rewrote the shell_escape function in order to make us of GString and > g_string_append_c > > > glib has functions for shell (un-)escaping. did you look at those? > > ___ > Mc-devel mailing list > http://mail.gnome.org/mailman/listinfo/mc-devel > Yes, we have a look at the escape function from Glib, but it doesn't do all the work we need in. ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: updated: [fe95221] Rewrote the shell_escape function in order to make us of GString and g_string_append_c
Am Dienstag 10 Februar 2009 13:38:26 schrieb Oswald Buddenhagen: > On Tue, Feb 10, 2009 at 12:49:57PM +0100, Patrick Winnertz wrote: > > Rewrote the shell_escape function in order to make us of GString and > > g_string_append_c > > glib has functions for shell (un-)escaping. did you look at those? Yepp.. indeed. But these functions don't have all the features we needed. Thanks however for your hint. Greetings Winnie -- . '' ` . Patrick Winnertz : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~winnie - http://www.der-winnie.de `- Debian - when you have better things to do than fixing systems signature.asc Description: This is a digitally signed message part. ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: updated: [fe95221] Rewrote the shell_escape function in order to make us of GString and g_string_append_c
* Patrick Winnertz schrieb: > The following commit has been merged in the master branch: > commit fe95221f05e3cc4a80effdcb886768a9eb77efa7 > Author: Patrick Winnertz > Date: Fri Feb 6 14:32:09 2009 +0100 > > 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*. Am I the only one who sees how *stupid* this is ? Well, this is an good example of that crap I do NOT want to get along with and why I was forced to do my own fork ... cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel