Date: Tue, 26 Sep 2006 21:26:18 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 106746 for review Message-ID: <200609262126.k8QLQIrj084508@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=106746 Change 106746 by rdivacky@rdivacky_witten on 2006/09/26 21:25:42 Replace homegrown check for FIFO with S_ISFIFO. Inspired by: NetBSD Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#3 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#3 (text+ko) ==== @@ -880,7 +880,7 @@ printf(ARGS(mknod, "%s, %d, %d"), path, args->mode, args->dev); #endif - if (args->mode & S_IFIFO) + if (S_ISFIFO(args->mode)) error = kern_mkfifo(td, path, UIO_SYSSPACE, args->mode); else error = kern_mknod(td, path, UIO_SYSSPACE, args->mode,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609262126.k8QLQIrj084508>