Summary

current-user-id setter from (chicken process-context posix) maybe needs some argument validation

Metadata

Description

 #;2> (set! (current-user-id) "abracadabra")
 #;3> (current-user-id)
 2245824928

This should fail with an error rather than setting the uid to a bogus value. Maybe the current-user-id setter could be made to take a string and do a uid lookup, but that's a discussion for another day.

Changes and comments

[2021-09-24 08:18:36 UTC] sjamaan changed milestone from someday to 5.3

[2021-09-24 08:18:36 UTC] sjamaan wrote:

Trivial enough to fix for 5.3.0

[2021-09-25 06:11:30 UTC] evhan changed status from new to closed

[2021-09-25 06:11:30 UTC] evhan set resolution to fixed

[2021-09-25 06:11:30 UTC] evhan wrote:

Fixed by 95ea81bd.