Gregory D Abram:
|
|Crap. Neoither of my fixes from yesterday got checked in. I've applied
|Randall's and retagged the release. Tarball to come.
No big deal. The same might have happened again with one of yesterday's
changes. Did a cvs checkout of dx this morning (with no tags), and the
latest Browser.C change with free/regfree wasn't in it. In this latest
snapshot, there is also a second spot with the free change fixups needed
(thanks to whoever noticed and changed it) -- patch attached.
With this, DX builds and runs well on SGI. And the "out of memory" error
displays now rather than the "connection queued" message -- thanks.
Randy
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711
--- src/uipp/prompter/ORIG/Browser.C Wed May 23 08:26:51 2001
+++ src/uipp/prompter/Browser.C Wed May 23 08:27:58 2001
@@ -1631,7 +1631,9 @@
if(!found)
WarningMessage("Pattern not found");
-#if (defined(HAVE_REGCOMP) && (defined(HAVE_REGEX_H) ||
defined(HAVE_REGEXP_H))) || defined(HAVE_REGCMP)
+#if defined(HAVE_REGCOMP) && defined(HAVE_REGEX_H)
+ regfree(&search_for);
+#else
free(search_for);
#endif
@@ -1843,7 +1845,9 @@
if(!found)
WarningMessage("Pattern not found");
-#if (defined(HAVE_REGCOMP) && (defined(HAVE_REGEX_H) ||
defined(HAVE_REGEXP_H))) || defined(HAVE_EGCMP)
+#if defined(HAVE_REGCOMP) && defined(HAVE_REGEX_H)
+ regfree(&search_for);
+#else
free(search_for);
#endif