#2032: Small patch to add get_effective_user_id to parrot
-------------------+--------------------------------------------------------
Reporter: worr | Owner: jkeenan
Type: patch | Status: closed
Priority: minor | Milestone:
Component: core | Version: 3.1.0
Severity: low | Resolution: wontfix
Keywords: | Lang:
Patch: new | Platform: all
-------------------+--------------------------------------------------------
Changes (by cotto):
* status: assigned => closed
* resolution: => wontfix
Comment:
I'm rejecting this ticket. The current user's effective uid isn't a
concept that makes sense on all of Parrot's supported platforms. If an
HLL needs this, it can be implemented in PIR using dlfunc as follows:
{{{
.sub main :main
.local pmc nci, stub
stub = new ['Undef']
nci = dlfunc stub, 'getuid', 'i'
$I0 = nci()
say $I0
.end
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/2032#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets