Re: [Libguestfs] [hivex][PATCH] Increase filetime printing resolution to sub-second

2011-12-14 Thread Jim Meyering
Alex Nelson wrote: On Dec 13, 2011, at 02:04 , Jim Meyering wrote: Alex Nelson wrote: ... is an additional test that shows what the actual behavior of nstrftime is, though I don't know if that's what the expected behavior is. I would expect 10 nanoseconds to be reported as 0.0001 seconds

Re: [Libguestfs] Development and hosting arrangements [new discussion thread]

2012-01-04 Thread Jim Meyering
Richard W.M. Jones wrote: (3) Hosting the git repository. Current status: http://git.annexia.org/?p=libguestfs.git;a=summary is hosted by RWMJ. We use fedorahosted.org/git as a mirror / backup. We use 306 MB of disk space + a minor amount for hivex and febootstrap, and an unknown but small

Re: [Libguestfs] [PATCH 1/2] ext2: tweak the error returned message of resize2fs-M(BZ755729)

2012-01-13 Thread Jim Meyering
Richard W.M. Jones wrote: On Fri, Jan 13, 2012 at 02:27:49PM +0800, Wanlong Gao wrote: Tweak the error message e2fsck -f and e2fsck -fy to e2fsck-f and e2fsck-fy. Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com --- daemon/ext2.c | 20 ++-- 1 files changed, 18

Re: [Libguestfs] [PATCH 3/4] ocaml: Use automake to build the C part of the bindings.

2012-01-18 Thread Jim Meyering
Richard W.M. Jones wrote: By arranging the C part of the bindings into a library, we can get automake to build it instead of using $(CC) directly. diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am ... -AM_CPPFLAGS = -I$(top_builddir) -I$(OCAMLLIB) -I$(top_srcdir)/ocaml \ -

Re: [Libguestfs] [PATCH 4/4] lib: Use -fvisibilty=hidden by default; only ABI symbols are now visible.

2012-01-18 Thread Jim Meyering
Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com http://gcc.gnu.org/wiki/Visibility --- configure.ac |6 generator/generator_c.ml | 70 - src/Makefile.am |8 +++-- 3 files changed, 48

Re: [Libguestfs] [PATCH 3/3] daemon: Run udev_settle after pwrite-device finishes.

2012-01-19 Thread Jim Meyering
Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com When you call close on any block device, udev kicks off a rule which runs blkid to reexamine the device. We need to wait for this rule to finish running since it holds the device open and can cause other operations to

[Libguestfs] [PATCH libguestfs] build: don't use automake-internal variable

2012-01-23 Thread Jim Meyering
Hi Rich, I realized a day or two late that my suggestion was not quite right. Here's the fix: From 5294c21cf07c4ec2f094182ba9f32696f3de2751 Mon Sep 17 00:00:00 2001 From: Jim Meyering meyer...@redhat.com Date: Mon, 23 Jan 2012 10:01:40 +0100 Subject: [PATCH libguestfs] build: don't use automake

Re: [Libguestfs] [PATCH libguestfs] build: don't use automake-internal variable

2012-01-23 Thread Jim Meyering
Additional info, here's an excerpt from Makefile.in regenerated after applying that change: am__libguestfsocaml_a_SOURCES_DIST = guestfs_c.c guestfs_c_actions.c @HAVE_OCAML_TRUE@am_libguestfsocaml_a_OBJECTS = \ @HAVE_OCAML_TRUE@ libguestfsocaml_a-guestfs_c.$(OBJEXT) \ @HAVE_OCAML_TRUE@

Re: [Libguestfs] [PATCH] Coalesce printable characters in debug and trace messages (RHBZ#802109).

2012-03-12 Thread Jim Meyering
Richard W.M. Jones wrote: +#define NO_ESCAPING(c) \ + (c_isprint ((c)) || (from_appliance ((c) == '\n' || (c) == '\r'))) + for (i = 0; i buf_len; ++i) { - c = buf[i]; - if (c_isprint (c) || (from_appliance (c == '\n' || c == '\r'))) -putc (c, stderr); -

[Libguestfs] [PATCH libguestfs] maint: fix doc typos

2012-04-18 Thread Jim Meyering
Hi Rich, I ran this command to spot a few typos: git ls-files|misspellings -f -|grep -v '^po' Here are fixes: From ec62fad96cc2884c8fd43ecb550a8bcac317cca0 Mon Sep 17 00:00:00 2001 From: Jim Meyering meyer...@redhat.com Date: Wed, 18 Apr 2012 11:15:57 +0200 Subject: [PATCH libguestfs] maint

Re: [Libguestfs] [hivex][PATCH v2] OS X, bootstrap: Locate pkg.m4

2012-06-12 Thread Jim Meyering
Richard W.M. Jones wrote: On Mon, Jun 11, 2012 at 11:54:14AM -0700, Alex Nelson wrote: OS X does not include pkg-config by default. This causes ./configure to fail when invoking PKG_CHECK_MODULES for libxml2. This change autodetects the path for aclocal, c/o RWMJ noting the real problem is

[Libguestfs] [PATCH hivex] tests: avoid spurious failure when run in non-srcdir build

2012-08-28 Thread Jim Meyering
From: Jim Meyering meyer...@redhat.com Date: Tue, 28 Aug 2012 11:39:51 +0200 Subject: [PATCH hivex] tests: avoid spurious failure when run in non-srcdir build * ocaml/t/hivex_120_rlenvalue.ml: Avoid spurious failure when the test is run in a non-srcdir (aka VPATH) build. I.e., open a $srcdir

[Libguestfs] [PATCH hivex 1/2] maint: avoid some syntax-check test failures

2012-08-28 Thread Jim Meyering
Hi Rich, I've updated hivex to use the latest from gnulib and fixed a few syntax-check failures. With these changes, almost all of make distcheck succeeds. (details coming separately) From c6300c44a1eda1a55a23249fde94882ea5a1c430 Mon Sep 17 00:00:00 2001 From: Jim Meyering meyer...@redhat.com

Re: [Libguestfs] make distcheck failure

2012-08-28 Thread Jim Meyering
Richard W.M. Jones wrote: On Tue, Aug 28, 2012 at 11:59:11AM +0200, Jim Meyering wrote: Hi Rich, I ran these commands as non-root: ./autogen.sh make make distcheck It got most of the way through, but failed in the VPATH part while rebuilding from a ./_build subdir, like

[Libguestfs] [PATCH hivex] maint: remove unnecessary mkdir -p

2012-08-28 Thread Jim Meyering
Does hivex have a trivial-patch policy? From e23c45a2f813ac29b022faa9112c1977b651862f Mon Sep 17 00:00:00 2001 From: Jim Meyering meyer...@redhat.com Date: Tue, 28 Aug 2012 17:34:26 +0200 Subject: [PATCH hivex] maint: remove unnecessary mkdir -p * ocaml/Makefile.am (install-data-hook): Remove

Re: [Libguestfs] [PATCH hivex] maint: remove unnecessary mkdir -p

2012-08-28 Thread Jim Meyering
Richard W.M. Jones wrote: On Tue, Aug 28, 2012 at 05:47:50PM +0200, Jim Meyering wrote: Does hivex have a trivial-patch policy? No, but yes please push obvious trivial patches like this. Pushed. ___ Libguestfs mailing list Libguestfs@redhat.com

Re: [Libguestfs] Remaining syntax-check errors in libguestfs

2012-09-17 Thread Jim Meyering
Richard W.M. Jones wrote: ... and why they are (probably) not errors. bindtextdomain daemon/guestfsd.c erlang/erl-guestfs-proto.c examples/copy_over.c examples/create_disk.c examples/display_icon.c examples/inspect_vm.c examples/mount_local.c examples/virt-dhcp-address.c

[Libguestfs] [PATCH libguestfs] maint: remove a subsumed syntax-check rule

2012-09-17 Thread Jim Meyering
Hi Rich, I noticed that libguestfs's cfg.mk had an old (and relatively inefficient) version of the rule that checks for empty lines at EOF. The one in maint.mk is much more efficient: From cf93f04a980ec01ef37db9a0d4c7b99015169eee Mon Sep 17 00:00:00 2001 From: Jim Meyering meyer...@redhat.com

Re: [Libguestfs] Remaining syntax-check errors in libguestfs

2012-09-18 Thread Jim Meyering
Richard W.M. Jones wrote: On Mon, Sep 17, 2012 at 10:47:52AM +0200, Jim Meyering wrote: trailing_blank TODO:405: - swap devices (both of block device and file) should be wiped. This may Binary file tests/guests/guest-aux/windows-software matches Binary file tests/guests/guest-aux

Re: [Libguestfs] Request to relicense hash gnulib module to LGPLv2+

2013-11-05 Thread Jim Meyering
the original author was Jim Meyering (CC'd) - the dependencies are all LGPLv2+ I'm going to write (or find) a new hash implementation for libguestfs really soon. Is there any final chance this will be relicensed? Hi Rich, Sorry I didn't reply sooner. Somehow I missed this thread completely