harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r635915 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/common/shared/iohelp.c
Date Tue, 11 Mar 2008 13:11:58 GMT
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';



Mime
View raw message