Skip to content

Commit

Permalink
Fix Tcl9
Browse files Browse the repository at this point in the history
  • Loading branch information
chpock committed Jun 3, 2024
1 parent a05fbe6 commit 5359efb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generic/fsindexCmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Tcl_Obj *CookfsGetFsindexObjectCmd(Tcl_Interp *interp, Cookfs_Fsindex *i) {
goto done;
}
const char *cmd = Tcl_GetString(rc);
if (Tcl_GetAlias(interp, cmd, NULL, NULL, NULL, NULL) == TCL_OK) {
if (Tcl_GetAliasObj(interp, cmd, NULL, NULL, NULL, NULL) == TCL_OK) {
CookfsLog(printf("CookfsGetFsindexObjectCmd: alias already exists"));
goto done;
}
Expand Down
2 changes: 1 addition & 1 deletion generic/pagesCmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Tcl_Obj *CookfsGetPagesObjectCmd(Tcl_Interp *interp, Cookfs_Pages *p) {
goto done;
}
const char *cmd = Tcl_GetString(rc);
if (Tcl_GetAlias(interp, cmd, NULL, NULL, NULL, NULL) == TCL_OK) {
if (Tcl_GetAliasObj(interp, cmd, NULL, NULL, NULL, NULL) == TCL_OK) {
CookfsLog(printf("CookfsGetPagesObjectCmd: alias already exists"));
goto done;
}
Expand Down
2 changes: 1 addition & 1 deletion generic/vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ Tcl_Obj *CookfsGetVfsObjectCmd(Tcl_Interp* interp, Cookfs_Vfs *vfs) {
goto done;
}
const char *cmd = Tcl_GetString(rc);
if (Tcl_GetAlias(interp, cmd, NULL, NULL, NULL, NULL) == TCL_OK) {
if (Tcl_GetAliasObj(interp, cmd, NULL, NULL, NULL, NULL) == TCL_OK) {
CookfsLog(printf("CookfsGetVfsObjectCmd: alias already exists"));
goto done;
}
Expand Down

0 comments on commit 5359efb

Please sign in to comment.