You should never use Stdio.File() with one argument anyway, unless you want the special file descriptors "stdin", "stdout" or "stderr".
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-09-29 10:43: Subject: Re: Stdio.File() bug?
http://pike.ida.liu.se/generated/manual/modref/ex/predef_3A_3A/Stdio/File/cr...
claims that the default open mode is "rw", yet hilfe says different:
From the source (Pike 7.6), the default mode is "r", which sounds less error prone to me :)
Just to be sure:
Stdio.File("/tmp/foo", "r")->mode();
(2) Result: 4099
-- Bertrand LUPART Linkeo.com - R&D | http://www.linkeo.com/ +33 1 72 71 71 82 | 17, rue de la Banque - F75002 Paris Systèmes de gestion d'email entrant | Email management systems
/ Brevbäraren