Tags 364275 + pending
Tags 368849 + pending
Thanks

I have prepared a package that fixes this bug, and I intend to upload it
as an NMU.

The patch is very simple (it's the one mentioned at the sourceforge page),
and fixes the problem as was reported.  This bug has been reported as
important, but I think it should actually have been serious, since it
renders most of the package unusable.

Therefore, I'm only going to upload to the 3-day delayed queue.  I'm
attaching the full interdiff output for the package that I'll be uploading.
As you can see, it's really simple.

-- 
Love,
        Marga.
diff -u gentoo-0.11.55/debian/changelog gentoo-0.11.55/debian/changelog
--- gentoo-0.11.55/debian/changelog
+++ gentoo-0.11.55/debian/changelog
@@ -1,3 +1,12 @@
+gentoo (0.11.55-1.1) unstable; urgency=low
+
+  * Non-maintainer upload to fix failure to operate with files.
+  * Applied the suggested patch to fix the problem when dealing with files,
+    when a locale is set. Thanks to Anders Lageras for the link to the patch. 
+    (Closes: #368849, #364275).
+
+ -- Margarita Manterola <[EMAIL PROTECTED]>  Mon, 14 Aug 2006 19:21:36 -0300
+
 gentoo (0.11.55-1) unstable; urgency=low
 
   * New upstream version, closes: #291688. The config.{guess,sub} files in
only in patch2:
unchanged:
--- gentoo-0.11.55.orig/src/window.c
+++ gentoo-0.11.55/src/window.c
@@ -579,7 +579,7 @@
 #if defined ENABLE_NLS
        gchar           obuf[256];      /* Buffer, subsequent setlocale() call 
kills it otherwise. */
        const gchar     *op;
-
+       int old_errno = errno;  /* Buffer the errno, so any errors here don't 
leak out. */
        /* Get current locale, before slamming "C" in there. */
        if((op = setlocale(LC_ALL, NULL)) != NULL)
        {
@@ -596,6 +596,7 @@
 #if defined ENABLE_NLS
        if(op != NULL)
                setlocale(LC_ALL, obuf);
+       errno = old_errno; /* Restore the errno, ignoring any errors that might 
have happened here. */
 #endif
 }
 

Attachment: signature.asc
Description: Digital signature

Reply via email to