bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19874: 25.0.50; encode-time not working as expected


From: Paul Eggert
Subject: bug#19874: 25.0.50; encode-time not working as expected
Date: Thu, 26 Feb 2015 22:38:31 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Ashish SHUKLA wrote:
So, looks like you're right it only happens with X11 (Gtk3) build

Possibly the Gtk3 code calls 'setenv', and this collides with Emacs's implementation of putenv.

Emacs's putenv implementation should be portable to any POSIX platform, but FreeBSD 10.1 getenv+setenv has a bug. The attached program should work on any POSIX platform, and it does work on GNU/Linux and on Solaris, but it doesn't work on FreeBSD 10.1. Emacs has similar code, which apparently also runs afoul of the FreeBSD bug.

Attachment: putenv-test.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]