Skip to content

rdmd fixes #14

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 24, 2011
Merged

rdmd fixes #14

merged 6 commits into from
Oct 24, 2011

Conversation

CyberShadow
Copy link
Member

Two small fixes. See the commit list (and the extended commit messages) for details.

This fixes usage of rdmd by multiple users on the same system.

Note that a malicious user might still pre-create a directory in /tmp.
This might be exploited (e.g. by placing executable or object files with
dates way into the future).
@CyberShadow
Copy link
Member Author

Ugh, found another bug... Annoyingly this prevents using rdmd with Visual D (which uses a non-standard extension). I'll add the fix to this pull request (edit: when GitHub gets back online properly).

This is just a hack around the problem that rdmd can't parse DMD options
which take an argument separated by a space (such as -map).
rdmd already scans the command line to find the point where option
parsing should stop. Including this getopt option breaks using rdmd
with e.g. DMD's -map option.
@CyberShadow
Copy link
Member Author

Two more problems came up during attempts to integrate rdmd with Visual D. Please review.

@Abscissa
Copy link
Contributor

Abscissa commented Oct 1, 2011

All looks good to me.

WalterBright added a commit that referenced this pull request Oct 24, 2011
@WalterBright WalterBright merged commit 9c03c27 into dlang:master Oct 24, 2011
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