summaryrefslogtreecommitdiffstats
path: root/generic/regcustom.h
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2010-02-01 10:32:52 (GMT)
committerdkf <dkf@noemail.net>2010-02-01 10:32:52 (GMT)
commit34aab179b247143a9542400e390b2a121d6eda52 (patch)
treef8f4588330768c3fc500d6c565c2e521c8c76da4 /generic/regcustom.h
parentc9b4e4dd4d4eb7492fc6aa62de641aebc1ec747e (diff)
downloadtcl-34aab179b247143a9542400e390b2a121d6eda52.zip
tcl-34aab179b247143a9542400e390b2a121d6eda52.tar.gz
tcl-34aab179b247143a9542400e390b2a121d6eda52.tar.bz2
Use attemptckalloc instead of ckalloc; RE engine knows how to deal with failure
FossilOrigin-Name: 6141987196a38acdbc52122bbf74e2def57e0832
Diffstat (limited to 'generic/regcustom.h')
-rw-r--r--generic/regcustom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/regcustom.h b/generic/regcustom.h
index ac33087..2f30ffd 100644
--- a/generic/regcustom.h
+++ b/generic/regcustom.h
@@ -37,9 +37,9 @@
*/
#define FUNCPTR(name, args) (*name)args
-#define MALLOC(n) ckalloc(n)
+#define MALLOC(n) VS(attemptckalloc(n))
#define FREE(p) ckfree(VS(p))
-#define REALLOC(p,n) ckrealloc(VS(p),n)
+#define REALLOC(p,n) VS(attemptckrealloc(VS(p),n))
/*
* Do not insert extras between the "begin" and "end" lines - this chunk is