Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

fix issue 11293 (locale enumeration for Windows, OS X, Linux) #641

Merged
1 commit merged into from
Oct 20, 2013

Conversation

luismarques
Copy link
Contributor

Add the missing LC_MESSAGES constant for Linux.

Fix the enumeration values for Windows and OS X, which were using Linux's values, incorrectly.

http://d.puremagic.com/issues/show_bug.cgi?id=11293

enum LC_TIME = 5;
enum LC_MESSAGES = 6;
}
else
Copy link
Member

Choose a reason for hiding this comment

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

Can you please add FreeBSD. Here is the header.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did (ff898d4). Do I need to do anything in the pull request, to make sure when it is merged then the last commit is merged?

@ghost
Copy link

ghost commented Oct 20, 2013

Thanks. All that's left is to squash them into a single commit. If you need help with that let me know!

Add the missing LC_MESSAGES constant for Linux.

Fix the enumeration values for Windows, OS X and FreeBSD,
which were using Linux's values, incorrectly.
@luismarques
Copy link
Contributor Author

AndrejMitrovic: I squashed it into a single commit. I didn't do that earlier because I thought that force pushing (removing commits that you had already seen) would be bad, so I appended new commits. I'll amend / rebase interactive in the future, if that's what's desirable.

@ghost
Copy link

ghost commented Oct 20, 2013

Well squashing depends on the pull. But you typically wouldn't want many commits which do trivial things (e.g. "added bracket around if" or something like that, it's not worth a separate commit).

ghost pushed a commit that referenced this pull request Oct 20, 2013
fix issue 11293 (locale enumeration for Windows, OS X, Linux)
@ghost ghost merged commit 3385c79 into dlang:master Oct 20, 2013
@ghost
Copy link

ghost commented Oct 20, 2013

Typically you would also add a link to the bugzilla issue in the github pull request description (I've edited your post to include it).

Anyway thanks!

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants