summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-13 01:48:25 +0000
committerRoland McGrath <roland@gnu.org>2002-05-13 01:48:25 +0000
commitab7dd85bfbe9a176c2d5055d52185ae6364f97af (patch)
tree6eef4baa61b163061ab60a0ade089984225524c3 /mach
parent6f1428364a9ef5994087288c21fa4c9222c5fef2 (diff)
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Allocate three, not two, more than LEN when appending '/.'. * sysdeps/mach/hurd/chroot.c (chroot): Likewise. Don't check if NAME ends with '/.' if it is shorter than 2 chars. * mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated files #include <sysdep.h> instead of <mach/machine/syscall_sw.h>.
Diffstat (limited to 'mach')
-rw-r--r--mach/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mach/Makefile b/mach/Makefile
index a4e4c077f7..cf274ceebb 100644
--- a/mach/Makefile
+++ b/mach/Makefile
@@ -96,8 +96,8 @@ ifndef mach-syscalls
no_deps=t
else
$(mach-syscalls:%=$(objpfx)%.S): $(objpfx)%.S: $(objpfx)mach-syscalls.mk
- (echo '#include <mach/machine/syscall_sw.h>'; \
- echo 'kernel_trap(__$*,$(sysno-$*),$(nargs-$*))'; \
+ (echo '#include <sysdep.h>'; \
+ echo 'kernel_trap (__$*,$(sysno-$*),$(nargs-$*))'; \
echo 'weak_alias (__$*, $*)') > $@-new
mv -f $@-new $@
generated += $(mach-syscalls:=.S)