diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-03-20 22:37:06 +0000 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-20 23:28:13 +0100 |
commit | c91f661cc54e358485dc7396a166dc08c6867a38 (patch) | |
tree | 269937c14366d9d6f728023366ed301ecfe36475 /cygwin | |
parent | 8c3a0f6ca6a8f3a02c3394507eb4284c1017dba1 (diff) | |
download | perl-c91f661cc54e358485dc7396a166dc08c6867a38.tar.gz |
Remove use of dVAR in core
It only does anything under PERL_GLOBAL_STRUCT, which is gone.
Keep the dNOOP defintion for CPAN back-compat
Diffstat (limited to 'cygwin')
-rw-r--r-- | cygwin/cygwin.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cygwin/cygwin.c b/cygwin/cygwin.c index 56094b9b95..3bb5818e58 100644 --- a/cygwin/cygwin.c +++ b/cygwin/cygwin.c @@ -163,7 +163,6 @@ wide_to_utf8(const wchar_t *wbuf) char *buf; int wlen = 0; char *oldlocale; - dVAR; /* Here and elsewhere in this file, we have a critical section to prevent * another thread from changing the locale out from under us. XXX But why @@ -193,7 +192,6 @@ utf8_to_wide(const char *buf) mbstate_t mbs; char *oldlocale; int wlen = sizeof(wchar_t)*strlen(buf); - dVAR; LOCALE_LOCK; @@ -308,7 +306,6 @@ XS(XS_Cygwin_win_to_posix_path) if (!IN_BYTES) { mbstate_t mbs; char *oldlocale; - dVAR; LOCALE_LOCK; @@ -400,7 +397,6 @@ XS(XS_Cygwin_posix_to_win_path) wchar_t *wpath = (wchar_t *) safemalloc(sizeof(wchar_t)*len); wchar_t *wbuf = (wchar_t *) safemalloc(wlen); char *oldlocale; - dVAR; LOCALE_LOCK; |