NetBSD-Bugs archive

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

Re: PR/42320 CVS commit: src/dist/nawk



On Nov 15, 10:11pm, david%l8s.co.uk@localhost (David Laight) wrote:
-- Subject: Re: PR/42320 CVS commit: src/dist/nawk

| On Sun, Nov 15, 2009 at 10:00:06PM +0000, Christos Zoulas wrote:
| > The following reply was made to PR bin/42320; it has been noted by GNATS.
| ...
| >  Modified Files:
| >     src/dist/nawk: main.c
| >  
| >  Log Message:
| >  PR/42320: Alexander Nasonov: According to:
| >  http://www.opengroup.org/onlinepubs/7990989775/xcu/awk.html
| >  the LC_NUMERIC decimal point recognized is always period. Make it so.
| 
| I'm not sure this DTRT, the above only refers to LC_NUMERIC in
| awk program/script files, not in the data files being processed.
| 
| Also you can't force the decimal point to be '.' without ensuring
| that the 1000s separator isn't also '.'.

So what should we do? Reset it after the program is parsed? What does
gawk do?

christos


Home | Main Index | Thread Index | Old Index