glibc/sysdeps/mach
Adhemerval Zanella 917425ca6d posix: Defined _POSIX_VDISABLE as integer literal
The constant should be used with c_cc, which for all supported ABIs
is defined as unsigned char.  By using it as literar char constant,
clang triggers an error when compared with signal literal on ABIs that
define 'char' as unsigned.

On aarch64, clang shows:

  ../sysdeps/posix/fpathconf.c:118:21: error: right side of operator
  converted from negative value to unsigned: -1 to 18446744073709551615
  [-Werror]
  #if _POSIX_VDISABLE == -1
    ~~~~~~~~~~~~~~~ ^  ~~

Reviewed-by: Collin Funk <collin.funk1@gmail.com>
2025-10-20 11:33:54 -03:00
..
htl elf: early conversion of elf p_flags to mprotect flags 2025-08-27 10:45:45 -03:00
hurd posix: Defined _POSIX_VDISABLE as integer literal 2025-10-20 11:33:54 -03:00
i386
include
sys
x86
x86_64
Makefile
Subdirs
_strerror.c
adjtime.c
clock_gettime.c
clock_nanosleep.c
configure hurd: implement RLIMIT_AS against Mach RPCs 2025-09-22 00:52:37 +02:00
configure.ac hurd: implement RLIMIT_AS against Mach RPCs 2025-09-22 00:52:37 +02:00
getloadavg.c
getpagesize.c
getsysstats.c
libc-lock.h
libmachuser.abilist
mach_rpc.h
mprotect.c
msync.c
munmap.c
pagecopy.h
readonly-area-fallback.c
sched_yield.c
sleep.c
strerror_l.c
sysdep.h
thread_state.h
usleep.c
xpg-strerror.c