You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-commits@hadoop.apache.org by cd...@apache.org on 2009/12/23 06:33:47 UTC

svn commit: r893409 - in /hadoop/mapreduce/trunk: CHANGES.txt src/c++/utils/api/hadoop/SerialUtils.hh

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__); \
       } \
     }