.pal files looks as non-executable
use size_t to store the result of strlen()
use XtPointer instead of int (64-bit compatibility)