diff options
author | Craig A. Berry <craigberry@mac.com> | 2005-05-28 18:18:46 -0500 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2005-05-29 04:45:05 +0000 |
commit | 94a11853edc681701a5fe80474ba2a421f2a4aef (patch) | |
tree | 2e6d39a23c41cdc6d820f7c9a52d63a1775bab01 | |
parent | 85827533e60ade365bb1a181edd9766766750b4a (diff) | |
download | perl-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
-rw-r--r-- | doio.c | 4 | ||||
-rw-r--r-- | perly.c | 4 | ||||
-rw-r--r-- | vms/descrip_mms.template | 4 | ||||
-rw-r--r-- | vms/gen_shrfls.pl | 2 | ||||
-rw-r--r-- | vms/vms.c | 8 | ||||
-rw-r--r-- | vms/vmsish.h | 2 |
6 files changed, 12 insertions, 12 deletions
@@ -2357,8 +2357,8 @@ Perl_start_glob (pTHX_ SV *tmpglob, IO *io) if ((tmpfp = PerlIO_tmpfile()) != NULL) { Stat_t st; if (!PerlLIO_stat(SvPVX_const(tmpglob),&st) && S_ISDIR(st.st_mode)) - ok = ((wilddsc.dsc$a_pointer = tovmspath(SvPVX_const(tmpglob),vmsspec)) != NULL); - else ok = ((wilddsc.dsc$a_pointer = tovmsspec(SvPVX_const(tmpglob),vmsspec)) != NULL); + ok = ((wilddsc.dsc$a_pointer = tovmspath(SvPVX(tmpglob),vmsspec)) != NULL); + else ok = ((wilddsc.dsc$a_pointer = tovmsspec(SvPVX(tmpglob),vmsspec)) != NULL); if (ok) wilddsc.dsc$w_length = (unsigned short int) strlen(wilddsc.dsc$a_pointer); for (cp=wilddsc.dsc$a_pointer; ok && cp && *cp; cp++) if (*cp == '?') *cp = '%'; /* VMS style single-char wildcard */ @@ -322,7 +322,7 @@ Perl_yyparse (pTHX) #ifdef DEBUGGING yyns_sv = NEWSV(73, YYINITDEPTH * sizeof(char *)); SAVEFREESV(yyns_sv); - yyns = SvPVX_const(yyns_sv); + yyns = (const char **) SvPVX(yyns_sv); yynsp = yyns; #endif @@ -366,7 +366,7 @@ Perl_yyparse (pTHX) yyvs = (YYSTYPE *) SvPVX(yyvs_sv); #ifdef DEBUGGING SvGROW(yyns_sv, yystacksize * sizeof(char *)); - yyns = SvPVX_const(yyns_sv); + yyns = (const char **) SvPVX(yyns_sv); if (! yyns) goto yyoverflowlab; yynsp = yyns + yysize - 1; diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template index cfd929a315..1801f1c3ba 100644 --- a/vms/descrip_mms.template +++ b/vms/descrip_mms.template @@ -497,7 +497,7 @@ unidatafiles.ts : $(MINIPERL_EXE) [.lib]Config.pm [.lib.unicore]mktables @ If F$Search("$(MMS$TARGET)").nes."" Then Delete/NoLog/NoConfirm $(MMS$TARGET);* @ Copy/NoConfirm _NLA0: $(MMS$TARGET) -[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE) +[.ext.dynaloader]dl_vms.c : [.ext.dynaloader]dl_vms.xs $(ARCHDIR)Config.pm [.lib.ExtUtils]XSSymSet.pm $(MINIPERL_EXE) [.lib.VMS]Filespec.pm $(XSUBPP) $(MMS$SOURCE) >$(MMS$TARGET) [.ext.dynaloader]dl_vms$(O) : [.ext.dynaloader]dl_vms.c @@ -1575,7 +1575,7 @@ run$(O) : run.c $(h) $(CC) $(CORECFLAGS) $(MMS$SOURCE) scope$(O) : scope.c $(h) $(CC) $(CORECFLAGS) $(MMS$SOURCE) -sv$(O) : sv.c +sv$(O) : sv.c $(h) $(CC) $(CORECFLAGS) $(MMS$SOURCE) taint$(O) : taint.c $(h) $(CC) $(CORECFLAGS) $(MMS$SOURCE) diff --git a/vms/gen_shrfls.pl b/vms/gen_shrfls.pl index f8bf6b190b..50ae3e3e8a 100644 --- a/vms/gen_shrfls.pl +++ b/vms/gen_shrfls.pl @@ -152,7 +152,7 @@ sub scan_func { $line =~ s/\b(IV|Off_t|Size_t|SSize_t|void)\b//i; if ( $line =~ /(\w+)\s*\(/ ) { print "\troutine name is \\$1\\\n" if $debug > 1; - if ($1 eq 'main' || $1 eq 'perl_init_ext') { + if ($1 eq 'main' || $1 eq 'perl_init_ext' || $1 eq '__attribute__format__') { print "\tskipped\n" if $debug > 1; } else { $fcns{$1}++ } @@ -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); diff --git a/vms/vmsish.h b/vms/vmsish.h index 319be921ee..dea963f23b 100644 --- a/vms/vmsish.h +++ b/vms/vmsish.h @@ -828,7 +828,7 @@ unsigned int Perl_sig_to_vmscondition (int); int Perl_my_kill (int, int); void Perl_csighandler_init (void); #endif -int Perl_my_utime (pTHX_ char *, struct utimbuf *); +int Perl_my_utime (pTHX_ const char *, const struct utimbuf *); void Perl_vms_image_init (int *, char ***); struct dirent * Perl_readdir (pTHX_ DIR *); int Perl_readdir_r(pTHX_ DIR *, struct dirent *, struct dirent **); |