Moved fopen after argument checking. Moved fopen after argument checking. Change ENOTSUP to EINVAL. Not exactly what we want, but there is no distinct condition to return "this is not a regular file". ENOTSUP is not wide-spread and does not warrant autoconf support either.
Moved fopen after argument checking.
Moved fopen after argument checking.
Change ENOTSUP to EINVAL. Not exactly what we want, but there is no
distinct condition to return "this is not a regular file". ENOTSUP is
not wide-spread and does not warrant autoconf support either.

BackupTheBerlios/leafnode,BackupTheBerlios/leafnode,BackupTheBerlios/leafnode,BackupTheBerlios/leafnode