re: style(5) proposal: forbid extern in .c

2023-03-15 Thread matthew green
> Pretty simple. Any objections? yes please. doing this should never be more than a quick hack and not in the commited treed. thanks. .mrg.

libxh509 vs ftpd vs sun2

2021-06-20 Thread matthew green
hi folks. enabling gcc10 on sun2 triggered a build failure that i didn't see locally with MKPAM=no builds. the problem is that libhx509 and ftpd both defined yyval and yyerrflag, and the -fno-common default makes them multiply defined. looking at libxh509, it attempts to rename the yacc symbols

Re: Proposal to import window(1) into the base

2020-10-22 Thread matthew green
personally, i miss window(1) in base. i used it when screen was not yet installed, and i used it for less annoying setup of a complex display with multiple overlapping or larger than your actual display windows. it has features that neither tmux or screen have. i don't like the way that tmux wor

re: recent changes to pthread_fork.c:fork() cause static linking to fail if the app provides its own malloc()

2020-07-14 Thread matthew green
Martin Husemann writes: > On Tue, Jul 14, 2020 at 02:49:00AM +0200, Joerg Sonnenberger wrote: > > Replacing malloc is just as invalid from a strict standard compliance > > perspective, so *shrug* > > Why is that? > > We have e.g. shells/standalone-tcsh that does it. Is it broken now? it was, yes

re: style change: explicitly permit braces for single statements

2020-07-13 Thread matthew green
> On 20-07-12 10:01, Luke Mewburn wrote: > | I propose that the NetBSD C style guide in to /usr/share/misc/style > | is reworded to more explicitly permit braces around single statements, > | instead of the current discourgement. > | > | IMHO, permitting braces to be consistently used: >

stdio.h's P_tmpdir definition - make it /tmp?

2019-08-29 Thread matthew green
hi folks. a very long time ago in netbsd years tls@ patched GCC to use /tmp over /var/tmp, for the compiler temporaries. i tried to keep these patches, but they got lost at some point and when i recently wanted to deal with it (i had one machine with some several hundred /var/tmp/cc*.o files tha

re: Building on OS X - how?

2016-08-16 Thread matthew green
> I've been trying to find when this breakage occurred, it happened when your port switched to GCC 5. sorry :-) .mrg.

re: Building on OS X - how?

2016-08-12 Thread matthew green
Thor Lancelot Simon writes: > On Thu, Aug 11, 2016 at 04:05:06PM +0100, Robert Swindells wrote: > > > > >2) /usr/bin/cc: > > >Undefined symbols for architecture x86_64: "_iconv" > > >in external/gpl3/gcc/usr.bin/backend > > > > This should be in libc. > > For what value of "should"? _ic