hurd: Fix _POSIX_VDISABLE value

* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
	instead of invalid -1.
This commit is contained in:
Samuel Thibault 2018-01-29 00:05:20 +01:00
parent 2e52dff41f
commit 80463dc69d
2 changed files with 3 additions and 1 deletions

View File

@ -99,6 +99,8 @@
* mach/Makefile (user-interfaces): Add mach/gnumach.
* sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
* sysdeps/mach/configure (mach_interface_list): Regenerate.
* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
instead of invalid -1.
2008-12-18 Thomas Schwinge <tschwinge@gnu.org>

View File

@ -53,7 +53,7 @@
/* Elements of the `c_cc' member of `struct termios' structure
can be disabled by using the value _POSIX_VDISABLE. */
#define _POSIX_VDISABLE ((unsigned char) -1)
#define _POSIX_VDISABLE '\0'
/* Different Hurd filesystems might do these differently.