This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Today's snapshot


On Tue, 27 May 2003, Ranjit Mathew wrote:
> 1. The "diffs" folder is empty.

This is true, and was due to a bug in my changes (and a minor design
issue with the script as well as weak error handling).

I have fixed this manually -- would you mind testing whether the diff
files (.bz2 only) are okay?

> 2. Both bz2 and gz files are present.
>     (So gzip was indeed "requested" this time.)

Yes, this was intentional.  I'm making small steps to reduce the risk
of breaking this delicate script.
>
> BTW, we use "gzip --best" but only vanilla "bzip2" - would it
> not be better if we use "bzip2 -9" as well?

No, it wouldn't make a difference:

   -1 (or --fast) to -9 (or --best)
          Set  the  block size to 100 k, 200 k ..  900 k when compressing.
          Has no effect when decompressing.  See MEMORY MANAGEMENT  below.
          The --fast and --best aliases are primarily for GNU gzip compat-
          ibility.  In particular, --fast  doesn't  make  things  signifi-
          cantly faster.  And --best merely selects the default behaviour.

> > +# Build .gz files.
> > +build_gzip() {
> >    for f in ${FILE_LIST}; do
> > -    bzfile=${f%.gz}.bz2
> > -    (zcat $f | ${BZIP2} > ${bzfile}) || error "Could not create ${bzfile}"
> > +    bzfile=${f%.bz2}.gz
>         ^^^^^^
> Should it not be "gzfile"?

I have renamed this to target now.

> Thank you for making these changes - consider me one of the most ardent
> cheerleaders for this enterprise. ;-)

Send pictures. :-)

Gerald

PS: My plan is now to make improvements to the error handling (and fix
the minor bug that prevented generation of the diffs).  Should next
week's snapshot work out fine, I'll disable generation of .gz files for
snapshots and proceed with adding the major release as part of snapshot
directories and filenames.
-- 
Gerald "Jerry"   pfeifer@dbai.tuwien.ac.at   http://www.pfeifer.com/gerald/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]