diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-29 00:05:20 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-29 00:05:20 +0100 |
commit | 80463dc69d0018d03740d440bdcaff2a0d054aee (patch) | |
tree | e1f8f957cd34e787f636e4cca1dd69d575eee94c /sysdeps/mach/hurd/bits | |
parent | 2e52dff41fcf176107a6396cacd03de79390b247 (diff) | |
download | glibc-80463dc69d0018d03740d440bdcaff2a0d054aee.tar.gz glibc-80463dc69d0018d03740d440bdcaff2a0d054aee.tar.xz glibc-80463dc69d0018d03740d440bdcaff2a0d054aee.zip |
hurd: Fix _POSIX_VDISABLE value
* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0' instead of invalid -1.
Diffstat (limited to 'sysdeps/mach/hurd/bits')
-rw-r--r-- | sysdeps/mach/hurd/bits/posix_opt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h index 03082adaa6..828d7ffc77 100644 --- a/sysdeps/mach/hurd/bits/posix_opt.h +++ b/sysdeps/mach/hurd/bits/posix_opt.h @@ -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. |