Skip to content

Various fixes to IO stubs #26

New issue

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

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

Already on GitHub? # to your account

Merged
merged 5 commits into from
Jun 24, 2011
Merged

Various fixes to IO stubs #26

merged 5 commits into from
Jun 24, 2011

Conversation

timdawborn
Copy link
Contributor

I've been working with the IO stubs a lot over the past week and I have a number of fixes / improvements. There will be some more to come soon.

…ule.run

* improved the behaviour of ungetc
* added optional argument to intArrayFromString to not add the trailing NULL -- useful when adding JS strings as the data in the virtual file system
…fputs does not)

* corrected internal filennames of stderr and stdout
* added default getgid(void) implementation to go with getuid(void)
@kripken
Copy link
Member

kripken commented Jun 23, 2011

Hey, this looks good, thanks! I'll take a closer look later today.

Meanwhile, can you please add yourself to AUTHORS (which I just pushed an update to)? That means you officially license your contributions under the project's licensing (MIT / LLVM license).

@kripken
Copy link
Member

kripken commented Jun 24, 2011

Ok, this looks great. I have one minor style fix but I'll do it myself ( { } are used even in single-line ifs).

We will need to run all the automatic tests for changes like this. I'm fairly certain they will pass though so I'll run them after I merge (they will take all night).

Thanks again!

kripken added a commit that referenced this pull request Jun 24, 2011
Various fixes to IO stubs
@kripken kripken merged commit 7384e06 into emscripten-core:master Jun 24, 2011
tlively pushed a commit to tlively/emscripten that referenced this pull request Mar 23, 2022
lewing pushed a commit to lewing/emscripten that referenced this pull request Mar 14, 2025
…913.1 (emscripten-core#26)

[dotnet/main] Update dependencies from dotnet/arcade
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants