summaryrefslogtreecommitdiff
path: root/vms/vms.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2005-05-28 18:18:46 -0500
committerAbhijit Menon-Sen <ams@wiw.org>2005-05-29 04:45:05 +0000
commit94a11853edc681701a5fe80474ba2a421f2a4aef (patch)
tree2e6d39a23c41cdc6d820f7c9a52d63a1775bab01 /vms/vms.c
parent85827533e60ade365bb1a181edd9766766750b4a (diff)
downloadperl-94a11853edc681701a5fe80474ba2a421f2a4aef.tar.gz
VMS build update for blead
From: "Craig A. Berry" <craigberry@mac.com> Message-Id: <429942A6.10601@mac.com> p4raw-id: //depot/perl@24613
Diffstat (limited to 'vms/vms.c')
-rw-r--r--vms/vms.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vms/vms.c b/vms/vms.c
index db1596fd48..e7687ac7ae 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -6465,8 +6465,8 @@ Perl_my_localtime(pTHX_ const time_t *timep)
*/
static const long int utime_baseadjust[2] = { 0x4beb4000, 0x7c9567 };
-/*{{{int my_utime(char *path, struct utimbuf *utimes)*/
-int Perl_my_utime(pTHX_ char *file, struct utimbuf *utimes)
+/*{{{int my_utime(const char *path, const struct utimbuf *utimes)*/
+int Perl_my_utime(pTHX_ const char *file, const struct utimbuf *utimes)
{
register int i;
long int bintime[2], len = 2, lowbit, unixtime,
@@ -6499,7 +6499,7 @@ int Perl_my_utime(pTHX_ char *file, struct utimbuf *utimes)
set_vaxc_errno(LIB$_INVARG);
return -1;
}
- if (do_tovmsspec(file,vmsspec,0) == NULL) return -1;
+ if (do_tovmsspec((char *)file,vmsspec,0) == NULL) return -1;
if (utimes != NULL) {
/* Convert Unix time (seconds since 01-JAN-1970 00:00:00.00)
@@ -6721,7 +6721,7 @@ is_null_device(name)
* subset of the applicable information.
*/
bool
-Perl_cando(pTHX_ Mode_t bit, Uid_t effective, Stat_t *statbufp)
+Perl_cando(pTHX_ Mode_t bit, Uid_t effective, const Stat_t *statbufp)
{
char fname_phdev[NAM$C_MAXRSS+1];
if (statbufp == &PL_statcache) return cando_by_name(bit,effective,namecache);