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>2005-08-08 08:06:07 +0400
committerChristopher Faylor <me@cgf.cx>2005-08-08 08:06:07 +0400
commit6a7bea70f0ec5a13f0f46be928f6c5284765ba53 (patch)
tree44294a6530e5b42e1a8ae827c856099a79bf3b44 /winsup/cygwin/fhandler.h
parentcbda22eb63ac8841ed3f4ac94e0782dab562717a (diff)
* Makefile.in (dtable_CFLAGS): Use -fomit-frame-pointer and -fcheck-new.
* cygheap.cc (cmalloc): Only emit system_printf warnings on failure if DEBUGGING. (crealloc): Ditto. (ccalloc): Ditto. * dtable.cc (build_fh_name): Treat NULL return from cnew as indicative of EMFILE condition. (build_fh_dev): Ditto. (dtable::dup_worker): Handle NULL return from build_fh_pc. (dtable::vfork_child_dup): Trust dup_worker to set errno. * fhandler.h (fhandler_base::new): Mark as nothrow.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 6b698fa40..04a80b0dc 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -301,7 +301,7 @@ class fhandler_base
_off64_t offset, DWORD size,
void *address);
- void *operator new (size_t, void *p) {return p;}
+ void *operator new (size_t, void *p) __attribute__ ((nothrow)) {return p;}
virtual void init (HANDLE, DWORD, mode_t);