Skip to content

Fix #10630 - fix broken separators in nim doc#11814

Merged
narimiran merged 4 commits intonim-lang:develfrom
genotrance:osseps
Jul 24, 2019
Merged

Fix #10630 - fix broken separators in nim doc#11814
narimiran merged 4 commits intonim-lang:develfrom
genotrance:osseps

Conversation

@genotrance
Copy link
Copy Markdown
Contributor

PR #10629 implementation was rejected, this style was agreeable to Araq.

I have leveraged code from compiler/platform.nim which was more expansive. There are variations though which I have highlighted in comments. Please review.

Note that RISCOS is not in platform.nim.

@narimiran narimiran merged commit 44aadd5 into nim-lang:devel Jul 24, 2019
narimiran pushed a commit that referenced this pull request Aug 12, 2019
const
CurDir* =
when defined(macos): ':'
elif defined(genode): '/'
Copy link
Copy Markdown
Member

@timotheecour timotheecour Jan 25, 2020

Choose a reason for hiding this comment

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

@Araq @genotrance @ehmry is / (instead of .) for indicating current dir correct for genode ? couldn't find any info on the web regarding that; I'm asking since this change wasn't mentioned in this PR and it looks strange

Copy link
Copy Markdown

@ghost ghost Jan 25, 2020

Choose a reason for hiding this comment

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

Yes, I was the one that set it to /. I think the reasoning was that without a libc the current working directory can only be /.

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