Bug#375688: Bug in iso-codes: iso3166-2.xml contains invalid entries

2006-07-26 Thread Ulrich Mueller
Hello,

I came across bug #375688 because I had discovered the wrong entry
DE-BR for Berlin in iso-codes.

While I agree that DE-BR should be changed to DE-BE, I believe
that the following hunk from the proposed patch is not correct:

1748c1748
   code=DE-BBname=Brandenburg /
---
   code=DE-BRname=Brandenburg /

Unfortunately, I don't have access to the standard ISO 3166-2.
However, the following reference claims that the code for Brandenburg
is DE-BB:
http://www.ddb.de/eng/standardisierung/normdateien/lc2_04.htm

Regards,
Ulrich


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



Bug#375688: Bug in iso-codes: iso3166-2.xml contains invalid entries

2006-07-27 Thread Ulrich Mueller
 thanks for the patch and the additional hints about the ISO 3166-2 XML file. 
 I've verified that the most part of the patch is indeed correct, except the 
 code DE-BR for Brandenburg. All other corrections have been applied to 
 the SVN repository and will appear in the next release.

Hello Tobias,

shouldn't the changes be reflected in iso_3166_2.tab, too?
They seem to be in the XML file only.

Regards,
Ulrich


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



Bug#475683: libpaper has imprecise definition of DL format

2008-04-12 Thread Ulrich Mueller
Package: libpaper
Version: 1.1.23
Severity: minor
Tags: patch

The DL (DIN lang) format is defined by ISO 269 as 110 mm * 220 mm.
However, libpaper contains a slightly different definition:

   $ paperconf -s -m DL
   110.067 mm 220.133 mm

--- lib/paperspecs~ 2004-10-23 11:53:15.0 +0200
+++ lib/paperspecs  2008-04-12 11:59:20.0 +0200
@@ -40,7 +40,7 @@
 c6 114 162 mm
 c7 81 114 mm
 c8 57 81 mm
-DL 312 624
+DL 110 220 mm
 Comm10 297 684
 Monarch 279 540
 archE 2592 3456



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



Bug#496840: pinfo cannot display texinfo info files, info can

2010-10-12 Thread Ulrich Mueller
Hi,
Gentoo has encountered the same problem:
http://bugs.gentoo.org/show_bug.cgi?id=306445#c7

Another related issue is that files beginning with the string dir
cannot be opened, e.g. dired-x (which is included with emacs):
http://bugs.gentoo.org/show_bug.cgi?id=340697

Attached are two patches that should fix these issues. (They are
against pinfo-0.6.9, but can be cleanly applied for 0.6.10 too.)

--- pinfo-0.6.9-orig/src/filehandling_functions.c
+++ pinfo-0.6.9/src/filehandling_functions.c
@@ -96,11 +96,14 @@ matchfile(char **buf, char *name)
{
/* use strcat rather than strdup, because xmalloc handles all 
 * malloc errors */
-   char *thisfile = xmalloc(strlen(dp-d_name)+1);
+   int len = strlen(dp-d_name)+1;
+   char *thisfile = xmalloc(len * 2);
+   char *thisfile_info = thisfile + len;
strcat(thisfile, dp-d_name);
 
/* strip suffixes (so gcc.info.gz - gcc) */
strip_compression_suffix(thisfile);
+   strcat(thisfile_info, thisfile);
strip_info_suffix(thisfile);
 
/* compare this file with the file we're looking for */
@@ -109,8 +112,7 @@ matchfile(char **buf, char *name)
/* we found a match! */
matched++;
/* put it in the buffer */
-   strncat(Buf, thisfile, 1023-strlen(Buf));
-   strncat(Buf, .info, 1023-strlen(Buf));
+   strncat(Buf, thisfile_info, 1023-strlen(Buf));
 
/* clean up, and exit the loop */
xfree(thisfile);
--- pinfo-0.6.9-orig/src/filehandling_functions.c
+++ pinfo-0.6.9/src/filehandling_functions.c
@@ -742,7 +742,7 @@
int i, j;
char *tmpfilename;
 
-   if (strncmp(filename, dir, 3) == 0)
+   if (strncmp(filename, dir, 3) == 0  !isalnum(filename[3]))
{
xfree(buf);
return opendirfile(number);


Bug#705152: Non-free code in xgraph? [copyright.h and derivative.c for starters.]

2014-01-19 Thread Ulrich Mueller
Any progress here?
Today it's one year since I sent my first message.

Ulrich


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#919356: Licensing of include/linux/hash.h

2019-02-11 Thread Ulrich Mueller
>>>>> On Mon, 11 Feb 2019, Ulrich Mueller wrote:

>>>>> On Mon, 11 Feb 2019, Domenico Andreoli wrote:
>> On Mon, Feb 11, 2019 at 12:08:32AM +0100, Kristian Fiskerstrand wrote:
>>> It was [pointed out] by one of our license group that [hash.h]  is the
>>> same that has a GPL-2+ in [fio] which has a signed-off-by.
>>> 
>>> References:
>>> [pointed out]
>>> https://bugs.gentoo.org/677586#c1
>>> 
>>> [hash.h]
>>> https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio.git/commit/hash.h?id=bdc7211e190482f0c17c109a0d90834a6611be1c

>> Yes, the Signed-off-by is from Jens Axboe (in CC) but he's not the
>> original author, I guess he just copied the file as Arnaldo did. The
>> file he committed has not any reference to the license.

>>> [fio]
>>> https://metadata.ftp-master.debian.org/changelogs/main/f/fio/fio_3.12-2_copyright

>> I'm afraid that this entry in wrong. I'll seek confirmation with
>> Martin Steigerwald.

> Not sure if this will help, but hash.h originally appeared in
> Linux 2.5.7. In the following commit one can see that most of its code
> was moved or copied from mm/filemap.c:
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/?id=882ad449046cec136c484dd2b3659fb4c683e0a3

> filemap.c has a copyright line by Linus, but git blame shows that
> the relevant code was added in 2002 with a commit by Rik van Riel:
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/?id=e5191c50d12621e04f8bc247dcb6a0f4ad76ae26

> The relevant thread in LKML is here:
> https://lkml.org/lkml/2002/2/18/1970

Sorry, that link should read:
https://lkml.org/lkml/2002/2/18/197



Bug#919356: Licensing of include/linux/hash.h

2019-02-11 Thread Ulrich Mueller
> On Mon, 11 Feb 2019, Domenico Andreoli wrote:

> On Mon, Feb 11, 2019 at 12:08:32AM +0100, Kristian Fiskerstrand wrote:
>> It was [pointed out] by one of our license group that [hash.h]  is the
>> same that has a GPL-2+ in [fio] which has a signed-off-by.
>> 
>> References:
>> [pointed out]
>> https://bugs.gentoo.org/677586#c1
>> 
>> [hash.h]
>> https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio.git/commit/hash.h?id=bdc7211e190482f0c17c109a0d90834a6611be1c

> Yes, the Signed-off-by is from Jens Axboe (in CC) but he's not the
> original author, I guess he just copied the file as Arnaldo did. The
> file he committed has not any reference to the license.

>> [fio]
>> https://metadata.ftp-master.debian.org/changelogs/main/f/fio/fio_3.12-2_copyright

> I'm afraid that this entry in wrong. I'll seek confirmation with
> Martin Steigerwald.

Not sure if this will help, but hash.h originally appeared in
Linux 2.5.7. In the following commit one can see that most of its code
was moved or copied from mm/filemap.c:
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/?id=882ad449046cec136c484dd2b3659fb4c683e0a3

filemap.c has a copyright line by Linus, but git blame shows that
the relevant code was added in 2002 with a commit by Rik van Riel:
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/?id=e5191c50d12621e04f8bc247dcb6a0f4ad76ae26

The relevant thread in LKML is here:
https://lkml.org/lkml/2002/2/18/1970

Ulrich