Article View: news.software.readers
Article #267219Re: Free / opensource text-only reader for linux - suggestions, please?
From: rek2 hispagatos
Date: Mon, 29 Apr 2024 00:17
Date: Mon, 29 Apr 2024 00:17
56 lines
2839 bytes
2839 bytes
On 2024-04-28, De ongekruisigde (ds.) <ongekruisigde@gekruisigden.invalid> wrote:
> I downloaded the source and compiled it myself. For Termux (Linux under
> Android; minor edits required but if it works there...)
Yes indeed, thank so much for this patch! I will try to compile it again
later.
Thanks again, I am glad to be back in usenet again after 20 years ;) you
just made my day.
> GitHub - jedsoft/slrn: A multi-platform Usenet client
> https://github.com/jedsoft/slrn
>
> Listing of diffs:
>
> diff --git a/src/misc.c b/src/misc.c
> index d6b1886..555e0cd 100644
> --- a/src/misc.c
> +++ b/src/misc.c
> @@ -373,7 +373,7 @@ void slrn_verror (char *fmt, va_list ap)
> {
> va_list ap1;
>
> - VA_COPY(ap1, ap);
> + va_copy(ap1, ap);
>
> if ((Slrn_TT_Initialized & SLRN_SMG_INIT) == 0)
> {
> @@ -1022,7 +1022,7 @@ FILE *slrn_open_tmpfile_in_dir (char *dir, char *file, size_t n)
> else if (i)
> break;
>
> - fd = open (file, O_WRONLY | O_CREAT | O_EXCL, S_IREAD | S_IWRITE);
> + fd = open (file, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
> if (fd != -1)
> {
> if (NULL == (fp = fdopen (fd, "w")))
> diff --git a/src/snprintf.c b/src/snprintf.c
> index 8bed6b4..2c9890a 100644
> --- a/src/snprintf.c
> +++ b/src/snprintf.c
> @@ -103,7 +103,7 @@ char *slrn_strdup_vprintf (const char *format, va_list args1) /*{{{*/
>
> if (format == NULL) return NULL;
>
> - VA_COPY (args2, args1);
> + va_copy (args2, args1);
>
> buffer = slrn_safe_malloc (printf_string_upper_bound (format, args1));
>
--
- {gemini,https}://{,rek2.}hispagatos.org - mastodon: @rek2@hispagatos.space
- [https|gemini]://2600.Madrid - https://hispagatos.space/@rek2
- https://keyoxide.org/A31C7CE19D9C58084EA42BA26C0B0D11E9303EC5
Technical Details
Message-ID:
<v0movl$1qc5$1@matrix.hispagatos.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-mailReferences:
<353106c549c5267814e3e2c71aff0b10@www.novabbs.com> <v0go17$8spq$1@news.xmission.com> <v0jio4$7s0$4@matrix.hispagatos.org> <v0jqtu.nfk.1@ID-201911.user.individual.net> <v0lq87$1ao7$1@matrix.hispagatos.org> <v0ltc3$14sk1$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <v0movl$1qc5$1@matrix.hispagatos.org> Subject: Re: Free / opensource text-only reader for linux - suggestions, please? Date: Mon, 29 Apr 2024 00:17:57 +0000 From: rek2 hispagatos <rek2@hispagatos.org.invalid> References: <353106c549c5267814e3e2c71aff0b10@www.novabbs.com> <v0go17$8spq$1@news.xmission.com> <v0jio4$7s0$4@matrix.hispagatos.org> <v0jqtu.nfk.1@ID-201911.user.individual.net> <v0lq87$1ao7$1@matrix.hispagatos.org> <v0ltc3$14sk1$1@dont-email.me> 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 Injection-Info: matrix.hispagatos.org; logging-data="59781"; mail-complaints-to="abuse@hispagatos.org" User-Agent: slrn/pre1.0.4-9 (Linux) Newsgroups: news.software.readers Organization: Hispagatos Reply-To: ReK2 <rek2@hispagatos.org> Injection-Date: Mon, 29 Apr 2024 00:17:57 -0000 (UTC)