about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-03-09 21:19:16 +0000
committerRoland McGrath <roland@gnu.org>2002-03-09 21:19:16 +0000
commit70481be8b5a90dca79a078ba5a5ef65d9dfbeda8 (patch)
tree31ef7a3b4ab939e7f3ec61245e48bc7a15750c4b
parent2fb1a8624be0af58fbcf0665540eca529c29d1d7 (diff)
downloadglibc-70481be8b5a90dca79a078ba5a5ef65d9dfbeda8.tar.gz
glibc-70481be8b5a90dca79a078ba5a5ef65d9dfbeda8.tar.xz
glibc-70481be8b5a90dca79a078ba5a5ef65d9dfbeda8.zip
* hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.
	Reported by Jon Arney <jarney1@cox.net>.

2002-02-23  Roland McGrath  <roland@frob.com>

	* hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to
	declaration.
	(__hurd_errno_location): Function removed.
-rw-r--r--ChangeLog11
-rw-r--r--hurd/hurdsig.c2
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9997957b86..2fbdf7d2e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2002-03-09  Roland McGrath  <roland@frob.com>
+
+	* hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.
+	Reported by Jon Arney <jarney1@cox.net>.
+
+2002-02-23  Roland McGrath  <roland@frob.com>
+
+	* hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to
+	declaration.
+	(__hurd_errno_location): Function removed.
+
 2002-03-06  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add compatibility for
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index f26d43b111..1bfc093528 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -198,7 +198,7 @@ write_corefile (int signo, const struct hurd_signal_detail *detail)
   if (! err && file != MACH_PORT_NULL)
     /* The core dump into FILE succeeded, so now link it into the
        directory.  */
-    err = __dir_link (file, coredir, name, 1);
+    err = __dir_link (coredir, file, name, 1);
   __mach_port_deallocate (__mach_task_self (), file);
   __mach_port_deallocate (__mach_task_self (), coredir);
   return !err && file != MACH_PORT_NULL;