Skip to content

Fix resolving current working directory#45

Open
vladimyr wants to merge 3 commits into
wren-lang:mainfrom
vladimyr:fix-process.cwd
Open

Fix resolving current working directory#45
vladimyr wants to merge 3 commits into
wren-lang:mainfrom
vladimyr:fix-process.cwd

Conversation

@vladimyr

Copy link
Copy Markdown
Contributor

Define WREN_PATH_MAX recursively using PATH_MAX or use a fallback.
Handle UV_ENOBUFS error (provided buffer is too small to store resolved path).

Comment thread src/module/os.c Outdated
Define `WREN_PATH_MAX` recursively using `PATH_MAX`
or use fallback.
Handle `UV_ENOBUFS` error.
Comment thread src/module/os.c
vladimyr added 2 commits June 16, 2020 21:27
Remove platform specific check.
@joshgoebel

Copy link
Copy Markdown
Contributor

What is the case when the path is longer than 4096 characters?

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.

3 participants