Opened 10 years ago

Last modified 9 years ago

#1394 reopened task

check possible issues with locale inconsistency

Reported by: dlove Owned by: Dave Love <…>
Priority: normal Milestone:
Component: sge Version: 8.1.3
Severity: minor Keywords:


There's currently no consideration of possible problems with
inconsistent locales on different hosts. The most likely source of
problems is floating point data suffering if sent between hosts with
different LC_NUMERIC (e.g. French v. English decimal points). There
might be problems with LC_TIME, but I don't think locale-specific
date/time is currently printed (unfortunately for US/rest-of-world
confusion on ambiguity in date format).

Change History (4)

comment:1 Changed 9 years ago by Dave Love <…>

  • Owner set to Dave Love <…>
  • Resolution set to fixed
  • Status changed from new to closed

In [4215/sge]:

(The changeset message doesn't reference this ticket)

comment:2 Changed 9 years ago by dlove

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 8.0.0d to 8.1.3

comment:3 Changed 9 years ago by Dave Love <…>

In 4486/sge:

Revert setting locale around formatted floating point operations
It isn't currently doing the job, and is potentially heavyweight.
Also the resetting should have used a saved locale in the absence of
a general initial setlocale, not called setlocale with arg "".
Refs #1394

comment:4 Changed 9 years ago by Dave Love <…>

In 4488/sge:

Set C numeric locale when initializing GDI
Intended to account for client and server in different locales disagreeing
about floating point formats (e.g. en v. fr). Maybe revisit once we have
working internationalization.
Refs #1394

Note: See TracTickets for help on using tickets.