[PATCH] Remove bashism from size_classes.sh

mh+jemalloc at glandium.org mh+jemalloc at glandium.org
Mon Mar 12 02:23:00 PDT 2012


From: Mike Hommey <mh at glandium.org>

---
 include/jemalloc/internal/size_classes.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/jemalloc/internal/size_classes.sh b/include/jemalloc/internal/size_classes.sh
index d8306a5..79b4ba2 100755
--- a/include/jemalloc/internal/size_classes.sh
+++ b/include/jemalloc/internal/size_classes.sh
@@ -13,7 +13,7 @@ lg_tmin=3
 lg_pmin=12
 lg_pmax=16
 
-function pow2() {
+pow2() {
   e=$1
   pow2_result=1
   while [ ${e} -gt 0 ] ; do
-- 
1.7.9.1




More information about the jemalloc-discuss mailing list