~sircmpwn/hare#525: 
+libc exits with nonzero status

Unless I call os::exit manually. Why? Probably because we need the stdlib's main function to return zero to libc.

Status
RESOLVED FIXED
Submitter
~sircmpwn
Assigned to
No-one
Submitted
3 years ago
Updated
1 year, 11 months ago
Labels
+libc bug

~sircmpwn REPORTED FIXED 3 years ago

Drew DeVault referenced this ticket in commit bbb19b4.

~sircmpwn FIXED REPORTED 3 years ago

~ach 2 years ago

I noticed that _start is provided by libc, so I wonder how libc knows to invoke the hare initialization? I think it might be just jumping straight to main and skipping your initialization (and exit) code.

~sebsite REPORTED FIXED 1 year, 11 months ago

Register here or Log in to comment, or comment via email.