similar to: [PATCH 1/2] common/mlstdutils: Add with_open_in and with_open_out functions.

Displaying 20 results from an estimated 1000 matches similar to: "[PATCH 1/2] common/mlstdutils: Add with_open_in and with_open_out functions."

2017 Nov 07
0
[PATCH] common/mlstdutils: Add with_openfile function.
This safe wrapper around Unix.openfile ensures that exceptions escaping cannot leave unclosed files. There are only a few places in the code where this wrapper can be used currently. There are other occurences of Unix.openfile but they are not suitable for replacement. --- common/mlstdutils/std_utils.ml | 4 ++++ common/mlstdutils/std_utils.mli | 6 ++++++ daemon/devsparts.ml | 5
2017 Nov 05
0
[PATCH 2/2] common/mlstdutils: Add with_openfile function.
This safe wrapper around Unix.openfile ensures that exceptions escaping cannot leave unclosed files. There are only a few places in the code where this wrapper can be used currently. There are other occurences of Unix.openfile but they are not suitable for replacement. --- common/mlstdutils/std_utils.ml | 4 ++++ common/mlstdutils/std_utils.mli | 6 ++++++ daemon/devsparts.ml |
2015 Mar 12
1
[PATCH] generator: small optimization of pod2text cache memoization
Instead of save every time there's a new element in the cache, batch the saving to disk every 100 changes, saving the unsaved remainder at the exit. While not a big optimization, this reduces a bit the disk usage during generator run. --- generator/utils.ml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/generator/utils.ml b/generator/utils.ml index
2018 Mar 27
1
[PATCH FOR DISCUSSION ONLY] v2v: Add -o kubevirt output mode.
XXX No documentation. Only handles one disk. Network cards? Do we need to escape YAML format? What firmware types does kubevirt support. --- v2v/Makefile.am | 2 + v2v/cmdline.ml | 21 ++++++++++ v2v/output_kubevirt.ml | 103 ++++++++++++++++++++++++++++++++++++++++++++++++ v2v/output_kubevirt.mli | 24 +++++++++++ 4 files changed, 150 insertions(+) diff --git
2018 Aug 23
0
[PATCH v2 2/2] OCaml tools: add output selection for --machine-readable
Add an optional argument for --machine-readable to select the output, adding a new function to specifically write data to that output stream. The possible choices are: * --machine-readable: to stdout, like before * --machine-readable=file:name-of-file: to the specified file * --machine-readable=stream:stdout: explicitly to stdout * --machine-readable=stream:stderr: explicitly to stderr Adapt all
2016 Nov 30
0
Re: [PATCH] builder: Rearrange how template-building scripts work.
On Monday, 28 November 2016 10:40:51 CET Richard W.M. Jones wrote: > Create a new directory (builder/template). Integrate all of the > scripts into a single program, so that templates are generated more > consistently. > > This also changes how the index file is generated. The script now > generates the index file fragment and saves it under version control, > and then
2018 Aug 20
2
[PATCH 1/2] mlstdutils/mltools: factorize the machine-readable option
Store the machine-readable flag globally, just like done for verbose/debug/etc, and enhance create_standard_options to provide --machine-readable automatically. --- common/mlstdutils/std_utils.ml | 4 ++++ common/mlstdutils/std_utils.mli | 7 +++++-- common/mltools/tools_utils.ml | 7 ++++++- common/mltools/tools_utils.mli | 5 ++++- 4 files changed, 19 insertions(+), 4 deletions(-) diff
2018 Dec 03
0
[supermin PATCH 2/2] prepare: create a really empty base.tar.gz with no config files
tar defaults to 10K as block size, and thus it pads the created archives to multiples of that size using zero's. Hence, when creating an archive with no files, it will be 10K zero's, that is compressed by gzip, resulting in few bytes. The issue happens later, during the build phase: base.tar.gz is correctly detected as gz, and zcat is run to detect its content: since the empty tar was
2018 Jun 27
1
[PATCH] v2v: -o local: print libvirt XML
In verbose mode, print the generated libvirt XML to stderr for debugging, just like -o libvirt does. --- v2v/output_local.ml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/v2v/output_local.ml b/v2v/output_local.ml index 4e1088afc..c70428134 100644 --- a/v2v/output_local.ml +++ b/v2v/output_local.ml @@ -68,7 +68,13 @@ class output_local dir = object let name =
2019 Aug 13
5
[PATCH 0/3] generator: pod2text-related improvements
- refactor memoization code - pass pod as stdin rather than files Pino Toscano (3): generator: isolate memoized cache in own module generator: adjust variable names generator: improve pod2text invocation generator/Makefile.am | 3 ++ generator/memoized_cache.ml | 62 +++++++++++++++++++++ generator/memoized_cache.mli | 29 ++++++++++ generator/utils.ml | 101
2017 Apr 06
0
[PATCH v4 3/9] v2v: linux: Replace 'ki_supports_virtio' field.
Previously the kernel_info field 'ki_supports_virtio' really meant that the kernel supports virtio-net. That was used as a proxy to mean the kernel supports virtio in general. This change splits the field so we explicitly test for both virtio-blk and virtio-net drivers, and store the results as separate fields. The patch is straightforward, except for the change to the
2016 Nov 28
2
[PATCH] builder: Rearrange how template-building scripts work.
Create a new directory (builder/template). Integrate all of the scripts into a single program, so that templates are generated more consistently. This also changes how the index file is generated. The script now generates the index file fragment and saves it under version control, and then generates the final index file by concatenating these. (Previously the index was written by hand which was
2007 May 01
0
Re: [asterisk-dev] SRTP implementation
> Olle E Johansson wrote: >> >> 23 apr 2007 kl. 19.55 skrev Russell Bryant: >> >>> John Todd wrote: >>>> To morph this into a -dev thread: if this patch were to become (again) >>>> useful and error-free, is there any objection or usefulness in adding it >>>> to TRUNK? Personally, I think there is, if there is a method by which
2007 Mar 23
3
SRTP testers needed
please look at http://www.voip-info.org/wiki/view/Asterisk+SRTP and try compile&run clients with srtp (linksys,gxp-2000, minisip, twikle, ...) --------------------------------------- Marek Cervenka Centrum Vypocetni Techniky CVT - http://cvt.fpf.slu.cz FPF SLU OPAVA - http://www.fpf.slu.cz LCNA - http://lcna.slu.cz =======================================
2004 Aug 06
2
ices2 - memory leak
hi, i have rh72 systems + updates libvorbis, libogg, vorbis-tools (xslt,xml2) recompiled rpm from rh8.0 ices2 klient celeron 1.Ghz 512RAM icecast2 server duron 700Mhz 256RAM 100Mbps network 4 streams 128 kbs ogg from playlist(random) i have noticed memory leaks in ices2 (randomly) what type of info do you need to correct this? (im newbie to debugging) --
2007 Mar 20
4
blktap howto
hi, i''m trying move from file: based disk to tap:aio but things don''t work i have centos4 dom0 with centos4 domU xen 3.0.4-testing changeset: 13138:d401cb96d8a0 self compiled [root@xen linux-2.6.16.38-xen]# grep XEN_BLKDEV_TAP .config CONFIG_XEN_BLKDEV_TAP=m config disk = [ ''file:/var/lib/xen/test.img,hda1,w'',
2004 Aug 06
0
Re: ices2 - memory leak
> hi, > > i have rh72 systems + updates > libvorbis, libogg, vorbis-tools (xslt,xml2) recompiled rpm from rh8.0 > ices2 klient celeron 1.Ghz 512RAM > icecast2 server duron 700Mhz 256RAM > 100Mbps network > > 4 streams 128 kbs ogg from playlist(random) > > i have noticed memory leaks in ices2 (randomly) > > what type of info do you need to correct this?
2017 Nov 14
1
Re: [PATCH v12 3/3] New tool: virt-builder-repository
On Mon, Nov 13, 2017 at 02:56:12PM +0100, Cédric Bosdonnat wrote: > +let checksums_get_sha512 = function > + | None -> None > + | Some csums -> > + try > + Some (List.find ( > + function > + | Checksums.SHA512 _ -> true > + | _ -> false > + ) csums) > + with Not_found -> None This is still a bit
2015 Aug 13
2
simultaneous use of chan_sip/chan_pjsip
Dne 13.8.2015 v 17:20 Rusty Newton napsal(a): > On Thu, Aug 13, 2015 at 3:54 AM, Marek ?ervenka <cervajs at fpf.slu.cz > <mailto:cervajs at fpf.slu.cz>> wrote: > > hello, > > is it possible simultaneously use chan_sip and chan_pjsip? > > if yes, can you recommend settings > > i'm thinking about > - chan_sip - for sip
2016 Jan 29
2
asterisk 13 mixmonitor - random missing syllables
Dne 28.1.2016 v 13:37 Brian :: napsal(a): > when you say load - how many concurrent calls? Is there transcoding > happening? sip / PRIs ? what load? > 12 concurrent calls no transcoding SIP under 1.5 with 4x 1Ghz vcpus (its vmware VPS) > On Thu, Jan 28, 2016 at 9:57 AM, Marek ?ervenka <cervajs at fpf.slu.cz > <mailto:cervajs at fpf.slu.cz>> wrote: > >