Commit 2d1411df authored by unknown's avatar unknown

Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0

into mysql.com:/space/my/mysql-4.0

parents 39734017 e103eeb2
...@@ -249,7 +249,8 @@ static my_bool search_default_file(DYNAMIC_ARRAY *args, MEM_ROOT *alloc, ...@@ -249,7 +249,8 @@ static my_bool search_default_file(DYNAMIC_ARRAY *args, MEM_ROOT *alloc,
MY_STAT stat_info; MY_STAT stat_info;
if (!my_stat(name,&stat_info,MYF(0))) if (!my_stat(name,&stat_info,MYF(0)))
return 0; return 0;
if (stat_info.st_mode & S_IWOTH) /* ignore world-writeable files */ /* ignore world-writeable _regular_ files */
if (stat_info.st_mode & S_IWOTH && stat_info.st_mode & S_IFREG)
{ {
fprintf(stderr, "warning: World-writeable config file %s is ignored\n", fprintf(stderr, "warning: World-writeable config file %s is ignored\n",
name); name);
......
...@@ -76,5 +76,4 @@ can to add this directory to your PATH environment ...@@ -76,5 +76,4 @@ can to add this directory to your PATH environment
variable in your login script. For the default shell variable in your login script. For the default shell
"tcsh", you can do this by running this command once: "tcsh", you can do this by running this command once:
echo 'setenv PATH $PATH:/usr/local/mysql/bin' >> ~/.tcshrc echo 'setenv PATH ${PATH}:/usr/local/mysql/bin' >> ~/.tcshrc
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment