NetBSD-Users archive

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

Re: rc.d problem



On Fri, Jan 18, 2019 at 04:42:32PM +0300, Dima Veselov wrote:
> On Fri, Jan 18, 2019 at 02:16:31PM +0100, Martin Husemann wrote:
> > On Fri, Jan 18, 2019 at 04:07:06PM +0300, Dima Veselov wrote:
> > > I have completely no idea why 8.0-STABLE can't take non-integer value.
> > Is there a locale issu involved?
> 
> Ahh, magician, how did you got this??? Unbelievable.

I had a discussion with youri about mate-calculator and the decimal
separator earlier today ;-)

> [root@ranir ~]$ export LC_ALL=C
> [root@ranir ~]$ sleep 0.05
> [root@ranir ~]$ export LC_ALL=ru_RU.UTF-8
> [root@ranir ~]$ sleep 0.05
> usage: sleep seconds
> [root@ranir ~]$ sleep 0,05
> [root@ranir ~]$ 
> 
> That means it also work wrong in 8.0.

I think we should set LC_NUMERIC=C in rc.subr or something like that.

Martin


Home | Main Index | Thread Index | Old Index