Hello -
        I patched up write.c a bit.

        1. Constified
        2. Changed a strncpy to strlcpy
        3. change S_IWRITE >> 3 to S_IWGRP
        4. Changed fileno(stdin/stdout/stderr) to STD*_FILENO
        5. cleaned up 2 pieces of code so it will compile when WARNS=2 is set.

        The patch is attached, and can be found at 
        Any comments?

- David Hill


Reply via email to