On 12/7/22 11:24 AM, Andreas Schwab wrote:
On Okt 12 2022, Chet Ramey wrote:
But that's not really the issue right here. The question is whether the
shell should process additional terminating signals while it's running the
exit trap from the terminating signal handler.
The problem is that th
Dynamic loading of modules is broken on OpenBSD:
bash-5.2$ enable finfo
bash:/usr/local/lib/bash/finfo: undefined symbol 'sh_optind'
bash:/usr/local/lib/bash/finfo: undefined symbol 'sh_optarg'
bash: enable: finfo: not a shell builtin
This is trivially fixed, configure simply needs to add -rdynam
loadables/finfo.c uses the %ld format string to print time_t values.
This is wrong on OpenBSD, where time_t is long long on all platforms.
I suggest %lld and a cast to long long.
Alternatively, %jd and intmax_t could be used.
--- examples/loadables/finfo.c.orig Mon Jun 29 16:56:32 2020
+++ ex
On 2022-12-07 at 12:38 +, Chris Elvidge wrote:
> I don't use Python generally, but my understanding of it (only a
> quick test)
>
> f = open("demofile2.txt", "a")
> f.write("Now the file has more content!")
> f.close()
>
> f.write doesn't append either \r\n or \n unless specified.
>
> f.writ
On 08/12/2022 19:34, Ángel wrote:
On 2022-12-07 at 12:38 +, Chris Elvidge wrote:
I don't use Python generally, but my understanding of it (only a
quick test)
f = open("demofile2.txt", "a")
f.write("Now the file has more content!")
f.close()
f.write doesn't append either \r\n or \n unless s