X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=bits.c;h=ddb150971069e415aef72df101691db33eb13b48;hb=bc2af9e8ae0da135d74908d6d93472c7eba8fe95;hp=995523de37974d5518a8913f72099c44a8dbbdfa;hpb=302189d124ed5849c2589ea92e912eb24fdc4ab3;p=debian%2Fgzip diff --git a/bits.c b/bits.c index 995523d..ddb1509 100644 --- a/bits.c +++ b/bits.c @@ -1,8 +1,21 @@ /* bits.c -- output variable-length bit strings - * Copyright (C) 1992-1993 Jean-loup Gailly - * This is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License, see the file COPYING. - */ + + Copyright (C) 1999, 2009-2010 Free Software Foundation, Inc. + Copyright (C) 1992-1993 Jean-loup Gailly + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* @@ -60,10 +73,6 @@ # include #endif -#ifdef RCSID -static char rcsid[] = "$Id: bits.c,v 0.9 1993/06/11 10:16:58 jloup Exp $"; -#endif - /* =========================================================================== * Local data used by the "bit string" routines. */ @@ -187,7 +196,7 @@ void copy_block(buf, len, header) bi_windup(); /* align on byte boundary */ if (header) { - put_short((ush)len); + put_short((ush)len); put_short((ush)~len); #ifdef DEBUG bits_sent += 2*16;