From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id C20AC1F5AE for ; Sun, 13 Jun 2021 10:05:47 +0000 (UTC) Received: from localhost ([::1]:42952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsMzy-0004KV-Eh for normalperson@yhbt.net; Sun, 13 Jun 2021 06:05:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsMzk-0004KM-Ki for bug-gnulib@gnu.org; Sun, 13 Jun 2021 06:05:32 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.23]:18279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsMzi-0003gf-9z for bug-gnulib@gnu.org; Sun, 13 Jun 2021 06:05:32 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1623578718; cv=none; d=strato.com; s=strato-dkim-0002; b=V5/g364T9KcwdhC35rgnDEqhztuwCTZUyUh0O9fMlckjcqNnjl9NQcXvgD1z+53Yo1 7g+i09x0eHxyUNUnWg138hAjsRKISBn1RxfJ7uviW/5ftU7+/DnLK3HOpQOYY4+Id1bh qi+AW9723FIK/lb6mVWYaerX9piXI06LUO9Ji+wKQU8UzY4Lqr1DN212g1cTPDRdola1 dB23eq49MZRVF4fGuUzWSW5+E8ib99CHo2HFdiW/3be5UUIJZy9HNigRGXkKdfVR4u1C ECSDH7h74fesk49zEtMnexkFfJnq1MDevSBs3AoP6LTVLcbR8siGE21hhPqrOk4MG8v1 cgdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1623578718; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=2dDp3CVS+GlJLXpP3cnE0ab1pyJFGuTePHgKNcUhmHc=; b=gXQFCtrfESk+yfo5M8junfvwpJd3u6J2C7Ed0t7dJscgGpnUS6Yf98Ijbt0+W5zwNS 6qKeiASO5sMLKjoiFz6o+Z8ORzexPn+yrpXJ0403rpC7ME0pp7QG1cQ/vg5cOqpIfGD7 Z6RaNZ+2G6j1o8Ag41lPLo9j70rAhA+K1oGtrEvunJbTEIpKNzc9w9xWp6w4fGwAv0zF f7ik2FKFocITVJiWw2HZwF4BpMd3y5zoYEAEhgNMo4j57OiJ7XVqWo5BPUcCDnaSZ8TC d4DrEvi3QX/7Ol7u4S+TcXmdP/ZN3LV37TxZXsXtIsvesJATqfxmtBF5vNTNW9tlYXSN QleQ== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1623578718; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=2dDp3CVS+GlJLXpP3cnE0ab1pyJFGuTePHgKNcUhmHc=; b=i41AFx7+uHU3g9FaH7StXTcId+rVRDSS2dXR94YtkYQh5SuL/1dKUls7KEaOAno13z UsVCS7a/T3X4/aREVkOe3otGHr35AuduCFwA39IrwVB8NmCrggA8n+aliun9vlmxi+FM pu8R3kYvqU/menMUc+HgUXdLajXRQOqjClkIBx/OsR+HNHLZn+rVvwjYoDqQW5Y8UsRA PA8IzjHuJKmW10pD7CH0xtcnaPytwMkGXyLdvuL/jx8mdNLJaJWwKgilDophP8dPEF6H w9eDnleHJ/1eApAKccvScnUsMFnAlsqpkx+P4lefaaqDDWV+Gy9FWV0WM2n9QfcYXpy9 ViHA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOHqf3z5NW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.27.2 DYNA|AUTH) with ESMTPSA id q0869dx5DA5Irfw (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sun, 13 Jun 2021 12:05:18 +0200 (CEST) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: [PATCH 01/13] ialloc: new module Date: Sun, 13 Jun 2021 12:05:17 +0200 Message-ID: <2139442.KDnZve64kq@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20210612002553.1105537-1-eggert@cs.ucla.edu> References: <20210612002553.1105537-1-eggert@cs.ucla.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.23; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Eggert Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Hi Paul, > + ialloc: new module > + * lib/ialloc.c, lib/ialloc.h, modules/ialloc: New files. The 'check-copyright' test now fails: $ ./check-copyright Module License File License File name ================= ============== ===================================== LGPL ?? lib/ialloc.c LGPL GPL lib/ialloc.h This patch fixes it, following the new habits, see . 2021-06-13 Bruno Haible ialloc: Put appropriate license notice in source files. * lib/ialloc.h: Use LGPLv3+ notice. * lib/ialloc.c: Likewise. diff --git a/lib/ialloc.c b/lib/ialloc.c index 9eff290..f506b84 100644 --- a/lib/ialloc.c +++ b/lib/ialloc.c @@ -1,3 +1,21 @@ +/* malloc with idx_t rather than size_t + + Copyright 2021 Free Software Foundation, Inc. + + This file is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of the + License, or (at your option) any later version. + + This file 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ + #include + #define IALLOC_INLINE _GL_EXTERN_INLINE #include "ialloc.h" diff --git a/lib/ialloc.h b/lib/ialloc.h index e243c92..ebe4aaa 100644 --- a/lib/ialloc.h +++ b/lib/ialloc.h @@ -2,17 +2,17 @@ Copyright 2021 Free Software Foundation, Inc. - 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 of the License, or - (at your option) any later version. + This file is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of the + License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + This file 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. + GNU Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef IALLOC_H_