| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0005117 | OCaml | OCaml general | public | 2010-07-29 15:55 | 2010-08-18 14:46 |
|
| Reporter | avsm | |
| Assigned To | | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | reopened | |
| Platform | | OS | | OS Version | |
| Product Version | 3.12.0+beta1 or 3.12.0+rc1 | |
| Target Version | | Fixed in Version | 3.12.1+dev | |
|
| Summary | 0005117: build failure without HAS_MMAP on UNIX |
| Description | There's a minor typo (not_implemented instead of caml_not_implemented) in the stub for mmap that causes the build to fail when HAS_MMAP is not defined. Patch attached. |
| Tags | No tags attached. |
|
| Attached Files | mmap.diff [^] (443 bytes) 2010-07-29 15:55 [Show Content] [Hide Content]Index: mmap_unix.c
===================================================================
--- mmap_unix.c (revision 10638)
+++ mmap_unix.c (working copy)
@@ -130,7 +130,7 @@
value caml_ba_map_file(value vfd, value vkind, value vlayout,
value vshared, value vdim, value vpos)
{
- invalid_argument("Bigarray.map_file: not supported");
+ caml_invalid_argument("Bigarray.map_file: not supported");
return Val_unit;
}
|
|