Re: [cdesktopenv-devel] istr_string() fix

2012-08-09 Thread Jon Trulson
On Thu, 9 Aug 2012, Pascal Stumpf wrote: > At least on OpenBSD/amd64, this macro returns a bogus value if its > argument is NULL. So check for this first like the other macros in this > file do, and don't cast an istring to int. > Applied, and thanks! [...] -- Jon Trulson "If the Martian rope

[cdesktopenv-devel] istr_string() fix

2012-08-09 Thread Pascal Stumpf
At least on OpenBSD/amd64, this macro returns a bogus value if its argument is NULL. So check for this first like the other macros in this file do, and don't cast an istring to int. diff --git a/cde/programs/dtappbuilder/src/libAButil/istr.h b/cde/programs/dtappbuilder/src/libAButil/istr.h inde