From 9b4598026c61e3984f048835186904cf2d2c5b32 Mon Sep 17 00:00:00 2001 From: Uriel Date: Tue, 16 Dec 2008 07:08:05 +0000 Subject: [PATCH] Add comment noting a possible bug in fproc. --- bin/fproc_cache.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/fproc_cache.rc b/bin/fproc_cache.rc index 50bcc63..6d419e4 100755 --- a/bin/fproc_cache.rc +++ b/bin/fproc_cache.rc @@ -12,6 +12,7 @@ mkdir -p $cachedir >[2]/dev/null 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 }