Package: gtkdiff
Version: 1.8.0-2
Severity: normal

Make two files to compare:

    % echo "hello world" > /tmp/dummyfile.old
    % echo "hello worldy" > /tmp/dummyfile.new

...and good 'ol 'gtkdiff' works fine with them:

    % gtkdiff /tmp/dummyfile.old /tmp/dummyfile.new

But not when, by mistake, you leave out the last letter "w":

    % gtkdiff /tmp/dummyfile.old /tmp/dummyfile.ne ; echo $?

    ** WARNING **: /tmp/dummyfile.ne: stat in check_filetype()

    GLib-WARNING **: g_printf_string_upper_bound(): unable to handle positional 
parameters (%n$)

    GLib-WARNING **: g_printf_string_upper_bound(): unable to handle positional 
parameters (%n$)

Then 'gtkdiff' pops up, empty, with a vague message box that says:

    Warning
    (!) you can't compare /tmp/dummyfile.old and /tmp/dummyfile.ne.
                [ OK ]

...and when you close 'gtkdiff' the error code is:

    0

It'd be better of 'gtkdiff' didn't start up, and showed a command line
error, (or maybe a box, if it did start up), that said something more
precise like:

    Error: can't find '/tmp/dummyfile.ne'.  

...and returned a proper error code.

Hope this helps...





-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages gtkdiff depends on:
ii  gdk-imlib1               1.9.14-16.2     imaging library for use with gtk (
ii  libart2                  1.4.2-20        The GNOME canvas widget - runtime 
ii  libaudiofile0            0.2.6-6         Open-source version of SGI's audio
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libdb3                   3.2.9-22        Berkeley v3 Database Libraries [ru
ii  libesd-alsa0 [libesd0]   0.2.35-2.1      Enlightened Sound Daemon (ALSA) - 
ii  libglib1.2               1.2.10-10       The GLib library of C routines
ii  libgnome32               1.4.2-20        The GNOME libraries
ii  libgnomesupport0         1.4.2-20        The GNOME libraries (Support libra
ii  libgnomeui32             1.4.2-20        The GNOME libraries (User Interfac
ii  libgtk1.2                1.2.10-17       The GIMP Toolkit set of widgets fo
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu

gtkdiff recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to