diff options
author | Craig A. Berry <craigberry@mac.com> | 2015-07-11 22:37:56 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2015-07-12 08:32:01 -0500 |
commit | 931a625beed2a34b7d28dca23d41b17e658509d5 (patch) | |
tree | 1e7edeaf2bef5a90569960dd42df630cd75ff95d /vms/vms.c | |
parent | ba4fc2b447d5c04e1ada54027c446d03452dcb25 (diff) | |
download | perl-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.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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 |