Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/compat
Module Name: src
Committed By: pavel
Date: Mon Sep 25 16:16:18 UTC 2006
Modified Files:
src/sys/compat/hpux: hpux_file.c
src/sys/compat/linux/common: linux_file.c
Log Message:
Replace homegrown tests for FIFO (... & S_IFIFO) by S_ISFIFO. The old code
was "correct" by luck - we don't have any other file type whose S_IF* bits
in sys/stat.h overlap with S_IFIFO.
Originally discovered by Paul Stoeber in OpenBSD.
To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 src/sys/compat/hpux/hpux_file.c
cvs rdiff -r1.73 -r1.74 src/sys/compat/linux/common/linux_file.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index