Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epoc: cleanup #531

Merged
merged 19 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkg/noun/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,9 @@ u3e_stop(void)
close(u3P.eph_i);
unlink(u3C.eph_c);
}

close(u3P.sou_u.fid_i);
close(u3P.sou_u.fid_i);
}

/* u3e_yolo(): disable dirty page tracking, read/write whole loom.
Expand Down Expand Up @@ -1710,6 +1713,8 @@ u3e_init(void)
{
u3P.pag_w = u3C.wor_i >> u3a_page;

u3P.nor_u.fid_i = u3P.sou_u.fid_i = -1;

u3e_foul();

#ifdef U3_GUARD_PAGE
Expand Down
2 changes: 1 addition & 1 deletion pkg/noun/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ u3t_flee(void)
/* u3t_trace_open(): opens a trace file and writes the preamble.
*/
void
u3t_trace_open(c3_c* dir_c)
u3t_trace_open(const c3_c* dir_c)
{
c3_c fil_c[2048];

Expand Down
2 changes: 1 addition & 1 deletion pkg/noun/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
/* u3t_trace_open(): opens the path for writing tracing information.
*/
void
u3t_trace_open(c3_c *dir_c);
u3t_trace_open(const c3_c *dir_c);

/* u3t_trace_close(): closes the trace file. optional.
*/
Expand Down
Loading