]> mj.ucw.cz Git - libucw.git/commit
When we try to create a temporary file and it already exists (which can happen
authorMartin Mares <mj@ucw.cz>
Tue, 2 Mar 2004 15:38:20 +0000 (15:38 +0000)
committerMartin Mares <mj@ucw.cz>
Tue, 2 Mar 2004 15:38:20 +0000 (15:38 +0000)
commit93cdcca9ba4018c094c558418a120928f2ab32ee
treeb7fdccb72d1a5dbdb9b4c751005c83c084fa297b
parenta2662d8b845c949e319d18c903d0086f02d2f9ae
When we try to create a temporary file and it already exists (which can happen
if a program with the same PID has crashed at some time in the past), don't
panic and rewrite the file. Should be safe since we're using our own tmp directory
nobody else can access.
lib/fb-temp.c