From c38da4ee1daf06c9ab2d317e6f08afb4c5beea28 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 1 Jul 2011 22:04:20 +0000 Subject: [PATCH] * dtable.cc (cnew): Fix whitespace. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/dtable.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 04b365ad5..49c67dbd4 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2011-07-01 Christopher Faylor + + * dtable.cc (cnew): Fix whitespace. + 2011-07-01 Corinna Vinschen * include/sys/param.h (NGROUPS): Redefine as NGROUPS_MAX. diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index 97dea39c5..2efd4e878 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -396,7 +396,7 @@ dtable::init_std_file_from_handle (int fd, HANDLE handle) #define cnew(name, ...) \ ({ \ void* ptr = (void*) ccalloc (HEAP_FHANDLER, 1, sizeof (name)); \ - ptr? new(ptr) name(__VA_ARGS__) : NULL; \ + ptr ? new (ptr) name (__VA_ARGS__) : NULL; \ }) fhandler_base *