This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Fix regparm attribute of fhandler_base::fstat_helper


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ecfba2bb2ce95adda475c54800200dfb0acb35e9

commit ecfba2bb2ce95adda475c54800200dfb0acb35e9
Author: Ken Brown <kbrown@cornell.edu>
Date:   Fri Dec 11 17:08:28 2015 -0500

    Fix regparm attribute of fhandler_base::fstat_helper
    
    * winsup/cygwin/fhandler_disk_file.cc (fhandler_base::fstat_helper):
    Align regparm attribute to declaration in fhandler.h.

Diff:
---
 winsup/cygwin/ChangeLog             | 5 +++++
 winsup/cygwin/fhandler_disk_file.cc | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 3c9804b..7079baa 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-11  Ken Brown  <kbrown@cornell.edu>
+
+	* fhandler_disk_file.cc (fhandler_base::fstat_helper): Align
+	regparm attribute to declaration in fhandler.h.
+
 2015-12-10  Corinna Vinschen  <corinna@vinschen.de>
 
 	* path.h (class path_conv_handle): Use FILE_ALL_INFORMATION instead of
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc
index fe9dd03..1dd1b8c 100644
--- a/winsup/cygwin/fhandler_disk_file.cc
+++ b/winsup/cygwin/fhandler_disk_file.cc
@@ -428,7 +428,7 @@ fhandler_base::fstat_fs (struct stat *buf)
   return res;
 }
 
-int __reg3
+int __reg2
 fhandler_base::fstat_helper (struct stat *buf)
 {
   IO_STATUS_BLOCK st;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]