Updated package list to match new versions / new packages.
[beastbuild.git] / mktemp-1.6-2.diff
1 --- mktemp-1.6/mktemp.c 2008-08-17 16:57:04 +0000
2 +++ mktemp-1.6-patched/mktemp.c 2009-06-20 11:36:56 +0000
3 @@ -151,6 +151,12 @@
4  
5                 if (!Tflag) {
6                         cp = getenv("TMPDIR");
7 +                       if (cp == NULL || *cp == '\0')
8 +                               cp = getenv("TMP");
9 +                       if (cp == NULL || *cp == '\0')
10 +                               cp = getenv("TEMP");
11 +                       if (cp == NULL || *cp == '\0')
12 +                               cp = getenv("USERPROFILE");
13                         if (cp != NULL && *cp != '\0')
14                                 prefix = cp;
15                 }