Re: Trouble with ASan

2017-03-05 Thread Rhialto
bin/clang -fsanitize=address -o CMakeFiles/cmTC_8691b.dir/testCCompiler.c.o -c /home/rhialto/bzr/ctwm/build/CMakeFiles/CMakeTmp/testCCompiler.c clang-3.8: error: unsupported option '-fsanitize=address' for target 'x86_64-unknown-netbsd7.0' I was trying asan, since there is also no

Re: Weirdness in /bin/sh of 8.0

2018-08-15 Thread Rhialto
_ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X \X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly. signature.asc Description: PGP signature

Re: Weirdness in /bin/sh of 8.0

2018-08-12 Thread Rhialto
n it has no work to do and proceeds to a regular exit. -Olaf. -- ___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X \X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly. signature.asc Description: PGP signature

Weirdness in /bin/sh of 8.0

2018-08-11 Thread Rhialto
ng default) Variable: AWK = /usr/bin/awk Variable: GREP = /usr/bin/grep Variable: GZCAT = /usr/bin/gzcat Variable: GZIP_CMD = /usr/bin/gzip -nf -9 Variable: ID = /usr/bin/id Variable: PACKAGES = /mnt/vol1/rhialto/cvs/pkgsrc/packages Variable: PKGCHK_CONF = Variable: PKGCHK_NOTAGS = Variable: P

Re: Weirdness in /bin/sh of 8.0

2018-08-14 Thread Rhialto
see a whole bunch of problems in the pkg_chk > script that ought to be fixed, but none of them are related to this particular > issue. You mean "need to be fixed in the script" or "need to be fixed in sh"? -Olaf. -- ___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't u

Re: Short circuit cp -l

2018-07-18 Thread Rhialto
s > don't have to re-do this in the future. It seems linux cp -lr also links files it would not be able to read: rhialto:~/tmp$ cp -lr dir1 dir1a rhialto:~/tmp$ l -R dir1 dir1: total 12 drwxrwxr-x 3 rhialto rhialto 4096 Jul 18 21:13 ./ drwxrwxr-x 5 rhialto rhialto 4096 Jul 18 21:13 ../ -rw-rw-r

Re: Definitions of types also as macros

2018-11-06 Thread Rhialto
int32_t uint32_t; #define uint32_tuint32_t #endif Recursive macro definitions are not supposed to be re-expanded, so this would work as a guard but still leave uint32_t in source code unchanged. > -uwe -Olaf. -- ___ Olaf 'Rhialto' Seibert -- "What good is a Ring of

Re: PaX MPROTECT gdb and software breakpoints

2016-05-22 Thread Rhialto
as earlier mention of a sysctl knob (default safe) to do this. I read that as being system-global, but it could also be per-process. Possibly gdb could know about it or at least tell the user about it. An entry in /proc could be relevant as well. > christos -Olaf. -- ___ Olaf 'Rhialto' Sei

Re: shell (/bin/sh) pattern matching bugs

2018-06-24 Thread Rhialto
was supposedly because the code had changed and it was now true, but apparently not. But it would seem to indicate that it was meant to be true. -Olaf. -- ___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X \X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly. signature.asc Description: PGP signature

Re: Add static local vars to sh(1) ?

2018-01-29 Thread Rhialto
ion. I tried it on a Linux bash with valgrind, and this reported an "Invalid free() / delete / delete[] / realloc()". But it still did this when I removed the "unset -f fn" so it is unrelated. -Olaf. -- ___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X \X/

Re: deleting telnet/telnetd

2018-12-20 Thread Rhialto
eparetely. Trying to build putty-0.70 on NetBSD 8, it fails: gmake[1]: Entering directory '/home/rhialto/tmp/putty-0.70' depbase=`echo unix/uxpgnt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I././ -I./charset/ -I./windows/ -I./unix/ -I/usr/pkg/include/gtk-3.0 -I/us

Re: /bin/sh redirect without command failure mode

2018-11-25 Thread Rhialto
ve shells. from http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_01 -Olaf. -- ___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power \X/ rhialto/at/falu.nl -- if you're unable...to Speak." - Agent Elrond signature.asc Description: PGP signature

Re: fflush(NULL) and mem streams (fmemopen(), open_*memstream())

2019-01-12 Thread Rhialto
ing memory buffer, so fflush() is probably called more often. That makes this a weak argument as well. > If there are any arguments, one way or the other, I would be happy > to pass them along. I think my reasoning above goes in the direction that fflush(NULL) *should* also affect memory st

Re: Moving telnet/telnetd from base to pkgsrc

2018-12-19 Thread Rhialto
lnet> mode ? suggests that) -Olaf. -- ___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power \X/ rhialto/at/falu.nl -- if you're unable...to Speak." - Agent Elrond signature.asc Description: PGP signature

Re: colorls in base

2019-02-23 Thread Rhialto
adjusts its colour scheme. See :help 'bg' -Olaf. -- ___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power \X/ rhialto/at/falu.nl -- if you're unable...to Speak." - Agent Elrond signature.asc Description: PGP signature

Re: Solving the syslogd problem

2020-02-23 Thread Rhialto
times of /. I don't want the ever-changing /usr/pkg on there. I suppose that if I'll ever be forced to have /usr on /, I'd separate out /usr/pkg. -Olaf. -- Olaf 'Rhialto' Seibert -- rhialto at falu dot nl ___ Anyone who is capable of getting themselves made President should on \X/ no a

Re: style change: explicitly permit braces for single statements

2020-07-13 Thread Rhialto
t; if's test to the enclosing if's, I can go either way on whether I'd > prefer braces or no braces around the inner if. I agree with the proposal at the start of the thread and I also agree with this. I guess that some languages have a special 'elif' or 'elseif' keyword just because of this. -Olaf. --

Re: Weekday abbreviations in output of cal(1)

2020-06-29 Thread Rhialto
On Mon 29 Jun 2020 at 11:49:03 -0700, Tom Spindler (moof) wrote: > What do the non-en languages do? In Dutch one often sees ma di wo do vr za zo. -Olaf. -- Olaf 'Rhialto' Seibert -- rhialto at falu dot nl ___ Anyone who is capable of getting themselves made President should on \X/ no acco

Re: style change: explicitly permit braces for single statements

2020-07-16 Thread Rhialto
or code editors? I have seen an editor (I think it was google's Android development environment) that even went so far as to recognize some particular boilerplate Java code fragments, and abbreviated them. You could unfold them if you wanted though. I wasn't sure if I liked that or hated it.

Re: Proposal to remove catman(8)

2020-11-09 Thread Rhialto
s work. -Olaf. -- Olaf 'Rhialto' Seibert -- rhialto at falu dot nl ___ Anyone who is capable of getting themselves made President should on \X/ no account be allowed to do the job. --Douglas Adams, "THGTTG" signature.asc Description: PGP signature

Re: long double losing mantissa bits

2021-01-20 Thread Rhialto
it a bit right again. Final result is at https://gitlab.com/Rhialto/macro11/-/blob/master/parse.c#L386. -Olaf. -- Olaf 'Rhialto' Seibert -- rhialto at falu dot nl ___ Anyone who is capable of getting themselves made President should on \X/ no account be allowed to do the job. --Doug

long double losing mantissa bits

2021-01-19 Thread Rhialto
assembler, in particular the part where a 64 bit PDP-11 floating point number is constructed. These have 1 sign bit, 8 exponent bit, and 55 (56) mantissa bits (if you count the implict 1 at the start). See https://gitlab.com/Rhialto/macro11/-/blob/issue-5-floating-point-literals/parse.c#L380 I

Re: Q about pthread condition variable usage - mixing interlocks

2021-04-08 Thread Rhialto
ecified by mutex. The pthread_cond_timedwait() function behaves -Olaf. -- ___ Q: "What's an anagram of Banach-Tarski?" -- Olaf "Rhialto" Seibert \X/ A: "Banach-Tarski Banach-Tarski." -- rhialto at falu dot nl signature.asc Description: PGP signature

Re: possible bug in fseek of buffered files shared between processes (example uses stdin)

2021-11-02 Thread Rhialto
ally on Linux, MacOS and NetBSD: $ printf "1\n2\n3\n" | ( head -1; head -1; cat ) 1 $ -Olaf. -- ___ "Buying carbon credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFHfalu.nl@rhialto signature.asc Description: PGP signature

Re: sh: killing a pipe head from the tail

2021-12-11 Thread Rhialto
credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFHfalu.nl@rhialto signature.asc Description: PGP signature

Re: lseek on tty

2023-09-19 Thread Rhialto
s for the Base Specifications Issue 8, Part 1 & 2". -Olaf. -- ___ Olaf 'Rhialto' Seibert \X/ There is no AI. There is just someone else's work. --I. Rose signature.asc Description: PGP signature

Re: sh(1) and ksh(1) default PATH

2022-08-14 Thread Rhialto
laf. -- ___ "Buying carbon credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFHfalu.nl@rhialto signature.asc Description: PGP signature

Re: [RFC] inetd(8) changes proposal

2023-06-02 Thread Rhialto
refer. But never use errno values as an > exit parameter. There is which defines "Exit status codes for system programs." EX_DATAERR could be appropriate for an invalid config file. -Olaf. -- ___ Olaf 'Rhialto' Seibert \X/ There is no AI. There is just so

Re: system(3) semantics when SIGCHLD is SIG_IGN'd

2023-08-12 Thread Rhialto
? - Does POSIX say something somewhere that blocks this way out? I didn't research those questions yet. -Olaf. -- ___ Olaf 'Rhialto' Seibert \X/ There is no AI. There is just someone else's work. --I. Rose signature.asc Description: PGP signature

Re: system(3) semantics when SIGCHLD is SIG_IGN'd

2023-08-13 Thread Rhialto
stem.html and it seems entirely silent on the matter. How does this mean that system(3) is allowed to fail in this situation? Since the state is not mentioned as a special case, I expect that it is supposed to work. -Olaf. -- ___ Olaf 'Rhialto' Seibert \X/ There

Re: -mdoc: how to handle surrounding types?

2024-02-09 Thread Rhialto
have any obvious way to describe function return > types that aren't textually entirely before the function name, that is, > which don't fit the textual paradigm $RETURNTYPE $FUNCTIONNAME($ARGS). With this rephrasing it should fit better. -Olaf. -- ___ Olaf 'Rhialto' Seibert

Re: -mdoc: how to handle surrounding types?

2024-02-09 Thread Rhialto
Stop calling generative text and image programs AI. It's inaccurate and insulting. They are just the evolution of corporate creative theft that's been going on as long as media corporations have existed. -Olaf. -- ___ Olaf 'Rhialto' Seibert \X/ There is no AI. There

Re: [patch] cat -n bug from 33 years ago

2023-11-18 Thread Rhialto
> reproducer: If you want to have continuing (non-restarting) numbering for multiple input files, one could use "cat file1 file2 | cat -n". -Olaf. -- ___ Olaf 'Rhialto' Seibert \X/ There is no AI. There is just someone else's work. --I. Rose