Deleted Added
full compact
30c30
< __FBSDID("$FreeBSD: head/usr.bin/fetch/fetch.c 243147 2012-11-16 12:05:10Z andre $");
---
> __FBSDID("$FreeBSD: head/usr.bin/fetch/fetch.c 244037 2012-12-08 18:41:16Z eadler $");
621c621,624
< mkstemps(tmppath, strlen(slash) + 1);
---
> if (mkstemps(tmppath, strlen(slash) + 1) == -1) {
> warn("%s: mkstemps()", path);
> goto failure;
> }
991c994,995
< setenv("NETRC", N_filename, 1);
---
> if (setenv("NETRC", N_filename, 1) == -1)
> err(1, "setenv: cannot set NETRC=%s", N_filename);