mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: vlse <vlse@veera.biz>
Cc: musl@lists.openwall.com
Subject: Re: Error in interpreting posix timezone TZ environment variable by musl-libc
Date: Wed, 8 Oct 2014 23:29:24 -0400	[thread overview]
Message-ID: <20141009032923.GU23797@brightrain.aerifal.cx> (raw)
In-Reply-To: <20141009032338.GA2354@localhost>

On Thu, Oct 09, 2014 at 08:53:38AM +0530, vlse wrote:
> Well, patch didn't apply cleanly to musl-1.0.3, but I patched it
> manually and compiled. It's fixed. Now musl correctly interprets
> posix TZ environment variables like TZ="IST-5:30".

Thanks for the report. I'll commit the changes.

> Also to note
> error occurs only when asctime program is staticly compiled not when
> compiled with shared musl library

I suspect you might have something wrong with your toolchain that's
causing dynamic linking to use the wrong libc. There's no reason the
dynamic libc.so should have been unaffected, so I think you might have
been using glibc or something else for dynamic linking...

Rich


  reply	other threads:[~2014-10-09  3:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-08 19:44 vlse
2014-10-08 20:59 ` Rich Felker
2014-10-08 21:11   ` Rich Felker
2014-10-09  3:23     ` vlse
2014-10-09  3:29       ` Rich Felker [this message]
2014-10-09  6:03         ` vlse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141009032923.GU23797@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    --cc=vlse@veera.biz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).