Re: [cdesktopenv-devel] [PATCH 1/1] libAButil: remove lt- prefix from program name

2021-07-04 Thread Jon Trulson
Ha, never mind.  I've applied them - not used to getting properly formatted patches in the mail body :) -jon On 7/4/21 1:05 PM, Jon Trulson wrote: Hi, could you send these patches (this one and the following 2 patches) in the proper git format-patch format? Otherwise I have to manually apply

Re: [cdesktopenv-devel] [PATCH 1/1] libAButil: remove lt- prefix from program name

2021-07-04 Thread Jon Trulson
Hi, could you send these patches (this one and the following 2 patches) in the proper git format-patch format? Otherwise I have to manually apply them, create a commit message for them, etc... I don't have that kind of time. -jon On 7/4/21 8:22 AM, Adam Sampson wrote: When building a progra

[cdesktopenv-devel] [PATCH 1/2] DtSvc: add missing #include (for malloc)

2021-07-04 Thread Adam Sampson
--- cde/lib/DtSvc/DtUtil2/SunDtHelp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cde/lib/DtSvc/DtUtil2/SunDtHelp.c b/cde/lib/DtSvc/DtUtil2/SunDtHelp.c index aa7a15fc5..759a87554 100644 --- a/cde/lib/DtSvc/DtUtil2/SunDtHelp.c +++ b/cde/lib/DtSvc/DtUtil2/SunDtHelp.c @@ -49,6 +49,7 @@ *+E

[cdesktopenv-devel] [PATCH 2/2] DtSvc: fix error return from DtHelpReturnSelectedWidgetId

2021-07-04 Thread Adam Sampson
return(NULL) is correct for the other functions here but not for this one, since it's meant to return a DtHELP_ error code. The man page also says it should also set *widget to NULL on error. --- cde/lib/DtSvc/DtUtil2/SunDtHelp.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --

[cdesktopenv-devel] [PATCH 1/1] libAButil: remove lt- prefix from program name

2021-07-04 Thread Adam Sampson
When building a program foo in-tree, libtool 2.4.6 generates an executable called lt-foo with a wrapper script called foo. This means that argv[0] inside the program is lt-foo rather than foo. This is a problem for dtcodegen, which uses the program name for various purposes including the "generate