From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from libero.it (smtp-17-i2.italiaonline.it [213.209.12.17]) by sourceware.org (Postfix) with ESMTPS id DF5783858C53 for ; Tue, 26 Apr 2022 14:33:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DF5783858C53 Received: from oxapps-33-147.iol.local ([10.101.8.193]) by smtp-17.iol.local with ESMTPA id jMFmn5tdP8sytjMFmn6MwG; Tue, 26 Apr 2022 16:33:23 +0200 x-libjamoibt: 1601 X-CNFS-Analysis: v=2.4 cv=KqWIZUaN c=1 sm=1 tr=0 ts=626802b3 cx=a_exe a=vzpMTk4oe8B86+hI6mE1Jg==:117 a=DtqkoXZ5MxIA:10 a=FDU5-MRIzX4A:10 a=u2Ay2bKGRiICfk5PRHAA:9 a=QEXdDO2ut3YA:10 a=vs-dx2SoHLOOBuO1GYMA:9 a=1X--RXN9LygA:10 Date: Tue, 26 Apr 2022 16:33:22 +0200 (CEST) From: Carlo Bramini To: "bzip2-devel@sourceware.org" Message-ID: <434364370.952076.1650983602854@mail1.libero.it> Subject: Declare bzerrorstrings[] to be a const object. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_952075_2085643854.1650983602853" X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.5-Rev39 X-Originating-IP: 93.63.107.146 X-Originating-Client: open-xchange-appsuite x-libjamsun: gfG82YWMyFeYn0A+Rkp3Xugt7wi0Zquy x-libjamv: gNz0fbEIJeM= X-CMAE-Envelope: MS4xfCV8aqPLIkDwJsHwIpBo56bzlPYeVziiLqcWGB8eWEwrCDgGB6cSVB1LXZdWMXQugl8XLpcpfVwOeYo+twBq01CjtUWNzvMEMAe0tA2tGL1vHZvdRr7h MOw5EMJ7mK/loFAbe9/kBvYvhIrLhDEWOC6fxk7gY0CIK2ggrfWW/xlP6SRRFkyxBXq5ucqSvaaXDbs9TLasDsKD6bvnz0gTnYM= X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: bzip2-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bzip2-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2022 14:33:33 -0000 ------=_Part_952075_2085643854.1650983602853 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello, by looking the content of the map file, I discovered that bzerrorstrings[] is not const. So, I would like to suggest the tiny change into the attached patch, for declaring both bzerrorstrings[] and the addressed strings as const. The patch has been created from the latest sources into the repository with GIT. Sincerely, Carlo Bramini. ------=_Part_952075_2085643854.1650983602853 Content-Type: application/octet-stream; name=bzlib.c.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=bzlib.c.patch X-Part-Id: 87090581f69b47c7b933c04970de5960 ZGlmZiAtLWdpdCBhL2J6bGliLmMgYi9iemxpYi5jCmluZGV4IDIxNzg2NTUuLjc1MmQ1YTAgMTAw NjQ0Ci0tLSBhL2J6bGliLmMKKysrIGIvYnpsaWIuYwpAQCAtMTUzNiw3ICsxNTM2LDcgQEAgdm9p ZCBCWl9BUEkoQloyX2J6Y2xvc2UpIChCWkZJTEUqIGIpCiAvKi0tCiAgICByZXR1cm4gbGFzdCBl cnJvciBjb2RlIAogLS0qLwotc3RhdGljIGNvbnN0IGNoYXIgKmJ6ZXJyb3JzdHJpbmdzW10gPSB7 CitzdGF0aWMgY29uc3QgY2hhciAqIGNvbnN0IGJ6ZXJyb3JzdHJpbmdzW10gPSB7CiAgICAgICAg Ik9LIgogICAgICAgLCJTRVFVRU5DRV9FUlJPUiIKICAgICAgICwiUEFSQU1fRVJST1IiCg== ------=_Part_952075_2085643854.1650983602853--