diff options
author | unknown <lenz@kallisto.local> | 2003-09-24 08:35:02 +0200 |
---|---|---|
committer | unknown <lenz@kallisto.local> | 2003-09-24 08:35:02 +0200 |
commit | 07001f78eca148d143ebf7fea66f4296a19a6d51 (patch) | |
tree | 7a953ea10b82122bdf37cf7efc4cfd3fd9a20b17 /libmysql | |
parent | 51f7838ab49f25f7bcd0383cc37bd00fb3d8a010 (diff) | |
download | mariadb-git-07001f78eca148d143ebf7fea66f4296a19a6d51.tar.gz |
- Code cleanup: replaced C++-style comments with the proper syntax for
.c files (the IBM Visual Age C compiler aborts with a syntax error
on these)
libmysql/dll.c:
- replaced C++-style comment with the proper syntax for .c files
(the IBM Visual Age C compiler aborts with a syntax error on these)
libmysql/libmysql.c:
- replaced C++-style comment with the proper syntax for .c files
(the IBM Visual Age C compiler aborts with a syntax error on these)
mysys/my_getopt.c:
- replaced C++-style comment with the proper syntax for .c files
(the IBM Visual Age C compiler aborts with a syntax error on these)
sql/net_serv.cc:
- replaced C++-style comment with the proper syntax for .c files
(the IBM Visual Age C compiler aborts with a syntax error on these)
strings/ctype-bin.c:
- replaced C++-style comment with the proper syntax for .c files
(the IBM Visual Age C compiler aborts with a syntax error on these)
tests/client_test.c:
- replaced C++-style comment with the proper syntax for .c files
(the IBM Visual Age C compiler aborts with a syntax error on these)
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/dll.c | 2 | ||||
-rw-r--r-- | libmysql/libmysql.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libmysql/dll.c b/libmysql/dll.c index 92aa611000b..e9334d68a0c 100644 --- a/libmysql/dll.c +++ b/libmysql/dll.c @@ -123,7 +123,7 @@ extern "C" unsigned long _System DllMain(unsigned long modhandle, unsigned long flag) { if (flag == 0) { - tzset(); // Set tzname + tzset(); /* Set tzname */ time_t currentTime = time(NULL); struct tm *ts = localtime(¤tTime); if (ts->tm_isdst > 0) diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index debe3e54679..3efce367cae 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -629,7 +629,7 @@ my_bool STDCALL mysql_change_user(MYSQL *mysql, const char *user, } } else - *end++= '\0'; // empty password + *end++= '\0'; /* empty password */ /* Add database if needed */ end= strmov(end, db ? db : "") + 1; |