[luatex] readlink?

Manuel Pégourié-Gonnard mpg at elzevir.fr
Mon Mar 1 19:39:10 CET 2010


Hi Élie,

Elie Roux a écrit :
> Taco Hoekwater a écrit :
>> Why not just do io.open(,"w") ? if it fails, you couldn't write. And
>> such a test will do the 'right thing' if the disk is full or mounted
>> read-only.
> 
> That what I do, but this is a bit dirty as a solution...
> 
On the contrary, as Taco said, and as every Unix guru will confirm, it is *the*
way to go. Just try opening and see if it worked. The system is not going to
blame you because you tried to do something forbidden :-)

Manuel.



More information about the luatex mailing list