Staging
v0.5.1
v0.5.1
Revision eee44f28a93adbf8ff0b9391ddd0e77e99bbc55f authored by Zachary Ware on 06 February 2014, 21:46:38 UTC, committed by Zachary Ware on 06 February 2014, 21:46:38 UTC
doesn't have __objclass__.
1 parent a26b3f1
strdup.c
/* strdup() replacement (from stdwin, if you must know) */
#include "pgenheaders.h"
char *
strdup(const char *str)
{
if (str != NULL) {
char *copy = malloc(strlen(str) + 1);
if (copy != NULL)
return strcpy(copy, str);
}
return NULL;
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...