summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tmpfile.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2014-11-22 20:55:21 +0000
committern_hibma <n_hibma@FreeBSD.org>2014-11-22 20:55:21 +0000
commit15c962e2cf251ecb02fff88e145234405ff94148 (patch)
tree31fd4f2909da5ed77e47562cb95256b4b3978701 /lib/libc/stdio/tmpfile.c
parent19b6e68597a665d49b84fd5a0f309a9a089e756c (diff)
downloadFreeBSD-src-15c962e2cf251ecb02fff88e145234405ff94148.zip
FreeBSD-src-15c962e2cf251ecb02fff88e145234405ff94148.tar.gz
MFC:
------------------------------------------------------------------------ r274792 | n_hibma | 2014-11-21 15:53:42 +0100 (Fri, 21 Nov 2014) | 5 lines Simply remove the tmp dir before creating the symlink. We are doing chroots all over the place, so there is bound to be a stale file lying around in there (in my case samba lock files from creating accounts). If we don't do that, the symlink later will fail. ------------------------------------------------------------------------
Diffstat (limited to 'lib/libc/stdio/tmpfile.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud