Re: [Bashburn-info] DANGER, DANGER Will Robinson... we have a big issue
Brought to you by:
bashburn
|
From: Nick W. <ni...@uk...> - 2008-09-02 15:35:10
|
On Tue, 2 Sep 2008 11:23:50 -0400 (EDT) "Steven W. Orr" <st...@sy...> wrote: > It could be in /tmp but it really doesn't matter: > > 1. We cp then rm instead of mv. If we did an mv then we might have to > worry if the directory that the tmpfile was in was in a different > partition than the current dir. > > 2. The size of the file is measured in O(<1k) so it doesn't matter > from that end either. > > The important thing is that mktemp should actually be given a > template for what the file should be called. If there's a problem > that needs to be debugged, then we know which file to look at. OK, I see. BTW, can you please explain what you done here? In config/apply_options.sh There is: typeset bbtempfile=$(mktemp) and later... bbtempfile=$(mktemp bashburn_apply_opts.XXXXXX) Isn't the first assignment redundant? Nick -- Free Software Foundation Associate Member 5508 |