Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New event API - OCaml bindings (RHBZ#664558). | Richard W.M. Jones | 2011-03-15 | 1 | -1/+1 |
| | | | | | | The functions set_progress_callback and clear_progress_callback have been removed, and replaced with a complete mechanism for setting and deleting general-purpose events. | ||||
* | ocaml: Fix some unused parameter warnings in OCaml bindings. | Richard W.M. Jones | 2010-11-23 | 1 | -0/+10 |
| | |||||
* | ocaml: Fix thread safety of strings in bindings (RHBZ#604691). | Richard Jones | 2010-06-16 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | There's a thread safety issue with the current OCaml bindings which is well explained in the bug report: https://bugzilla.redhat.com/show_bug.cgi?id=604691 This commit fixes the safety issue by copying strings temporarily before releasing the thread lock. Updated code looks like this: char *filename = guestfs_safe_strdup (g, String_val (filenamev)); int r; caml_enter_blocking_section (); r = guestfs_add_drive_ro (g, filename); caml_leave_blocking_section (); free (filename); if (r == -1) ocaml_guestfs_raise_error (g, "add_drive_ro"); Also included is a regression test. | ||||
* | ocaml: General improvements to generated code. | Richard W.M. Jones | 2009-11-06 | 1 | -0/+2 |
| | |||||
* | Use safe_malloc and/or check returns from malloc (Jim Meyering). | Richard Jones | 2009-04-30 | 1 | -1/+1 |
| | |||||
* | Added test suite. | Richard Jones | 2009-04-11 | 1 | -0/+2 |
| | |||||
* | OCaml bindings compile. | Richard Jones | 2009-04-08 | 1 | -1/+3 |
| | |||||
* | Outline OCaml bindings. | Richard Jones | 2009-04-07 | 1 | -0/+24 |