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 
http://www.phobia.ms/patches/write.c.20072001.diff
        Any comments?

- David Hill

write.c.20072001.diff

Reply via email to