GNU bug report logs - #24562
[PATCH] getprogname: port to OpenBSD 5.1

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Wed, 28 Sep 2016 18:29:01 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: bug-gnulib <at> gnu.org, 24562 <at> debbugs.gnu.org
Subject: bug#24562: [PATCH] getprogname: port to OpenBSD 5.1
Date: Wed, 28 Sep 2016 21:14:35 -0700
[Message part 1 (text/plain, inline)]
On Wed, Sep 28, 2016 at 11:28 AM, Jim Meyering <jim <at> meyering.net> wrote:
> FYI: grep (due to its use of the new getprogname module) would fail to
> configure on OpenBSD 5.1. I'll soon push this to gnulib and then
> update grep's gnulib submodule to latest to pull it in.

Glad I tested on Fedora 25-to-be. The above caused
program_invocation_short_name to always be the empty string. I fixed
it by declaring __progname only in the narrow/later case in which it
is required:
[gnulib-getprogname-do-not-break-fedora-25.diff (text/plain, attachment)]

This bug report was last modified 8 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.