|
From: | Benji Wiebe |
Subject: | Re: Port getprogname module to SCO OpenServer |
Date: | Tue, 6 Oct 2020 21:13:07 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
It is better, but there are still (minor) things to tweak.
Minor things tweaked. I'm not sure why I cast getpid to int. Including string.h did fix the strrchr warning.Now using __SCO_SERVER__ || __sysv5__ for OpenServer6/UnixWare7 and SCO cc/GCC detection.
Also as far as the indentation goes, it is correct as far as I can tell. It does look weird; I just copied the style from the IRIX implementation just above this one in the getprogname.c file.
Attached is the new patch.
sco-getprogname.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |