Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200823115618.79dac5e1@inria.fr>
Date: Sun, 23 Aug 2020 11:56:18 +0200
From: Jens Gustedt <jens.gustedt@...ia.fr>
To: musl@...ts.openwall.com
Subject: Re: direct coding of asctime_r

Alexander,
for simplicity I attach what I have.

on Sun, 23 Aug 2020 12:33:30 +0300 (MSK) you (Alexander Monakov
<amonakov@...ras.ru>) wrote:

> Do I understand correctly that this 10k figure is for an "application"
> that does not use stdio at all otherwise?

It just uses unformatted IO, namely `puts`.

> If so, I believe that is a
> quite unrealistic test — why would an application use asctime_r but
> then avoid use of stdio to do something useful with the result?

Just dumping a time stamp to a file e.g.

Jens

-- 
:: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536   ::
:: :::::::::::::::::::::: gsm France : +33 651400183   ::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

View attachment "test-asctime.c" of type "text/x-c++src" (2045 bytes)

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.