stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r431267 - in /incubator/stdcxx/trunk/src: exception.cpp facet.cpp iostream.cpp setlocale.cpp tmpbuf.cpp
Date Sun, 13 Aug 2006 22:54:08 GMT
Author: sebor
Date: Sun Aug 13 15:54:07 2006
New Revision: 431267

URL: http://svn.apache.org/viewvc?rev=431267&view=rev
Log:
2006-08-13  Martin Sebor  <sebor@roguewave.com>

	* exception.cpp: Added/modified comments.
	* iostream.cpp: Same.
	* tmpbuf.cpp: Same.
	* facet.cpp: Same. Removed dead macro.
	* setlocale.cpp: Same.

Modified:
    incubator/stdcxx/trunk/src/exception.cpp
    incubator/stdcxx/trunk/src/facet.cpp
    incubator/stdcxx/trunk/src/iostream.cpp
    incubator/stdcxx/trunk/src/setlocale.cpp
    incubator/stdcxx/trunk/src/tmpbuf.cpp

Modified: incubator/stdcxx/trunk/src/exception.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/exception.cpp?rev=431267&r1=431266&r2=431267&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/exception.cpp (original)
+++ incubator/stdcxx/trunk/src/exception.cpp Sun Aug 13 15:54:07 2006
@@ -1,27 +1,28 @@
  /***************************************************************************
  *
- * stdexcept.cpp - Source for the Standard Library exception classes
+ * exception.cpp - Source for the Standard Library exception classes
  *
  * $Id$
  *
  ***************************************************************************
  *
- * Copyright 2005-2006 The Apache Software Foundation or its licensors,
- * as applicable.
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  "License"); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
  *
- * Copyright 1994-2006 Rogue Wave Software.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
+ *
+ * Copyright 1994-2006 Rogue Wave Software.
  * 
  **************************************************************************/
 
@@ -64,7 +65,7 @@
 #include <rw/_iosfailure.h>
 #include <rw/_mutex.h>
 
-#include "podarray.h"
+#include "podarray.h"   // for __rw_aligned_buffer
 
 
 #ifdef _MSC_VER

Modified: incubator/stdcxx/trunk/src/facet.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/facet.cpp?rev=431267&r1=431266&r2=431267&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/facet.cpp (original)
+++ incubator/stdcxx/trunk/src/facet.cpp Sun Aug 13 15:54:07 2006
@@ -2,20 +2,27 @@
  *
  * facet.cpp
  *
- * $Id: //stdlib/dev/source/stdlib/facet.cpp#83 $
+ * $Id$
  *
  ***************************************************************************
  *
- * Copyright (c) 1994-2005 Quovadx,  Inc., acting through its  Rogue Wave
- * Software division. Licensed under the Apache License, Version 2.0 (the
- * "License");  you may  not use this file except  in compliance with the
- * License.    You    may   obtain   a   copy   of    the   License    at
- * http://www.apache.org/licenses/LICENSE-2.0.    Unless   required    by
- * applicable law  or agreed to  in writing,  software  distributed under
- * the License is distributed on an "AS IS" BASIS,  WITHOUT WARRANTIES OR
- * CONDITIONS OF  ANY KIND, either  express or implied.  See  the License
- * for the specific language governing permissions  and limitations under
- * the License.
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  "License"); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
+ *
+ * Copyright 2001-2006 Rogue Wave Software.
  * 
  **************************************************************************/
 
@@ -23,8 +30,6 @@
 
 #include <rw/_defs.h>
 
-#ifndef _RWSTD_NO_V3_LOCALE
-
 // unistd.h is included here because of PR #26255
 #ifndef _MSC_VER
 #  include <unistd.h>
@@ -57,7 +62,7 @@
 #include <rw/_mutex.h>
 
 #include "locale_body.h"
-#include "podarray.h"
+#include "podarray.h"    // for __rw_chararry
 
 
 _RWSTD_NAMESPACE (__rw) { 
@@ -721,6 +726,3 @@
 }
 
 }   // namespace __rw
-
-
-#endif   // _RWSTD_NO_V3_LOCALE

Modified: incubator/stdcxx/trunk/src/iostream.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/iostream.cpp?rev=431267&r1=431266&r2=431267&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/iostream.cpp (original)
+++ incubator/stdcxx/trunk/src/iostream.cpp Sun Aug 13 15:54:07 2006
@@ -2,20 +2,27 @@
  *
  * iostream.cpp - source for the Standard Library iostream objects
  *
- * $Id: //stdlib/dev/source/stdlib/iostream.cpp#10 $
+ * $Id$
  *
  ***************************************************************************
  *
- * Copyright (c) 1994-2005 Quovadx,  Inc., acting through its  Rogue Wave
- * Software division. Licensed under the Apache License, Version 2.0 (the
- * "License");  you may  not use this file except  in compliance with the
- * License.    You    may   obtain   a   copy   of    the   License    at
- * http://www.apache.org/licenses/LICENSE-2.0.    Unless   required    by
- * applicable law  or agreed to  in writing,  software  distributed under
- * the License is distributed on an "AS IS" BASIS,  WITHOUT WARRANTIES OR
- * CONDITIONS OF  ANY KIND, either  express or implied.  See  the License
- * for the specific language governing permissions  and limitations under
- * the License.
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  "License"); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
+ *
+ * Copyright 1994-2006 Rogue Wave Software.
  * 
  **************************************************************************/
 
@@ -56,7 +63,7 @@
 #include <rw/_error.h>
 
 #include "iosdata.h"
-#include "podarray.h"
+#include "podarray.h"   // for __rw_aligned_buffer
 
 #include <stdio.h>    // fprintf(), stderr
 #include <stdlib.h>   // abort()

Modified: incubator/stdcxx/trunk/src/setlocale.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/setlocale.cpp?rev=431267&r1=431266&r2=431267&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/setlocale.cpp (original)
+++ incubator/stdcxx/trunk/src/setlocale.cpp Sun Aug 13 15:54:07 2006
@@ -5,20 +5,27 @@
  * This is an internal header file used to implement the C++ Standard
  * Library. It should never be #included directly by a program.
  *
- * $Id: //stdlib/dev/source/stdlib/setlocale.cpp#8 $
+ * $Id$
  *
  ***************************************************************************
  *
- * Copyright (c) 1994-2005 Quovadx,  Inc., acting through its  Rogue Wave
- * Software division. Licensed under the Apache License, Version 2.0 (the
- * "License");  you may  not use this file except  in compliance with the
- * License.    You    may   obtain   a   copy   of    the   License    at
- * http://www.apache.org/licenses/LICENSE-2.0.    Unless   required    by
- * applicable law  or agreed to  in writing,  software  distributed under
- * the License is distributed on an "AS IS" BASIS,  WITHOUT WARRANTIES OR
- * CONDITIONS OF  ANY KIND, either  express or implied.  See  the License
- * for the specific language governing permissions  and limitations under
- * the License.
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  "License"); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
+ *
+ * Copyright 2001-2006 Rogue Wave Software.
  * 
  **************************************************************************/
 
@@ -26,8 +33,6 @@
 
 #include <rw/_defs.h>
 
-#ifndef _RWSTD_NO_V3_LOCALE
-
 #if defined (__linux__) && !defined (_XOPEN_SOURCE)
    // need S_IFDIR on Linux
 #  define _XOPEN_SOURCE 
@@ -41,7 +46,7 @@
 #include <rw/_error.h>
 #include <rw/_mutex.h>
 
-#include "podarray.h"
+#include "podarray.h"   // for __rw_charray
 #include "setlocale.h"
 
 #ifndef _MSC_VER
@@ -216,6 +221,3 @@
 
 
 }   // namespace __rw
-
-
-#endif   // _RWSTD_NO_V3_LOCALE

Modified: incubator/stdcxx/trunk/src/tmpbuf.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/tmpbuf.cpp?rev=431267&r1=431266&r2=431267&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/tmpbuf.cpp (original)
+++ incubator/stdcxx/trunk/src/tmpbuf.cpp Sun Aug 13 15:54:07 2006
@@ -2,28 +2,35 @@
  *
  * tmpbuf.cpp - definition of the __rw_tmpbuf() helper
  *
- * $Id: //stdlib/dev/source/stdlib/tmpbuf.cpp#4 $
+ * $Id$
  *
  ***************************************************************************
  *
- * Copyright (c) 1994-2005 Quovadx,  Inc., acting through its  Rogue Wave
- * Software division. Licensed under the Apache License, Version 2.0 (the
- * "License");  you may  not use this file except  in compliance with the
- * License.    You    may   obtain   a   copy   of    the   License    at
- * http://www.apache.org/licenses/LICENSE-2.0.    Unless   required    by
- * applicable law  or agreed to  in writing,  software  distributed under
- * the License is distributed on an "AS IS" BASIS,  WITHOUT WARRANTIES OR
- * CONDITIONS OF  ANY KIND, either  express or implied.  See  the License
- * for the specific language governing permissions  and limitations under
- * the License.
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  "License"); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
+ *
+ * Copyright 2005-2006 Rogue Wave Software.
  * 
  **************************************************************************/
 
 #define _RWSTD_LIB_SRC
 
-#include "podarray.h"
-#include <rw/_allocator.h>
-#include <rw/_mutex.h>
+#include "podarray.h"        // for __rw_aligned_buffer
+#include <rw/_allocator.h>   // for __rw_allocate(), ...
+#include <rw/_mutex.h>       // for _RWSTD_THREAD_XXX()
 #include <rw/_defs.h>
 
 
@@ -115,7 +122,7 @@
     return nbytes / size;
 }
 
-}
+}   // extern "C"
 
 
 }   // namespace __rw



Mime
View raw message