summaryrefslogtreecommitdiff
path: root/mysys/my_redel.c
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:26:38 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:26:38 -0300
commit6420d6dc4a819cf5304b69d9270da0fcdbfb60ba (patch)
tree7448b8d48b397207357910233d7213495e18b77d /mysys/my_redel.c
parentbdab1de458317c2dc7074eb54cec908ca320272e (diff)
downloadmariadb-git-6420d6dc4a819cf5304b69d9270da0fcdbfb60ba.tar.gz
WL#5486: Remove code for unsupported platforms
Remove VMS specific code.
Diffstat (limited to 'mysys/my_redel.c')
-rw-r--r--mysys/my_redel.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/mysys/my_redel.c b/mysys/my_redel.c
index 0ec329a608b..300bac6e296 100644
--- a/mysys/my_redel.c
+++ b/mysys/my_redel.c
@@ -100,7 +100,6 @@ int my_copystat(const char *from, const char *to, int MyFlags)
res= chown(to, statbuf.st_uid, statbuf.st_gid); /* Copy ownership */
#endif /* !__WIN__ */
-#ifndef VMS
if (MyFlags & MY_COPYTIME)
{
struct utimbuf timep;
@@ -108,14 +107,6 @@ int my_copystat(const char *from, const char *to, int MyFlags)
timep.modtime = statbuf.st_mtime;
(void) utime((char*) to, &timep);/* Update last accessed and modified times */
}
-#else
- if (MyFlags & MY_COPYTIME)
- {
- 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 */
- }
-#endif
+
return 0;
} /* my_copystat */