diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2003-12-29 22:15:02 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2003-12-29 22:15:02 +0000 |
commit | 31943bac1db3351118c7f911db99bd567f02a883 (patch) | |
tree | 053244070a0a7f612d637a0547f0d851a2dd024a /byterun/unix.c | |
parent | dbf40e0b61af6f34d4a2736be1f0562ee5e8a52f (diff) |
depollution suite (PR#1914 et PR#1956); byterun/weak.c: PR#1929 suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/unix.c')
-rw-r--r-- | byterun/unix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/byterun/unix.c b/byterun/unix.c index 1e47b720e..4ba930910 100644 --- a/byterun/unix.c +++ b/byterun/unix.c @@ -56,7 +56,7 @@ char * decompose_path(struct ext_table * tbl, char * path) q = p; while (1) { for (n = 0; q[n] != 0 && q[n] != ':'; n++) /*nothing*/; - ext_table_add(tbl, q); + caml_ext_table_add(tbl, q); q = q + n; if (*q == 0) break; *q = 0; @@ -141,7 +141,7 @@ char * search_exe_in_path(char * name) char * tofree; char * res; - ext_table_init(&path, 8); + caml_ext_table_init(&path, 8); tofree = decompose_path(&path, getenv("PATH")); #ifndef __CYGWIN32__ res = search_in_path(&path, name); @@ -149,7 +149,7 @@ char * search_exe_in_path(char * name) res = cygwin_search_exe_in_path(&path, name); #endif stat_free(tofree); - ext_table_free(&path, 0); + caml_ext_table_free(&path, 0); return res; } @@ -349,7 +349,7 @@ int caml_read_directory(char * dirname, struct ext_table * contents) if (strcmp(e->d_name, ".") == 0 || strcmp(e->d_name, "..") == 0) continue; p = stat_alloc(strlen(e->d_name) + 1); strcpy(p, e->d_name); - ext_table_add(contents, p); + caml_ext_table_add(contents, p); } closedir(d); return 0; |