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-07-05 06:05:07 +0400
committerChristopher Faylor <me@cgf.cx>2005-07-05 06:05:07 +0400
commit26edeb6a7f6c541a25ee7fa4c201b24fea01cc50 (patch)
tree037b544f95c625b879b2bf518e69313c42a5245f /winsup/cygwin/cygtls.h
parenta64b8b2dec5ba82dd3933a959e3e3f5f09116963 (diff)
* cygtls.h (_cygtls): Perform minor reformatting.
* winsup.h (close_all_files): Reflect argument change. * dtable.cc (close_all_files): Ditto. * dtable.h: Ditto. * fhandler.h: Ditto. * spawn.cc (spawn_guts): Move close_all_files back to its original location in first P_OVERLAY test but use argument denoting that handles are only supposed to be closed, not released (more work to be done here). * syscalls.cc (close_all_files): Take an argument denoting whether to release closed files or not. * path.cc (symlink): Change argument names to reflect linux man page. (symlink_worker): Ditto. Also appropriately set ENOENT for empty strings.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r--winsup/cygwin/cygtls.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h
index 2ac6d04b3..3a5adba8a 100644
--- a/winsup/cygwin/cygtls.h
+++ b/winsup/cygwin/cygtls.h
@@ -252,10 +252,7 @@ class myfault
{
jmp_buf buf;
public:
- ~myfault () __attribute__ ((always_inline))
- {
- _my_tls.clear_fault (buf);
- }
+ ~myfault () __attribute__ ((always_inline)) { _my_tls.clear_fault (buf); }
inline int faulted (int myerrno = 0) __attribute__ ((always_inline))
{
return _my_tls.setup_fault (buf, myerrno);