[mpich2-commits] r4151 - mpich2/trunk/src/mpi/datatype

goodell at mcs.anl.gov goodell at mcs.anl.gov
Fri Mar 20 17:17:28 CDT 2009


Author: goodell
Date: 2009-03-20 17:17:27 -0500 (Fri, 20 Mar 2009)
New Revision: 4151

Modified:
   mpich2/trunk/src/mpi/datatype/type_get_name.c
Log:
Fix broken MPI_Type_get_name from ticket #485.

This is a correction to r4138.  I'm not sure how I missed this in my
personal testing.

No reviewer.

Modified: mpich2/trunk/src/mpi/datatype/type_get_name.c
===================================================================
--- mpich2/trunk/src/mpi/datatype/type_get_name.c	2009-03-20 20:23:20 UTC (rev 4150)
+++ mpich2/trunk/src/mpi/datatype/type_get_name.c	2009-03-20 22:17:27 UTC (rev 4151)
@@ -33,7 +33,7 @@
 typedef struct mpi_names_t { MPI_Datatype dtype; const char *name; } mpi_names_t;
 /* The MPI standard specifies that the names must be the MPI names,
    not the related language names (e.g., MPI_CHAR, not char) */
-#define type_name_entry(x_) { x_, MPIU_QUOTE(x_) }
+#define type_name_entry(x_) { x_, #x_ }
 static mpi_names_t mpi_names[] = {
     type_name_entry(MPI_CHAR),
     type_name_entry(MPI_SIGNED_CHAR),



More information about the mpich2-commits mailing list