Re: [PATCH] getprogname: fix port to IRIX

2017-11-11 Thread Paul Eggert
Thanks for fixing that longstanding typo. But wow, IRIX? SGI itself stopped supporting IRIX in 2013. Do you have a computer museum in your attic? In the late 1980s I unwisely accepted an old PDP-11 that rested in my garage until I threw it away. I had been thinking of running 7th Edition Unix

Re: [PATCH] getprogname: fix port to IRIX

2017-11-11 Thread Bruno Haible
On IRIX with cc, I'm seeing a compilation failure: CC getprogname.o cc-1140 cc: ERROR File = ../../lib/getprogname.c, Line = 167 A value of type "unsigned int" cannot be used to initialize an entity of type "char *". char *namesize = sizeof buf.pr_fname;

[PATCH] getprogname: fix port to IRIX

2017-01-08 Thread Paul Eggert
* lib/getprogname.c (getprogname) [__sgi]: Don't dump core if malloc returns NULL. --- ChangeLog | 4 lib/getprogname.c | 7 +-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 79475df..0d60422 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1