You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/06/10 22:56:53 UTC
svn commit: r666322 - in
/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix:
hyfiletext.c hysl.c
Author: hindessm
Date: Tue Jun 10 13:56:53 2008
New Revision: 666322
URL: http://svn.apache.org/viewvc?rev=666322&view=rev
Log:
Removing misleading comments - an artifact from the original contribution.
Modified:
harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c
harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysl.c
Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c?rev=666322&r1=666321&r2=666322&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c Tue Jun 10 13:56:53 2008
@@ -57,12 +57,12 @@
#if (defined(HYVM_USE_ICONV))
static IDATA file_write_using_iconv (struct HyPortLibrary *portLibrary,
IDATA fd, const char *buf, IDATA nbytes);
-#endif /* HYVM_USE_ICONV (autogen) */
+#endif /* HYVM_USE_ICONV */
#if (defined(HYVM_USE_ICONV))
static char* buf_write_using_iconv (struct HyPortLibrary *portLibrary,
const char *buf, IDATA nbytes);
-#endif /* HYVM_USE_ICONV (autogen) */
+#endif /* HYVM_USE_ICONV */
#if (defined(HYVM_USE_WCTOMB))
#include "utf8decode.h"
@@ -70,22 +70,22 @@
#if (defined(HYVM_USE_WCTOMB))
static IDATA walkUTF8String (const U_8 * buf, IDATA nbytes);
-#endif /* HYVM_USE_WCTOMB (autogen) */
+#endif /* HYVM_USE_WCTOMB */
#if (defined(HYVM_USE_WCTOMB))
static void translateUTF8String (const U_8 * in, U_8 * out, IDATA nbytes);
-#endif /* HYVM_USE_WCTOMB (autogen) */
+#endif /* HYVM_USE_WCTOMB */
#if (defined(HYVM_USE_WCTOMB))
static IDATA file_write_using_wctomb (struct HyPortLibrary *portLibrary,
IDATA fd, const char *buf,
IDATA nbytes);
-#endif /* HYVM_USE_WCTOMB (autogen) */
+#endif /* HYVM_USE_WCTOMB */
#if (defined(HYVM_USE_WCTOMB))
static char* buf_write_using_wctomb (struct HyPortLibrary *portLibrary,
const char *buf, IDATA nbytes);
-#endif /* HYVM_USE_WCTOMB (autogen) */
+#endif /* HYVM_USE_WCTOMB */
#undef CDEV_CURRENT_FUNCTION
@@ -268,7 +268,7 @@
}
return hasHighChars ? newLength : 0;
}
-#endif /* HYVM_USE_WCTOMB (autogen) */
+#endif /* HYVM_USE_WCTOMB */
#undef CDEV_CURRENT_FUNCTION
@@ -308,7 +308,7 @@
}
}
}
-#endif /* HYVM_USE_WCTOMB (autogen) */
+#endif /* HYVM_USE_WCTOMB */
#undef CDEV_CURRENT_FUNCTION
@@ -343,7 +343,7 @@
}
return (result == nbytes) ? 0 : result;
}
-#endif /* HYVM_USE_WCTOMB (autogen) */
+#endif /* HYVM_USE_WCTOMB */
#undef CDEV_CURRENT_FUNCTION
@@ -377,7 +377,7 @@
outBuf[nbytes] = '\0';
return outBuf;
}
-#endif /* HYVM_USE_WCTOMB (autogen) */
+#endif /* HYVM_USE_WCTOMB */
#undef CDEV_CURRENT_FUNCTION
@@ -458,7 +458,7 @@
}
return (result == nbytes) ? 0 : result;
}
-#endif /* HYVM_USE_ICONV (autogen) */
+#endif /* HYVM_USE_ICONV */
#undef CDEV_CURRENT_FUNCTION
@@ -527,7 +527,7 @@
portLibrary->mem_free_memory (portLibrary, bufStart);
return outbuf;
}
-#endif /* HYVM_USE_ICONV (autogen) */
+#endif /* HYVM_USE_ICONV */
#undef CDEV_CURRENT_FUNCTION
Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysl.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysl.c?rev=666322&r1=666321&r2=666322&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysl.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysl.c Tue Jun 10 13:56:53 2008
@@ -61,12 +61,12 @@
#if (defined(HYVM_USE_MBTOWC))
static void convertWithMBTOWC (struct HyPortLibrary *portLibrary, char *error,
char *errBuf, UDATA bufLen);
-#endif /* HYVM_USE_MBTOWC (autogen) */
+#endif /* HYVM_USE_MBTOWC */
#if (defined(HYVM_USE_ICONV))
static void convertWithIConv (struct HyPortLibrary *portLibrary, char *error,
char *errBuf, UDATA bufLen);
-#endif /* HYVM_USE_ICONV (autogen) */
+#endif /* HYVM_USE_ICONV */
static void getDLError (struct HyPortLibrary *portLibrary, char *errBuf,
UDATA bufLen);
@@ -284,7 +284,7 @@
*outbuf = '\0';
iconv_close (converter);
}
-#endif /* HYVM_USE_ICONV (autogen) */
+#endif /* HYVM_USE_ICONV */
#undef CDEV_CURRENT_FUNCTION
@@ -345,7 +345,7 @@
}
*out = '\0';
}
-#endif /* HYVM_USE_MBTOWC (autogen) */
+#endif /* HYVM_USE_MBTOWC */
#undef CDEV_CURRENT_FUNCTION