Liste des Groupes | Revenir à ns readers |
I downloaded the source and compiled it myself. For Termux (Linux under
Android; minor edits required but if it works there...)
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));
Les messages affichés proviennent d'usenet.