Skip to content

Conversation

Vitriol1744
Copy link

No description provided.

Copy link
Contributor

@marv7000 marv7000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to base this PR on the master branch, otherwise this can't be merged.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sysdeps should follow the formatting of mlibc, do not do this!

'linux': true,
'glibc': true,
'bsd': true,
'ansi': true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ansi is not an option

provides_bits_syscall_h = false
if host_machine.system() == 'linux'

if host_machine.system() == 'cryptix'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add this at the end of the if, not at the start.


size_t len = strlen(message) + 1;
char* messageEOL
= reinterpret_cast<char*>(alloca(len + sizeof(MLIBC_SIG)));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just write multiple times? This alloca is unnecessary.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not include Linux headers, their license is also not compatible!

@marv7000
Copy link
Contributor

Also, please redo the commits and try to follow the commit message style.

@Vitriol1744
Copy link
Author

Thanks for review, i'll make the adjustments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants