Skip to content
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

Enable mkstemp in yacc #6232

Closed
vicuna opened this issue Nov 8, 2013 · 1 comment
Closed

Enable mkstemp in yacc #6232

vicuna opened this issue Nov 8, 2013 · 1 comment
Assignees

Comments

@vicuna
Copy link

vicuna commented Nov 8, 2013

Original bug ID: 6232
Reporter: @glondu
Assigned to: @mshinwell
Status: closed (set by @xavierleroy on 2015-12-11T18:27:47Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 4.02.0+dev
Category: tools (ocaml{lex,yacc,dep,debug,...})
Tags: patch

Bug description

The attached patch enables mkstemp on more platforms (including Debian ones).

File attachments

@vicuna
Copy link
Author

vicuna commented May 30, 2014

Comment author: @mshinwell

I think it is a bug that mktemp was being used on platforms supporting mkstemp, so I have committed a fix to the 4.02 branch (rev 14929).

(However, I'm not sure the fix that was attached to this issue was correct; at least some of those macros I think are supposed to be defined by those including system headers rather than the system headers themselves, for example. We already have a "hasgot" means of detecting the presence or absence of functions such as these in the configure script, so I added mkstemp to that detection.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants