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

if HAS_TRUNCATE is not defined for some reason, external functions unix_truncate_64 and unix_ftruncate_64 are not defined #4168

Closed
vicuna opened this Issue Nov 23, 2006 · 2 comments

Comments

Projects
None yet
1 participant
@vicuna
Copy link
Collaborator

vicuna commented Nov 23, 2006

Original bug ID: 4168
Reporter: monniaux
Status: closed (set by @damiendoligez on 2006-11-24T13:49:46Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 3.09.4+dev / +rc
Category: ~DO NOT USE (was: OCaml general)

Bug description

otherlibs/unix/truncate.c
otherlibs/unix/ftruncate.c

The stubs saying '(f)truncate not implemented' should also exist for the _64 bit functions, for platforms where truncate() is not available.

[I discovered this bug when attempting to compile under icc and getting hit by bug 0003917, which results in many HAS_xx symbols being erroneously undefined.]

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Nov 24, 2006

Comment author: monniaux

Sorry, this should have been put in the 'OCaml' folder.

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Nov 24, 2006

Comment author: @damiendoligez

fixed in 3.09 branch

@vicuna vicuna closed this Nov 24, 2006

@vicuna vicuna added the bug label Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.