Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-07-02 02:04:20 +0400
committerChristopher Faylor <me@cgf.cx>2011-07-02 02:04:20 +0400
commitc38da4ee1daf06c9ab2d317e6f08afb4c5beea28 (patch)
tree9c493566271563d500e6a31df6e40cddedfdd647 /winsup/cygwin
parent1df99a60b380da06b0168b5a0484b83e64173fcb (diff)
* dtable.cc (cnew): Fix whitespace.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/dtable.cc2
2 files changed, 5 insertions, 1 deletions
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 <me.cygwin2011@cgf.cx>
+
+ * dtable.cc (cnew): Fix whitespace.
+
2011-07-01 Corinna Vinschen <corinna@vinschen.de>
* 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 *