X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=AppPkg%2FApplications%2FPython%2FPython-2.7.2%2FPython%2Fstrdup.c;fp=AppPkg%2FApplications%2FPython%2FPython-2.7.2%2FPython%2Fstrdup.c;h=0000000000000000000000000000000000000000;hp=deef5342da476a28d986ebf5848f21bd325e3733;hb=964f432b9b0afe103c41c7613fade3e699118afe;hpb=e2d3a25f1a3135221a9c8061e1b8f90245d727eb diff --git a/AppPkg/Applications/Python/Python-2.7.2/Python/strdup.c b/AppPkg/Applications/Python/Python-2.7.2/Python/strdup.c deleted file mode 100644 index deef5342da..0000000000 --- a/AppPkg/Applications/Python/Python-2.7.2/Python/strdup.c +++ /dev/null @@ -1,14 +0,0 @@ -/* strdup() replacement (from stdwin, if you must know) */ - -#include "pgenheaders.h" - -char * -strdup(const char *str) -{ - if (str != NULL) { - register char *copy = malloc(strlen(str) + 1); - if (copy != NULL) - return strcpy(copy, str); - } - return NULL; -}