search for: 69118da

Displaying 4 results from an estimated 4 matches for "69118da".

Did you mean: 69118
2016 Jul 13
6
[PATCH 0/5] Fix SELinux
We can use the setfiles(8) command to relabel the guest filesystem, even though we don't have a policy loaded nor SELinux enabled in the appliance kernel. This also deprecates or removes the old and broken SELinux support. This patch isn't quite complete - I would like to add some tests to the new API. I'm posting here to garner early feedback. Rich.
2016 Jul 14
10
[PATCH v2 0/7] Fix SELinux
v1 -> v2: - Add simple test of the setfiles API. - Use SELinux_relabel module in virt-v2v (instead of touch /.autorelabel). - Small fixes. Rich.
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...ibdir.ml \ common_gettext.ml \ + getopt.ml \ dev_t.ml \ common_utils.ml \ fsync.ml \ @@ -61,6 +63,7 @@ SOURCES_C = \ ../fish/uri.c \ dev_t-c.c \ fsync-c.c \ + getopt-c.c \ mkdtemp-c.c \ progress-c.c \ statvfs-c.c \ diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml index 69118da..44efe07 100644 --- a/mllib/common_utils.ml +++ b/mllib/common_utils.ml @@ -582,20 +582,26 @@ let compare_command_line_args a b = compare (String.lowercase (skip_dashes a)) (String.lowercase (skip_dashes b)) (* Implement `--short-options' and `--long-options'. *) -let long_options = r...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
....sh -- \ + $(top_srcdir)/ocaml-link.sh -cclib '-lutils $(LIBXML2_LIBS) -lgnu' -- \ $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) $(OCAMLPACKAGES_TESTS) $(OCAMLLINKFLAGS) \ $(common_utils_tests_THEOBJECTS) -o $@ diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml index 69118da..2379e61 100644 --- a/mllib/common_utils.ml +++ b/mllib/common_utils.ml @@ -566,67 +566,20 @@ let human_size i = ) ) -(* Skip any leading '-' characters when comparing command line args. *) -let skip_dashes str = - let n = String.length str in - let rec loop i = - if i >=...