diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-26 10:53:11 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-26 10:53:11 +0000 |
commit | dc260404fe1287517ce1fca8e41f2f7935ccfe01 (patch) | |
tree | 2425b428f0e1750d4ef296980f6ed579a28e0f74 /ext/dl/dl.c | |
parent | ee8addc13ffbacd66a4847d5adb917b5d1fc0601 (diff) | |
download | ruby-dc260404fe1287517ce1fca8e41f2f7935ccfe01.tar.gz |
dlsizeof() should handle 'S' and 's'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/dl.c')
-rw-r--r-- | ext/dl/dl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c index 5a492b577b..c1e5311c0a 100644 --- a/ext/dl/dl.c +++ b/ext/dl/dl.c @@ -208,8 +208,10 @@ dlsizeof(const char *cstr) size += sizeof(short) * n; break; case 'P': + case 'S': DLALIGN(0,size,VOIDP_ALIGN); case 'p': + case 's': size += sizeof(void*) * n; break; default: |