[Webkit-unassigned] [Bug 74373] Don't create empty file if gperf fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 15 05:07:48 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=74373





--- Comment #7 from Rafael Ávila de Espíndola <rafael.espindola at gmail.com>  2012-04-15 05:07:48 PST ---
(In reply to comment #6)
> Some systems' version of gperf doesn't have the --output-file flag. Is it possible to detect if the file is empty and delete it instead?

That would create a race condition, no? What I think can be done is

gperf > foo.tmp && mv foo.tmp foo

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list