From 39b6859a28b8b50d73fe6ae080ea42f4ef1bdea3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 13 Apr 2001 15:28:20 +0000 Subject: * fork.cc (fork_child): Call the __pthread_atforkchild function. (fork_parent): Call the __pthread_atforkparent function. * cygwin.din: Export pthread_atfork. * thread.h (callback): New class. (MTinterface): Use it. * thread.cc (__pthread_atforkprepare): New function. (__pthread_atforkparent): New function. (__pthread_atforkchild): New function. (__pthread_atfork): New function. * pthread.cc (pthread_atfork): New function. --- winsup/cygwin/fhandler.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/fhandler.cc') diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index ff9a9dfb4..df2fd2217 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -370,9 +370,8 @@ fhandler_base::open (int flags, mode_t mode) file_attributes, 0); - syscall_printf ("%d = CreateFileA (%s, %p, %p, %p, %p, %p, 0)", - x, - get_win32_name (), access_, shared, + syscall_printf ("%p = CreateFileA (%s, %p, %p, %p, %p, %p, 0)", + x, get_win32_name (), access_, shared, &sec_none, creation_distribution, file_attributes); -- cgit v1.2.3