develooper Front page | perl.perl5.porters | Postings from September 2012

Remove export of setuid/setgid from perl5XX.dll on Windows?

Thread Next
Steve Hay
September 28, 2012 01:24
Remove export of setuid/setgid from perl5XX.dll on Windows?
Message ID:
The question was raised in discussions on [perl #114516] why we export
(our dummy stub versions of) setuid and setgid from perl5XX.dll on

The exports were added back in Nov 2000 by change e601c439ad (Get PerlIO
building on Win32), but there was no detail given on why their addition
was necessary.

I've tried building without them exported (and with their declarations
accordingly moved within a #ifdef PERL_CORE ... #endif) and have not
found any problems using VC++ 2010 or MinGW/gcc-4.7.0, with or without
PERL_IMPLICIT_SYS defined. I've also tried installing those builds and
then building a selection of CPAN modules (some Win32::, some not) and
still haven't found any problems.

Does anyone know why they should still be exported, or would it be
sensible to remove them as exports?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About