hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r893409 - in /hadoop/mapreduce/trunk: CHANGES.txt src/c++/utils/api/hadoop/SerialUtils.hh
Date Wed, 23 Dec 2009 05:33:47 GMT
Author: cdouglas
Date: Wed Dec 23 05:33:47 2009
New Revision: 893409

URL: http://svn.apache.org/viewvc?rev=893409&view=rev
Log:
MAPREDUCE-1165. Replace non-portable function name with C99 equivalent.
Contributed by Allen Wittenauer

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/c++/utils/api/hadoop/SerialUtils.hh

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=893409&r1=893408&r2=893409&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Wed Dec 23 05:33:47 2009
@@ -183,6 +183,9 @@
     MAPREDUCE-1235. Fix a MySQL timestamp incompatibility in Sqoop. (Aaron
     Kimball via cdouglas)
 
+    MAPREDUCE-1165. Replace non-portable function name with C99 equivalent.
+    (Allen Wittenauer via cdouglas)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/mapreduce/trunk/src/c++/utils/api/hadoop/SerialUtils.hh
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/c%2B%2B/utils/api/hadoop/SerialUtils.hh?rev=893409&r1=893408&r2=893409&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/c++/utils/api/hadoop/SerialUtils.hh (original)
+++ hadoop/mapreduce/trunk/src/c++/utils/api/hadoop/SerialUtils.hh Wed Dec 23 05:33:47 2009
@@ -58,7 +58,7 @@
     { \
       if (!(CONDITION)) { \
         throw HadoopUtils::Error((MESSAGE), __FILE__, __LINE__, \
-                                    __PRETTY_FUNCTION__); \
+                                    __func__); \
       } \
     }
 



Mime
View raw message