OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 19-Mar-2003 08:59:05
Branch: OPENPKG_1_2_SOLID Handle: 2003031907590500
Modified files: (Branch: OPENPKG_1_2_SOLID)
openpkg-src/mysql mysql.patch
Log:
add missing patch from 3.23.56
Summary:
Revision Changes Path
1.3.4.3 +31 -2 openpkg-src/mysql/mysql.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mysql/mysql.patch
============================================================================
$ cvs diff -u -r1.3.4.2 -r1.3.4.3 mysql.patch
--- openpkg-src/mysql/mysql.patch 18 Mar 2003 11:32:49 -0000 1.3.4.2
+++ openpkg-src/mysql/mysql.patch 19 Mar 2003 07:59:05 -0000 1.3.4.3
@@ -152,8 +152,16 @@
fi
echo "Please report any problems with the @scriptdir@/mysqlbug script!"
--- mysys/default.c.dist Thu Jan 16 13:39:26 2003
-+++ mysys/default.c Thu Jan 16 13:39:37 2003
-@@ -48,7 +48,7 @@
++++ mysys/default.c Wed Mar 19 01:25:09 2003
+@@ -39,6 +39,7 @@
+ #include "mysys_priv.h"
+ #include "m_string.h"
+ #include "m_ctype.h"
++#include <my_dir.h>
+
+ char *defaults_extra_file=0;
+
+@@ -48,7 +49,7 @@
#ifdef __WIN__
"C:/",
#else
@@ -162,6 +170,27 @@
#endif
#ifdef DATADIR
DATADIR,
+@@ -241,6 +242,20 @@
+ {
+ strmov(name,config_file);
+ }
++ fn_format(name,name,"","",4);
++#if !defined(__WIN__) && !defined(OS2)
++ {
++ MY_STAT stat_info;
++ if (!my_stat(name,&stat_info,MYF(0)))
++ return 0;
++ if (stat_info.st_mode & S_IWOTH) /* ignore world-writeable files */
++ {
++ fprintf(stderr, "warning: World-writeable config file %s is ignored\n",
++ name);
++ return 0;
++ }
++ }
++#endif
+ if (!(fp = my_fopen(fn_format(name,name,"","",4),O_RDONLY,MYF(0))))
+ return 0; /* Ignore wrong files */
+
--- mysys/my_copy.c.dist Tue Mar 18 10:17:00 2003
+++ mysys/my_copy.c Tue Mar 18 10:17:20 2003
@@ -32,17 +32,29 @@
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]