[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing program_name on Darwin
From: |
Richard W.M. Jones |
Subject: |
Re: Missing program_name on Darwin |
Date: |
Tue, 31 May 2016 10:44:13 +0100 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Tue, May 31, 2016 at 09:36:40AM +0000, Tobias Pflug wrote:
> Hi,
>
> quite some time ago there already was a discussion about the missing
> program_name symbol on Darwin and Richard proposed a patch [1] that would
> #define program_name as (((char **)*_NSGetArgv())[0]) but sadly the
> discussion died down without any result.
>
> In NixOS we are currently facing this problem again and are looking for a
> solution [2]. It would be great if this could be fixed inside gnulib itself.
> I hope I can revive the discussion around this to move this topic forward
> this time.
>
> Thanks and best regards,
> Tobias
>
> [1] https://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00079.html
I think Margaret is carrying that patch downstream for libguestfs now.
It would be nice to get this working in gnulib.
Rich.
> [2] https://github.com/NixOS/nixpkgs/issues/15849
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/