ref: 49d389ea43c0e3ef3504e76a0a25de93e13411c9
parent: 36755242a6d7fd8b87b1209c1f5c0614b5510d6b
author: sl <[email protected]>
date: Tue Dec 16 02:08:05 EST 2008
Add comment noting a possible bug in fproc.
--- a/bin/fproc_cache.rc
+++ b/bin/fproc_cache.rc
@@ -12,6 +12,7 @@
if(test -s $cachedir/$proc)
cat $cachedir/$proc
if not {
+ # XXX For reliability mv should not be called unless both $proc and tee suceed
$proc < $tmpfile | tee $cachedir/$pid
mv $cachedir/$pid $cachedir/$proc
}