Project

General

Profile

Bug #5615 ยป hash.c.patch

Anonymous, 11/11/2011 02:56 PM

View differences:

hash.c 2011-11-11 14:32:51.000000000 +0900
if (value) {
str = malloc(len += strlen(value) + 2);
snprintf(str, len, "%s=%s", name, value);
if (putenv(str))
if (putenv(str)) {
free(str);
rb_sys_fail("putenv");
}
free(str);
}
#else /* WIN32 */
size_t len;
    (1-1/1)