ktsuss 1.2 released

Enrico Tröger enrico.troeger at uvena.de
Tue Sep 11 16:06:04 CEST 2007


On Mon, 3 Sep 2007 20:47:47 -0300, "David B. Cortarello"
<nomius at users.berlios.de> wrote:

> I spoke here once about ktsuss (a graphical version of su) as an
> alternative to gksu.
> Today I just released version 1.2. If anyone wants to download it,
> this is the place to do it:

Great work.
Anyway, while compiling I noticed a couple of compiler warnings, so I
took a look at the code and fixed the warnings as well as some other
things. Please find the attached patch.

Changes:
- added missing header files to avoid compiler warnings
- removed unused variables
- don't use deprecated gtk_exit, use (g)libc's exit() instead
- rewrote error message code a bit

Code like
gtk_exit(2+0*fprintf(stderr, "Command not found\n"));
is just ugly, isn't it? When reading such code, I understand why people
are always saying C is an awful language. I rewrote the code for better
readability.

Btw, did you though about using gettext for i18n?

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ktsuss.patch
Type: text/x-diff
Size: 2464 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070911/4c0d11b0/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070911/4c0d11b0/attachment.pgp>


More information about the Xfce4-dev mailing list