Module Name:    src
Committed By:   christos
Date:           Sat Aug  8 22:53:16 UTC 2009

Modified Files:
        src/sys/sys: unistd.h

Log Message:
make the _POSIX_VDISABLE definition match the one in termios.h


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/sys/unistd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/unistd.h
diff -u src/sys/sys/unistd.h:1.47 src/sys/sys/unistd.h:1.48
--- src/sys/sys/unistd.h:1.47	Wed Aug 27 04:58:16 2008
+++ src/sys/sys/unistd.h	Sat Aug  8 18:53:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: unistd.h,v 1.47 2008/08/27 08:58:16 christos Exp $	*/
+/*	$NetBSD: unistd.h,v 1.48 2009/08/08 22:53:16 christos Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -72,7 +72,7 @@
 				/* too-long path components generate errors */
 #define	_POSIX_NO_TRUNC		1
 				/* may disable terminal special characters */
-#define	_POSIX_VDISABLE		((unsigned char)'\377')
+#define	_POSIX_VDISABLE		__CAST(unsigned char, '\377')
 				/* file synchronization is available */
 #define	_POSIX_FSYNC		1
 				/* synchronized I/O is available */

Reply via email to