summaryrefslogtreecommitdiff
path: root/vms/vms.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2015-07-11 22:37:56 -0500
committerCraig A. Berry <craigberry@mac.com>2015-07-12 08:32:01 -0500
commit931a625beed2a34b7d28dca23d41b17e658509d5 (patch)
tree1e7edeaf2bef5a90569960dd42df630cd75ff95d /vms/vms.c
parentba4fc2b447d5c04e1ada54027c446d03452dcb25 (diff)
downloadperl-931a625beed2a34b7d28dca23d41b17e658509d5.tar.gz
Use CRTL getlogin and getlogin_r on VMS.
The CRTL has supplied getlogin since v7.0, so let's not use the home-made one anymore. Plus the CRTL als has a reentrant version, so we'll use that under threads.
Diffstat (limited to 'vms/vms.c')
-rw-r--r--vms/vms.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/vms/vms.c b/vms/vms.c
index 627044e3e4..d415413e37 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -12160,17 +12160,6 @@ Perl_flex_lstat(pTHX_ const char *fspec, Stat_t *statbufp)
/*}}}*/
-/*{{{char *my_getlogin()*/
-/* VMS cuserid == Unix getlogin, except calling sequence */
-char *
-my_getlogin(void)
-{
- static char user[L_cuserid];
- return cuserid(user);
-}
-/*}}}*/
-
-
/* rmscopy - copy a file using VMS RMS routines
*
* Copies contents and attributes of spec_in to spec_out, except owner