Path: ...!eternal-september.org!feeder3.eternal-september.org!news.hispagatos.org!.POSTED!not-for-mail From: rek2 hispagatos Newsgroups: news.software.readers Subject: Re: Free / opensource text-only reader for linux - suggestions, please? Date: Mon, 29 Apr 2024 00:17:57 -0000 (UTC) Organization: Hispagatos Message-ID: References: <353106c549c5267814e3e2c71aff0b10@www.novabbs.com> Reply-To: ReK2 Injection-Date: Mon, 29 Apr 2024 00:17:57 -0000 (UTC) Injection-Info: matrix.hispagatos.org; logging-data="59781"; mail-complaints-to="abuse@hispagatos.org" User-Agent: slrn/pre1.0.4-9 (Linux) Bytes: 2788 Lines: 55 On 2024-04-28, De ongekruisigde (ds.) 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