summaryrefslogtreecommitdiffstats
path: root/compat/opendir.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-15 19:55:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-15 19:55:16 (GMT)
commit1bcaf97bfdcfc794caf8606cf3da5ddac8bc02d6 (patch)
tree7c1d8d3f8cf1b287cbf3d710de07c8be92afc08b /compat/opendir.c
parentacb6a88df555fe8bdf2271bdbddb5fe19046b6c2 (diff)
parentab6e69444f61e776bbfb2bcf6a6ca95047df149c (diff)
downloadtcl-1bcaf97bfdcfc794caf8606cf3da5ddac8bc02d6.zip
tcl-1bcaf97bfdcfc794caf8606cf3da5ddac8bc02d6.tar.gz
tcl-1bcaf97bfdcfc794caf8606cf3da5ddac8bc02d6.tar.bz2
merge trunk
Diffstat (limited to 'compat/opendir.c')
-rw-r--r--compat/opendir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/opendir.c b/compat/opendir.c
index 7a49566..07d265e 100644
--- a/compat/opendir.c
+++ b/compat/opendir.c
@@ -28,7 +28,7 @@ opendir(
if ((fd = open(myname, 0, 0)) == -1) {
return NULL;
}
- dirp = (DIR *) ckalloc(sizeof(DIR));
+ dirp = (DIR *) Tcl_Alloc(sizeof(DIR));
if (dirp == NULL) {
/* unreachable? */
close(fd);