diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-14 17:44:57 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-14 17:45:04 +0000 |
commit | c1dcc541131bb090ddc792139545ffcd2511a1dc (patch) | |
tree | f062f6c64a1acf12c1ddda32bbd197083c424c0d /sysdeps/mach/hurd/Makefile | |
parent | 0c46891442c0b4ca593691f62ad1213e022ff00b (diff) | |
download | glibc-c1dcc541131bb090ddc792139545ffcd2511a1dc.tar.gz glibc-c1dcc541131bb090ddc792139545ffcd2511a1dc.tar.xz glibc-c1dcc541131bb090ddc792139545ffcd2511a1dc.zip |
hurd: Fix __writev_nocancel_nostatus
* sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add writev_nocancel writev_nocancel_nostatus. * sysdeps/mach/hurd/not-cancel.h (__writev_nocancel_nostatus): Replace macro with function declaration (with hidden prototype in libc). (__writev_nocancel): New function declaration (with hidden prototype in libc). * sysdeps/mach/hurd/writev_nocancel_nostatus.c: New file. * sysdeps/posix/writev_nocancel.c: New file, includes writev.c to make a nocancel variant that calls __write_nocancel. * sysdeps/posix/writev.c (writev): Do not define alias if __writev is renamed.
Diffstat (limited to 'sysdeps/mach/hurd/Makefile')
-rw-r--r-- | sysdeps/mach/hurd/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index 8b74d3f002..daa69c0dae 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -200,6 +200,10 @@ sysdep_routines += f_setlk close_nocancel_nostatus read_nocancel \ pread64_nocancel write_nocancel pwrite64_nocancel endif +ifeq (misc, $(subdir)) +sysdep_routines += writev_nocancel writev_nocancel_nostatus +endif + ifeq ($(subdir),sunrpc) sysdep_headers += nfs/nfs.h endif |