Fixed warnings and minor bugs
o Due to the usual integer propagation rules care must be taken in case off_t is involved. o Use the effective UID and GID consistently.
o Due to the usual integer propagation rules care must be taken in case
off_t is involved.
o Use the effective UID and GID consistently.