]> granicus.if.org Git - php/commitdiff
Using // is not very good idea..
authorfoobar <sniper@php.net>
Tue, 12 Nov 2002 23:34:06 +0000 (23:34 +0000)
committerfoobar <sniper@php.net>
Tue, 12 Nov 2002 23:34:06 +0000 (23:34 +0000)
ext/mysql/libmysql/libmysql.c
ext/mysql/libmysql/my_getwd.c
ext/mysql/libmysql/my_tempnam.c

index e4ddc149520182bc8be881f4af7dee1e300218b4..cd74ceb2a0b35b8c2375869b28200279c3ed4aca 100644 (file)
@@ -56,7 +56,7 @@ my_string     mysql_unix_port=0;
 #endif
 
 #if defined(MSDOS) || defined(__WIN__)
-// socket_errno is defined in global.h for all platforms
+/* socket_errno is defined in global.h for all platforms */
 #define perror(A)
 #else
 #include <errno.h>
index 9b5869e8f0c22a10f039d368b4b9c4cf0783f707..0797db25f5929bdcd844286fd0b5612c99a463ec 100644 (file)
@@ -19,7 +19,7 @@ This file is public domain and comes with NO WARRANTY of any kind */
 #endif
 
 #ifdef __EMX__
-// chdir2 support also drive change
+/* chdir2 support also drive change */
 #define chdir _chdir2
 #endif
 
index e90e2553c8b64e9bc3ff1aed4e7094e35fc66261..4a854aea0b041f7fc254c53201b49795788dff78 100644 (file)
@@ -85,10 +85,10 @@ my_string my_tempnam(const char *dir, const char *pfx,
     dir=temp;
   }
 #ifdef OS2
-  // changing environ variable doesn't work with VACPP
+  /* changing environ variable doesn't work with VACPP */
   char  buffer[256];
   sprintf( buffer, "TMP=%s", dir);
-  // remove ending backslash
+  /* remove ending backslash */
   if (buffer[strlen(buffer)-1] == '\\')
      buffer[strlen(buffer)-1] = '\0';
   putenv( buffer);