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/03/11 14:11:58 UTC
svn commit: r635915 -
/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/common/shared/iohelp.c
Author: hindessm
Date: Tue Mar 11 06:11:57 2008
New Revision: 635915
URL: http://svn.apache.org/viewvc?rev=635915&view=rev
Log:
Avoid a gcc warning about comments within comments.
Modified:
harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/common/shared/iohelp.c
Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/common/shared/iohelp.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/common/shared/iohelp.c?rev=635915&r1=635914&r2=635915&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/common/shared/iohelp.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/common/shared/iohelp.c Tue Mar 11 06:11:57 2008
@@ -52,7 +52,7 @@
if ((pathIndex > path) && (length > (pathIndex - path))
&& (*(pathIndex + 1) == ':'))
{
- /* For Example '////c:/*' */
+ /* For Example '////c:/!*' (! added to avoid gcc warning) */
int newlen = length - (pathIndex - path);
memmove (path, pathIndex, newlen);
path[newlen] = '\0';
@@ -61,7 +61,7 @@
{
if ((pathIndex - path > 3) && (length > (pathIndex - path)))
{
- /* For Example '////serverName/*' */
+ /* For Example '////serverName/!*' (! added to avoid gcc warning) */
int newlen = length - (pathIndex - path) + 2;
memmove (path, pathIndex - 2, newlen);
path[newlen] = '\0';