summaryrefslogtreecommitdiff
path: root/mysys/default_modify.c
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2005-05-21 23:23:39 +0200
committerunknown <kent@mysql.com>2005-05-21 23:23:39 +0200
commit05e658235b3dff6a52ccf980ee3ae37e0c8d1af2 (patch)
tree6bbc0c97868ea268c3d8b91d85aa635186d25fcd /mysys/default_modify.c
parentfd6acea25561bffb3349833ff5c03bbf56cfd924 (diff)
downloadmariadb-git-05e658235b3dff6a52ccf980ee3ae37e0c8d1af2.tar.gz
default_modify.c:
Use MY_STAT to declare argument to my_fstat() des_key_file.cc: Use local seach path for "mysql_priv.h" mysys.dsp, libmysqld.dsp, libmysql.dsp: New file needed, "../mysys/default_modify.c" VC++Files/libmysql/libmysql.dsp: New file needed, "../mysys/default_modify.c" VC++Files/libmysqld/libmysqld.dsp: New file needed, "../mysys/default_modify.c" VC++Files/mysys/mysys.dsp: New file needed, "../mysys/default_modify.c" sql/des_key_file.cc: Use local seach path for "mysql_priv.h" mysys/default_modify.c: Use MY_STAT to declare argument to my_fstat()
Diffstat (limited to 'mysys/default_modify.c')
-rw-r--r--mysys/default_modify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/default_modify.c b/mysys/default_modify.c
index 3476b8628cf..add4317bb56 100644
--- a/mysys/default_modify.c
+++ b/mysys/default_modify.c
@@ -42,7 +42,7 @@ int modify_defaults_file(const char *file_location, const char *option,
const char *section_name, int remove_option)
{
FILE *cnf_file;
- struct stat file_stat;
+ MY_STAT file_stat;
char linebuff[BUFF_SIZE], tmp[BUFF_SIZE], *tmp_ptr, *src_ptr, *dst_ptr,
*file_buffer;
uint optlen, optval_len, sect_len;