[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 19/21] utimens: define HAVE_WORKING_UTIMES to 1 on OS/2 kLIBC

From: KO Myung-Hun
Subject: Re: [PATCH 19/21] utimens: define HAVE_WORKING_UTIMES to 1 on OS/2 kLIBC
Date: Wed, 03 Dec 2014 15:26:22 +0900
User-agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2


Paul Eggert wrote:
> KO Myung-Hun wrote:
>> +#ifdef __KLIBC__ /* fs doesn't to better than seconds, but we must
>> use futimes! */
>> +# define HAVE_WORKING_UTIMES 1
>> +#endif
> Sorry, I don't follow.
> Is the problem that kLIBC utimes operates on file systems whose time
> stamps resolution are 2 seconds?  I recall that this is a problem in
> older Microsoft file systems.  If so, we should change m4/utimes.m4 to
> use even time stamps in its test, rather than odd ones, so that
> HAVE_WORKING_UTIMES is defined on kLIBC and we don't need to change
> lib/utimens.c.
> If it's some other problem, then what is the problem?

I've looked into utimes(), and got some results.

First, OS/2 itself does not support a file date before 1980 year.

Second, OS/2 itself supports even number seconds.

Finally, kLIBC utimes() does not work on a file which is opened due to
'Permission denied'.

If this is acceptable, I'll send a patch.

KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr

reply via email to

[Prev in Thread] Current Thread [Next in Thread]