# New Ticket Created by "Andrew Whitworth" # Please include the string: [perl #50770] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=50770 >
This is a patch for RT#48276 "Warn when failure occurs in Parrot_setenv()". I apologize in advance if this is not the correct way to submit patches for specific tickets. Files affected: config/platform/win32/env.c I updated Parrot_setenv() to call Parrot_warn() for the two failure modes. I also made note of the fact that a warning might not be enough, because a failure of malloc or _putenv might be an indicator of a big problem. --Andrew Whitworth
mywin32env.patch
Description: Binary data