Util-Linux Archive on lore.kernel.org
 help / color / Atom feed
From: Karel Zak <kzak@redhat.com>
To: J William Piggott <elseifthen@gmx.com>, util-linux@vger.kernel.org
Subject: Re: settimeofday() portability in hwclock
Date: Fri, 22 May 2020 11:53:08 +0200
Message-ID: <20200522095308.tqgp37hen2zvcj3r@ws.net.home> (raw)
In-Reply-To: <20200511121954.pi5wpbwxqtli7gha@ws.net.home>

On Mon, May 11, 2020 at 02:19:58PM +0200, Karel Zak wrote:
>  please, review this patch. It seems we need to somehow hide libc
>  maintainers' creativity as settimeofday() have different behavior on
>  different libcs ;-) For example musl-C completely ignores TZ.
>  I'd like to keep the current structure of our code (IMHO it's pretty
>  readable now), so I have  introduced  __set_time() and __set_timezone()
>  to hide the portability issues.



 Karel Zak  <kzak@redhat.com>

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 12:19 Karel Zak
2020-05-22  9:53 ` Karel Zak [this message]

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:

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

  git send-email \
    --in-reply-to=20200522095308.tqgp37hen2zvcj3r@ws.net.home \
    --to=kzak@redhat.com \
    --cc=elseifthen@gmx.com \
    --cc=util-linux@vger.kernel.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Util-Linux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
	public-inbox-index util-linux

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git