summaryrefslogtreecommitdiff
path: root/mysys/my_redel.c
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-11-27 18:11:05 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-11-27 18:11:05 +0100
commit566bcab328d05c215ef7f4bddd603e0361f40e72 (patch)
tree87365effe6f9f67269ad7c47f5136f34a867ae52 /mysys/my_redel.c
parent9ea65e5fa98ad56925d709d853a621de38cf1a71 (diff)
parent3c11750e363da6e1017d5bc86e9e7e03b2c4e101 (diff)
downloadmariadb-git-566bcab328d05c215ef7f4bddd603e0361f40e72.tar.gz
Merge WL#5138 to mysql-next-mr
Diffstat (limited to 'mysys/my_redel.c')
-rw-r--r--mysys/my_redel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/my_redel.c b/mysys/my_redel.c
index 6521253f949..77040870048 100644
--- a/mysys/my_redel.c
+++ b/mysys/my_redel.c
@@ -89,7 +89,7 @@ int my_copystat(const char *from, const char *to, int MyFlags)
}
if ((statbuf.st_mode & S_IFMT) != S_IFREG)
return 1;
- VOID(chmod(to, statbuf.st_mode & 07777)); /* Copy modes */
+ (void) chmod(to, statbuf.st_mode & 07777); /* Copy modes */
#if !defined(__WIN__) && !defined(__NETWARE__)
if (statbuf.st_nlink > 1 && MyFlags & MY_LINK_WARNING)
@@ -107,7 +107,7 @@ int my_copystat(const char *from, const char *to, int MyFlags)
struct utimbuf timep;
timep.actime = statbuf.st_atime;
timep.modtime = statbuf.st_mtime;
- VOID(utime((char*) to, &timep));/* Update last accessed and modified times */
+ (void) utime((char*) to, &timep);/* Update last accessed and modified times */
}
#else
if (MyFlags & MY_COPYTIME)
@@ -115,7 +115,7 @@ int my_copystat(const char *from, const char *to, int MyFlags)
time_t time[2];
time[0]= statbuf.st_atime;
time[1]= statbuf.st_mtime;
- VOID(utime((char*) to, time));/* Update last accessed and modified times */
+ (void) utime((char*) to, time);/* Update last accessed and modified times */
}
#endif
#endif