stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r680051 - in /stdcxx/branches/4.2.x/src: strtol.cpp strtol.h
Date Sat, 26 Jul 2008 22:14:49 GMT
Author: sebor
Date: Sat Jul 26 15:14:48 2008
New Revision: 680051

URL: http://svn.apache.org/viewvc?rev=680051&view=rev
Log:
2008-07-26  Martin Sebor  <sebor@roguewave.com>

	STDCXX-998
	* src/strtol.h (__rw_strtol, __rw_strtoll): Declared nothrow.
	(__rw_strtoul, __rw_strtoull): Same.
	* src/strtol.cpp: Same.

Modified:
    stdcxx/branches/4.2.x/src/strtol.cpp
    stdcxx/branches/4.2.x/src/strtol.h

Modified: stdcxx/branches/4.2.x/src/strtol.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/src/strtol.cpp?rev=680051&r1=680050&r2=680051&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/src/strtol.cpp (original)
+++ stdcxx/branches/4.2.x/src/strtol.cpp Sat Jul 26 15:14:48 2008
@@ -22,7 +22,7 @@
  * implied.   See  the License  for  the  specific language  governing
  * permissions and limitations under the License.
  *
- * Copyright 1994-2006 Rogue Wave Software.
+ * Copyright 1994-2006 Rogue Wave Software, Inc.
  * 
  **************************************************************************/
 
@@ -192,7 +192,7 @@
 
 
 unsigned long
-__rw_strtoul (const char *nptr, int *errptr, int base)
+__rw_strtoul (const char *nptr, int *errptr, int base) _THROWS (())
 {
     _RWSTD_ASSERT (0 != nptr);
     _RWSTD_ASSERT (0 != errptr);
@@ -395,7 +395,7 @@
 
 
 long
-__rw_strtol (const char *nptr, int *errptr, int base)
+__rw_strtol (const char *nptr, int *errptr, int base) _THROWS (())
 {
     _RWSTD_ASSERT (0 != nptr);
     _RWSTD_ASSERT (0 != errptr);
@@ -626,7 +626,7 @@
 #  if (_RWSTD_LONG_SIZE < _RWSTD_LLONG_SIZE)
 
 ULLong
-__rw_strtoull (const char *nptr, int *errptr, int base)
+__rw_strtoull (const char *nptr, int *errptr, int base) _THROWS (())
 {
     _RWSTD_ASSERT (0 != nptr);
     _RWSTD_ASSERT (0 != errptr);
@@ -813,7 +813,7 @@
 
 
 LLong
-__rw_strtoll (const char *nptr, int *errptr, int base)
+__rw_strtoll (const char *nptr, int *errptr, int base) _THROWS (())
 {
     _RWSTD_ASSERT (0 != nptr);
     _RWSTD_ASSERT (0 != errptr);

Modified: stdcxx/branches/4.2.x/src/strtol.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/src/strtol.h?rev=680051&r1=680050&r2=680051&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/src/strtol.h (original)
+++ stdcxx/branches/4.2.x/src/strtol.h Sat Jul 26 15:14:48 2008
@@ -39,10 +39,10 @@
 // same as strtoul() except that the source sequence must start
 // with a sign (either '+' or '-')
 unsigned long
-__rw_strtoul (const char*, int*, int);
+__rw_strtoul (const char*, int*, int) _THROWS (());
 
 long
-__rw_strtol (const char*, int*, int);
+__rw_strtol (const char*, int*, int) _THROWS (());
 
 
 #ifdef _RWSTD_LONG_LONG
@@ -52,7 +52,7 @@
 #  if (_RWSTD_LLONG_SIZE <= _RWSTD_LONG_SIZE)
 
 inline unsigned _RWSTD_LONG_LONG
-__rw_strtoull (const char *nptr, int *errptr, int base)
+__rw_strtoull (const char *nptr, int *errptr, int base) _THROWS (())
 {
     _RWSTD_ASSERT (sizeof (_RWSTD_LONG_LONG) == sizeof (long));
 
@@ -61,7 +61,7 @@
 
 
 inline _RWSTD_LONG_LONG
-__rw_strtoll (const char *nptr, int *errptr, int base)
+__rw_strtoll (const char *nptr, int *errptr, int base) _THROWS (())
 {
     _RWSTD_ASSERT (sizeof (_RWSTD_LONG_LONG) == sizeof (long));
 
@@ -71,10 +71,10 @@
 #  else   // if (_RWSTD_LLONG_SIZE > _RWSTD_LONG_SIZE)
 
 unsigned _RWSTD_LONG_LONG
-__rw_strtoull (const char*, int*, int);
+__rw_strtoull (const char*, int*, int) _THROWS (());
 
 _RWSTD_LONG_LONG
-__rw_strtoll (const char*, int*, int);
+__rw_strtoll (const char*, int*, int) _THROWS (());
 
 #  endif   // _RWSTD_LLONG_SIZE <= _RWSTD_LONG_SIZE
 #endif   // _RWSTD_LONG_LONG



Mime
View raw message