From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#19874: 25.0.50; encode-time not working as expected Date: Thu, 26 Feb 2015 21:13:40 -0800 Organization: UCLA Computer Science Department Message-ID: <54EFFD04.20304@cs.ucla.edu> References: <54EE0959.5080901@cs.ucla.edu> <86zj8188s4.fsf@chateau.d.if> <54EEDBDD.9090009@cs.ucla.edu> <86y4nkslz4.fsf@chateau.d.if> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1425014067 2798 80.91.229.3 (27 Feb 2015 05:14:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2015 05:14:27 +0000 (UTC) Cc: 19874@debbugs.gnu.org To: Ashish SHUKLA Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 06:14:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YRDFe-00073Z-F4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Feb 2015 06:14:14 +0100 Original-Received: from localhost ([::1]:33940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRDFd-0002PZ-Fp for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Feb 2015 00:14:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRDFY-0002Ld-Tu for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 00:14:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRDFS-0000Ut-PJ for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 00:14:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRDFS-0000Uh-Md for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 00:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YRDFS-0004U5-6i for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 00:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Feb 2015 05:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19874-submit@debbugs.gnu.org id=B19874.142501403417215 (code B ref 19874); Fri, 27 Feb 2015 05:14:02 +0000 Original-Received: (at 19874) by debbugs.gnu.org; 27 Feb 2015 05:13:54 +0000 Original-Received: from localhost ([127.0.0.1]:59169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRDFJ-0004Tb-LC for submit@debbugs.gnu.org; Fri, 27 Feb 2015 00:13:53 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:58345) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRDFH-0004TO-FM for 19874@debbugs.gnu.org; Fri, 27 Feb 2015 00:13:52 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 3099DA6001B; Thu, 26 Feb 2015 21:13:45 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LC-be+KDUBH6; Thu, 26 Feb 2015 21:13:44 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id CE7ABA60015; Thu, 26 Feb 2015 21:13:44 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <86y4nkslz4.fsf@chateau.d.if> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99855 Archived-At: Ashish SHUKLA wrote: > set_time_zone_rule ("Asia/Kolkata"); tzval = "TZ=Asia/Kolkata"; getenv ("TZ") -> (null) This confirms that there's something wrong with set_time_zone_rule and/or getenv; the former is supposed to set the environment variable TZ to "Asia/Kolkata", but getenv ("TZ") returns NULL. Can you run GDB and see why getenv is failing there?