1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/databases/mysql60-server/files/patch-mysys_default.c
2005-06-08 07:32:15 +00:00

23 lines
640 B
C

--- mysys/default.c.orig Thu May 26 15:26:56 2005
+++ mysys/default.c Fri Jun 3 17:16:59 2005
@@ -517,7 +517,7 @@
{
MY_STAT stat_info;
if (!my_stat(name,&stat_info,MYF(0)))
- return 1;
+ return 0;
/*
Ignore world-writable regular files.
This is mainly done to protect us to not read a file created by
@@ -867,9 +867,8 @@
*ptr++= env;
#endif
*ptr++= "/etc/";
+ *ptr++= "%%PREFIX%%/etc/";
#endif
- if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
- *ptr++= env;
*ptr++= ""; /* Place for defaults_extra_file */
#if !defined(__WIN__) && !defined(__NETWARE__)
*ptr++= "~/";;