Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1299348 > unrolled thread

Bug#1140537: licenserecon: mishandles wildcards

Started byJulian Andres Klode <jak@debian.org>
First post2026-06-22 12:30 +0200
Last post2026-06-22 22:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1140537: licenserecon: mishandles wildcards Julian Andres Klode <jak@debian.org> - 2026-06-22 12:30 +0200
    Bug#1140537: licenserecon: handles wildcards Peter Blackman <peter@pblackman.plus.com> - 2026-06-22 13:10 +0200
      Bug#1140537: licenserecon: mishandles multiple wildcards Peter Blackman <peter@pblackman.plus.com> - 2026-06-22 22:20 +0200

#1299348 — Bug#1140537: licenserecon: mishandles wildcards

FromJulian Andres Klode <jak@debian.org>
Date2026-06-22 12:30 +0200
SubjectBug#1140537: licenserecon: mishandles wildcards
Message-ID<N8K4G-eNIm-11@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: licenserecon
Version: 17.0
Severity: normal

Wildcards like * and ? match / in the specification, yet
the attached test case produces a mismatch:

Expat            | Apache-2.0        a/b/test.c

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

[toc] | [next] | [standalone]


#1299351 — Bug#1140537: licenserecon: handles wildcards

FromPeter Blackman <peter@pblackman.plus.com>
Date2026-06-22 13:10 +0200
SubjectBug#1140537: licenserecon: handles wildcards
Message-ID<N8KHo-eOdw-29@gated-at.bofh.it>
In reply to#1299348
On 22/06/2026 11:26, Julian Andres Klode wrote:
> Package: licenserecon
> Version: 17.0
> Severity: normal
> 
> Wildcards like * and ? match / in the specification, yet
> the attached test case produces a mismatch:
> 
> Expat            | Apache-2.0        a/b/test.c
> 

Hi Julian,

licenserecon handles wildcards using /usr/bin/ls
 From your example:

ls */*.c
ls: cannot access '*/*.c': No such file or directory

However;
ls */*/*.c
a/b/test.c

ISTM that it's your test copyright that mishandles wildcards ;-)

Cheers,
Peter

[toc] | [prev] | [next] | [standalone]


#1299391 — Bug#1140537: licenserecon: mishandles multiple wildcards

FromPeter Blackman <peter@pblackman.plus.com>
Date2026-06-22 22:20 +0200
SubjectBug#1140537: licenserecon: mishandles multiple wildcards
Message-ID<N8ThD-5aT-1@gated-at.bofh.it>
In reply to#1299351
On second thoughts, I realise you are correct here.

DEP-5 spec says; ...

"Both [wildcards] match slashes (/) and leading dots, unlike shell globs.
The pattern *.in therefore matches any file whose name ends in .in anywhere in the source tree,
not just at the top level."

See also https://bugs.debian.org/1086136

With your example file
Files: a/*.c

would work with lrc as it stands.
But if there are multiple asterisks in the Files: field
lrc currently reverts to a shell glob.

Are you having issues with a particular package that I could look at?

Regards,
Peter

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web