Re: Add curses_version() in curses(3)

2019-08-30 Thread Kamil Rytarowski
On 30.08.2019 19:22, Roy Marples wrote: > On 30/08/2019 18:09, Kamil Rytarowski wrote: >> On 30.08.2019 18:55, Roy Marples wrote: >>> return "NetBSD-Curses " CURSES_VERSION >> >> >> I propose to go for: >> >> return "NetBSD-" CURSES_VERSION " Curses"; >> >> With removed __DATE__ that is not MKREPRO

Re: Add curses_version() in curses(3)

2019-08-30 Thread Roy Marples
On 30/08/2019 18:09, Kamil Rytarowski wrote: On 30.08.2019 18:55, Roy Marples wrote: return "NetBSD-Curses " CURSES_VERSION I propose to go for: return "NetBSD-" CURSES_VERSION " Curses"; With removed __DATE__ that is not MKREPRO friendly. The rest looks fine. I dislike having the versi

Re: Add curses_version() in curses(3)

2019-08-30 Thread Kamil Rytarowski
On 30.08.2019 18:55, Roy Marples wrote: > return "NetBSD-Curses " CURSES_VERSION I propose to go for: return "NetBSD-" CURSES_VERSION " Curses"; With removed __DATE__ that is not MKREPRO friendly. The rest looks fine. signature.asc Description: OpenPGP digital signature

Re: Add curses_version() in curses(3)

2019-08-30 Thread Roy Marples
On 29/08/2019 14:27, Kamil Rytarowski wrote: On 29.08.2019 15:23, Roy Marples wrote: On 29/08/2019 14:19, Kamil Rytarowski wrote: In my opinion artificial versioning (1.0.0) of native code adds no interesting information and adds burden on us for superfluous versioning model, orthogonal to __Ne

Re: Add curses_version() in curses(3)

2019-08-30 Thread Roy Marples
On 30/08/2019 17:45, Roy Marples wrote: On 29/08/2019 14:27, Kamil Rytarowski wrote: On 29.08.2019 15:23, Roy Marples wrote: On 29/08/2019 14:19, Kamil Rytarowski wrote: In my opinion artificial versioning (1.0.0) of native code adds no interesting information and adds burden on us for superfl

Re: Add curses_version() in curses(3)

2019-08-30 Thread Roy Marples
On 29/08/2019 14:27, Kamil Rytarowski wrote: On 29.08.2019 15:23, Roy Marples wrote: On 29/08/2019 14:19, Kamil Rytarowski wrote: In my opinion artificial versioning (1.0.0) of native code adds no interesting information and adds burden on us for superfluous versioning model, orthogonal to __Ne

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

2019-08-30 Thread Martin Husemann
On Fri, Aug 30, 2019 at 01:38:02PM -, Valery Ushakov wrote: > Greg Troxel wrote: > > > It seems that long long ago, /tmp was small and on /, and /var was often > > bigger, and people used /var/tmp for larger stuff. Also I remember a > > notion of clearing /tmp on boot and not clearing /var/

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

2019-08-30 Thread Martin Husemann
On Fri, Aug 30, 2019 at 08:13:37AM -0400, Thor Lancelot Simon wrote: > > most of the toolchain consumers that create temp files don't > > use $TMPDIR from the env but use stdio.h's P_tmpdir defintion This is a bug (and differs from gcc documentation). We should analyze and fix that bug first (and

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

2019-08-30 Thread Greg Troxel
u...@stderr.spb.ru (Valery Ushakov) writes: > Greg Troxel wrote: > >> It seems that long long ago, /tmp was small and on /, and /var was often >> bigger, and people used /var/tmp for larger stuff. Also I remember a >> notion of clearing /tmp on boot and not clearing /var/tmp. Now, /tmp >> is

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

2019-08-30 Thread Valery Ushakov
Greg Troxel wrote: > It seems that long long ago, /tmp was small and on /, and /var was often > bigger, and people used /var/tmp for larger stuff. Also I remember a > notion of clearing /tmp on boot and not clearing /var/tmp. Now, /tmp > is a tmpfs and large/fast, and the right place for thin

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

2019-08-30 Thread Greg Troxel
Thor Lancelot Simon writes: > On Fri, Aug 30, 2019 at 02:40:06PM +1000, matthew green wrote: >> 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 >>

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

2019-08-30 Thread Thor Lancelot Simon
On Fri, Aug 30, 2019 at 02:40:06PM +1000, matthew green wrote: > 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 dea