summaryrefslogtreecommitdiff
path: root/vms/vms.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2011-08-27 22:20:16 -0500
committerCraig A. Berry <craigberry@mac.com>2011-08-27 22:20:16 -0500
commit29475144d546bc21d52fcc452ac0a8d41d3b7d7d (patch)
tree31ceb08ff2547c0f3d2544fd104a8d9869c4c6a9 /vms/vms.c
parentf7c699a030d8718d015e123f65e2e2294e2eab99 (diff)
downloadperl-29475144d546bc21d52fcc452ac0a8d41d3b7d7d.tar.gz
Close some unclosed comments in vms/vms.c.
Clearly this code is not well-tested. Especially the parts that the compiler couldn't see because it was hidden by unclosed comment blocks. Ouch. I'm not going to name names or look too deep in the blame log, but suffice it to say that this is why patches that add hundreds of lines of new code without tests should not be accepted.
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 e01118488b..51bfa3c66b 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -5254,14 +5254,14 @@ Stat_t dst_st;
if (vms_dir_file == NULL)
_ckvmssts_noperl(SS$_INSFMEM);
- /* If the dest is a directory, we must remove it
+ /* If the dest is a directory, we must remove it */
if (dst_sts == 0) {
int d_sts;
d_sts = mp_do_kill_file(aTHX_ dst_st.st_devnam, 1);
if (d_sts != 0) {
PerlMem_free(vms_dst);
errno = EIO;
- return sts;
+ return d_sts;
}
pre_delete = 1;
@@ -14260,7 +14260,7 @@ mp_do_vms_realpath(pTHX_ const char *filespec, char *outbuf,
/* 2. ODS-5 / UNIX report mode should return a failure */
/* if the parent directory also does not exist */
/* Otherwise, get the real path for the parent */
- /* and add the child to it.
+ /* and add the child to it. */
/* basename / dirname only available for VMS 7.0+ */
/* So we may need to implement them as common routines */
@@ -14321,7 +14321,7 @@ mp_do_vms_realpath(pTHX_ const char *filespec, char *outbuf,
dir_name, 0, NULL);
if (sts == 0) {
- /* Now need to pathify it.
+ /* Now need to pathify it. */
char *tdir = int_pathify_dirspec(vms_dir_name,
outbuf);