[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs pretest 28.0.90 is out
From: |
Eli Zaretskii |
Subject: |
Re: Emacs pretest 28.0.90 is out |
Date: |
Thu, 09 Dec 2021 12:41:18 +0200 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 09 Dec 2021 18:31:19 +0800
>
> > As for the rest, my recommendation is to implement futimens based on
> > DJGPP's setftime.
>
> Thanks, but I'm confused with the DJGPP `struct ftime': do I have to
> take leap years and the different lengths of each month into account
> when setting the various members of a `struct ftime' from a time_t?
No, you don't. You just populate these fields from the time value.
> Alternatively, is there some function I overlooked that populates
> `struct ftime' from time_t?
Not directly, but you could use localtime to obtain a 'struct tm',
then populate 'struct ftime' from that, with the necessary
adjustments.
- Re: Emacs pretest 28.0.90 is out, (continued)
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/06
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/06
- Re: Emacs pretest 28.0.90 is out, Eli Zaretskii, 2021/12/07
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/07
- Re: Emacs pretest 28.0.90 is out, Eli Zaretskii, 2021/12/08
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/08
- Re: Emacs pretest 28.0.90 is out, Eli Zaretskii, 2021/12/08
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/08
- Re: Emacs pretest 28.0.90 is out, Eli Zaretskii, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/09
- Re: Emacs pretest 28.0.90 is out,
Eli Zaretskii <=
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Eli Zaretskii, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Eli Zaretskii, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Eli Zaretskii, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Po Lu, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Eli Zaretskii, 2021/12/09
- Re: Emacs pretest 28.0.90 is out, Eli Zaretskii, 2021/12/09