Message7304
Opening of e.g. /dev/null or /dev/zero with "w" mode fails in non-English locales.
("Argument invalide" is "Bad argument" in English locale.)
$ LC_ALL="en_US.UTF-8" jython2.5 -c 'open("/dev/null", "w")'
$ LC_ALL="en_US.UTF-8" jython2.7 -c 'open("/dev/null", "w")'
$ LC_ALL="fr_FR.UTF-8" jython2.5 -c 'open("/dev/null", "w")'
Traceback (most recent call last):
File "<string>", line 1, in <module>
IOError: Argument invalide
$ LC_ALL="fr_FR.UTF-8" jython2.7 -c 'open("/dev/null", "w")'
Traceback (most recent call last):
File "<string>", line 1, in <module>
IOError: Argument invalide |
|
Date |
User |
Action |
Args |
2012-07-02 00:08:58 | Arfrever | set | recipients:
+ Arfrever, fwierzbicki |
2012-07-02 00:08:58 | Arfrever | set | messageid: <1341187738.66.0.315777989486.issue1944@psf.upfronthosting.co.za> |
2012-07-02 00:08:58 | Arfrever | link | issue1944 messages |
2012-07-02 00:08:57 | Arfrever | create | |
|