From c47c94f958dd11be44bad16cd5d97d9f2fea6dbf Mon Sep 17 00:00:00 2001 From: Xanadu Date: Sat, 5 Mar 2011 00:50:00 +0100 Subject: Dep/MySQL: Updated MySQL sources to version 5.5.9 (current GA) --- dep/mysqllite/mysys/mf_path.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'dep/mysqllite/mysys/mf_path.c') diff --git a/dep/mysqllite/mysys/mf_path.c b/dep/mysqllite/mysys/mf_path.c index 73e73cb7f76..92cb62e6827 100644 --- a/dep/mysqllite/mysys/mf_path.c +++ b/dep/mysqllite/mysys/mf_path.c @@ -42,7 +42,7 @@ char * my_path(char * to, const char *progname, ((prog=getenv("_")) != 0 && dirname_part(to, prog, &to_length)))) { - VOID(intern_filename(to,to)); + (void) intern_filename(to,to); if (!test_if_hard_path(to)) { if (!my_getwd(curr_dir,FN_REFLEN,MYF(0))) @@ -60,11 +60,11 @@ char * my_path(char * to, const char *progname, end= (char*) "/my/"; #endif } - VOID(intern_filename(to,end)); + (void) intern_filename(to,end); to=strend(to); if (to != start && to[-1] != FN_LIBCHAR) *to++ = FN_LIBCHAR; - VOID(strmov(to,own_pathname_part)); + (void) strmov(to,own_pathname_part); } DBUG_PRINT("exit",("to: '%s'",start)); DBUG_RETURN(start); @@ -78,9 +78,6 @@ char * my_path(char * to, const char *progname, #define F_OK 0 #define PATH_SEP ';' #define PROGRAM_EXTENSION ".exe" -#elif defined(__NETWARE__) -#define PATH_SEP ';' -#define PROGRAM_EXTENSION ".nlm" #else #define PATH_SEP ':' #endif -- cgit v1.2.3