From 36c94f357c95791d16f618e7a7f552a65f1cc304 Mon Sep 17 00:00:00 2001
From: Slava Pestov <slava@factorcode.org>
Date: Wed, 19 Mar 2008 02:43:36 -0500
Subject: [PATCH] Fix shaker's libc stripping

---
 extra/tools/deploy/shaker/strip-libc.factor | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 mode change 100644 => 100755 extra/tools/deploy/shaker/strip-libc.factor

diff --git a/extra/tools/deploy/shaker/strip-libc.factor b/extra/tools/deploy/shaker/strip-libc.factor
old mode 100644
new mode 100755
index 898399b092..ba1436fd17
--- a/extra/tools/deploy/shaker/strip-libc.factor
+++ b/extra/tools/deploy/shaker/strip-libc.factor
@@ -1,10 +1,10 @@
 USING: libc.private ;
 IN: libc
 
-: malloc (malloc) ;
+: malloc (malloc) check-ptr ;
+
+: realloc (realloc) check-ptr ;
+
+: calloc (calloc) check-ptr ;
 
 : free (free) ;
-
-: realloc (realloc) ;
-
-: calloc (calloc) ;