Skip to content

Commit

Permalink
3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 committed Feb 1, 2024
1 parent 874dbbe commit 02a3104
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion c_impl/blake3module.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ static PyObject *Blake3_update_mmap(Blake3Object *self, PyObject *args,
Blake3_release_gil_and_lock_self(self, &thread_state);

printf("JACK 3\n");
file = fopen(PyBytes_AS_STRING(path_bytes), "r");
const char *path_cstr = PyBytes_AS_STRING(path_bytes);
printf("JACK 3.1 %s\n", path_cstr);
file = fopen(path_cstr, "r");
printf("JACK 4\n");
if (!file) {
printf("JACK 4.1\n");
Expand Down

0 comments on commit 02a3104

Please sign in to comment.