Article View: news.software.readers
Article #263773Re: [bystand] Version 0.7.2 released
From: Michael Bäuerle
Date: Mon, 25 Nov 2019 12:59
Date: Mon, 25 Nov 2019 12:59
42 lines
2965 bytes
2965 bytes
news@zzo38computer.org.invalid wrote:
> Michael Bäuerle wrote:
> >
> > [...]
> > Suggestion for release scheme:
> > Is it possible to get versioned archive names like "bystand-0.7.1.zip"?
> > Packages for operating systems are dedicated to a single version and
> > use checksums to verify the integrity of the source code. Every update
> > of the current "bystand.zip" archive will break them, because the
> > checksum generated after source code review and package generation no
> > longer matches. What I suggest is a scheme like the one you used here:
> > <http://zzo38computer.org/prog/PuzzleMesh/>
>
> That is now available. Use a URL like:
> http://zzo38computer.org/prog/bystand/bystand-0.7.2.zip
Thank you. I have created a pkgsrc package for it:
<https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=tree;f=bystand>
Can you please check whether my patch below is the correct solution for
this problem:
|
| bystand.c:486:11: warning: 'return' with no value, in function returning non-void
------------------------------------------------------------------------
$NetBSD$
Function new_from_template() is defined with return value of type int.
This patch returns -1 to indicate an error.
--- bystand.c.orig<---->2019-11-25 12:10:21.000000000 +0000
+++ bystand.c
@@ -483,7 +483,7 @@ static int new_from_template(const char*
printf("%m\n");
}
sqlite3_free(filename);
- if(!fp) return;
+ if(!fp) return -1;
filename=sqlite3_mprintf("%s/article",home);
if(!filename) errx(1,"Allocation failed");
outfp=fopen(filename,"w");
------------------------------------------------------------------------
Technical Details
Message-ID:
<AABd29AyqWUAAAES.A1.flnews@WStation5.stz-e.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<1571035688.bystand@zzo38computer.org> <AABd2BG/bGYAAApR.A1.flnews@WStation5.stz-e.de> <1574499384.bystand@zzo38computer.org> <AABd2l7FPoIAAAuB.A1.flnews@Server4.micha.freeshell.org> <1574618853.bystand@zzo38computer.org>Show Full Headers
Complete Article Headers
Message-ID: <AABd29AyqWUAAAES.A1.flnews@WStation5.stz-e.de> Subject: Re: [bystand] Version 0.7.2 released Date: Mon, 25 Nov 2019 12:59:30 +0000 From: Michael Bäuerle <michael.baeuerle@stz-e.de> References: <1571035688.bystand@zzo38computer.org> <AABd2BG/bGYAAApR.A1.flnews@WStation5.stz-e.de> <1574499384.bystand@zzo38computer.org> <AABd2l7FPoIAAAuB.A1.flnews@Server4.micha.freeshell.org> <1574618853.bystand@zzo38computer.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers User-Agent: flnews/0.17pre21 (for NetBSD) X-Received-Body-Crc: 1957326926 Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=fixed Mime-Version: 1.0 Injection-Date: Mon, 25 Nov 2019 12:59:30 -0000 X-Orig-Path: not-for-mail Content-Transfer-Encoding: 8bit X-Received-Bytes: 2890 Lines: 42 X-Trace: individual.net Oqwz6XIq8e5G/BUcKSB4OAwHg8Fg3jEECrP27GmbncfDh7pnUW Cancel-Lock: sha1:dQyqUqNLMux3cWD/hdFbyrtgToI= sha256:/nyLX5MKLdZSuB0re3jwBSmacnBohtMCMUZjdXJQ3x0= sha1:kRb1ShOY/c/Epm4ov5L2zIQOcv8=