Package: xchat
Version: 2.6.8-0.3
Severity: normal
Tags: patch

When saving the url grabber log, xchat tries to open the selected file
below ~/.xchat2/ with full path
(e.g. /home/user/.xchat2/home/user/urlgrab.log instead of
/home/user/urlgrab.log)

Fix attached.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xchat depends on:
ii  libatk1.0-0               1.12.3-1       The ATK accessibility toolkit
ii  libc6                     2.3.6.ds1-8    GNU C Library: Shared libraries
ii  libcairo2                 1.2.4-4        The Cairo 2D vector graphics libra
ii  libdbus-1-3               1.0.2-1        simple interprocess messaging syst
ii  libdbus-glib-1-2          0.71-3         simple interprocess messaging syst
ii  libfontconfig1            2.4.1-2        generic font configuration library
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libglib2.0-0              2.12.4-2       The GLib library of C routines
ii  libgtk2.0-0               2.8.20-3       The GTK+ graphical user interface 
ii  libpango1.0-0             1.14.8-3       Layout and rendering of internatio
ii  libperl5.8                5.8.8-7        Shared Perl library
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libsexy2                  0.1.10-1       collection of additional GTK+ widg
ii  libssl0.9.8               0.9.8c-4       SSL shared libraries
ii  libx11-6                  2:1.0.3-4      X11 client-side library
ii  libxcursor1               1.1.7-4        X cursor management library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxfixes3                1:4.0.1-5      X11 miscellaneous 'fixes' extensio
ii  libxi6                    1:1.0.1-4      X11 Input extension library
ii  libxinerama1              1:1.0.1-4.1    X11 Xinerama extension library
ii  libxml2                   2.6.27.dfsg-1  GNOME XML library
ii  libxrandr2                2:1.1.0.2-5    X11 RandR extension library
ii  libxrender1               1:0.9.1-3      X Rendering Extension client libra
ii  python2.4                 2.4.4-1        An interactive high-level object-o
ii  tcl8.4                    8.4.12-1.1     Tcl (the Tool Command Language) v8
ii  xchat-common              2.6.8-0.3      Common files for X-Chat
ii  zlib1g                    1:1.2.3-13     compression library - runtime

xchat recommends no packages.

-- no debconf information
--- src/common/url.c.orig       2007-01-04 10:34:47.000000000 +0100
+++ src/common/url.c    2007-01-04 10:33:56.000000000 +0100
@@ -59,7 +59,7 @@
 {
        FILE *fd;
 
-       fd = xchat_fopen_file (fname, mode, 0);
+       fd = xchat_fopen_file (fname, mode, XOF_FULLPATH);
        if (fd == NULL)
                return;
 

Reply via email to