Jim Meyering
92a7d592df
build: update to latest gnulib
...
* .gnulib: Update submodule to latest.
* daemon/m4/gnulib-cache.m4: Regenerate.
2011-06-10 12:29:38 +01:00
Richard W.M. Jones
f5096dd546
daemon: Keep Coverity happy by ignoring some return values.
2011-06-09 10:53:52 +01:00
Richard W.M. Jones
29453a58d8
Coverity: Don't return freed pointers from command* along error path.
...
If the external command failed to run, we could free up the allocated
*stdoutput and *stderror pointers, but then return those freed
pointers to the caller. The caller usually tries to print and free
*stderror, so this is a serious error.
Instead, return *stdoutput as NULL, and *stderror pointing to a
generic error message.
2011-06-09 10:53:51 +01:00
Richard W.M. Jones
7a091a11d7
Coverity: Missing return on error path.
2011-06-09 10:53:51 +01:00
Richard W.M. Jones
346c5b0ebf
Coverity: Ensure fp is closed along all error paths.
2011-06-09 10:53:51 +01:00
Richard W.M. Jones
7c020a1480
Coverity: Close directory handle along error paths.
2011-06-09 10:53:46 +01:00
Richard W.M. Jones
869c11b30c
Coverity: Don't leak argv arrays.
2011-06-09 10:53:38 +01:00
Richard W.M. Jones
3135b8c378
Coverity: Don't leak error strings.
2011-06-09 10:53:23 +01:00
Richard W.M. Jones
7fae594df7
Coverity: Check return value of sysroot_path.
...
For some reason we were checking the parameter!
2011-06-09 10:53:22 +01:00
Richard W.M. Jones
3a5bd5aba2
Coverity: Check return value of malloc.
2011-06-09 10:53:22 +01:00
Richard W.M. Jones
76dfb74324
Coverity: Don't close fd_cwd if fd_cwd == -1.
2011-06-09 10:53:22 +01:00
Richard W.M. Jones
3ed8d51220
Coverity: Avoid calling sort_strings (NULL, 0) on empty list.
2011-06-09 10:53:22 +01:00
Richard W.M. Jones
48ebf50f31
Coverity: Don't call free_strings (NULL).
2011-06-09 10:53:22 +01:00
Richard W.M. Jones
9160eec4fb
Coverity: Remove unreachable code.
2011-06-09 10:53:12 +01:00
Richard W.M. Jones
bfc02f78f3
init: Remove timeout in udevadm settle command.
...
The given timeout (10s) was too low if the appliance was
running slowly, which caused a cascade of other failures
during tests.
Note that in udev-171 and above on Fedora, /sbin/start_udev
no longer exists, so now we are using this manual method to
start udevd.
2011-06-08 13:12:01 +01:00
Richard W.M. Jones
2f73ea343c
protocol: Enhance "unexpected end of file when reading from daemon" error.
...
Make this error more informative, since it is a common error when the
appliance fails to start up.
2011-06-07 12:36:02 +01:00
Richard W.M. Jones
9ce239a836
Version 1.11.9.
1.11.9
2011-06-04 22:48:13 +01:00
Richard W.M. Jones
cdd11b758f
Only include date, not time, in BUGS file.
...
This is so the file does not change so often when using 'make dist'.
2011-06-04 22:48:13 +01:00
Richard W.M. Jones
503c8f8661
Remove dependency diagram, since it is very out of date.
2011-06-04 22:22:04 +01:00
Richard W.M. Jones
42e7ea6840
virt-ls: Add virt-ls -lR option for complex file iteration.
2011-06-04 22:20:05 +01:00
Richard W.M. Jones
bb965ded27
virt-ls: Refactor mode selection code.
...
This is just code motion.
2011-06-04 18:36:36 +01:00
Richard W.M. Jones
7177340a6f
virt-ls: Small fix for output of --help option.
2011-06-04 18:36:36 +01:00
Richard W.M. Jones
418842518b
Ubuntu: Fix compilation of virt-resize if old libguestfs already installed.
2011-06-04 13:13:11 +01:00
Richard W.M. Jones
3819b657b0
recipes: in tr command \000 should be \0
2011-06-03 09:41:20 +01:00
Nikita A Menkovich
08bc8e40ce
daemon: Fix error message.
2011-05-20 11:26:09 +01:00
Richard W.M. Jones
0c133cf689
todo: Document thoughts on visiting files.
2011-05-20 10:54:55 +01:00
Nikita A Menkovich
b85b4fafe1
debian: Add build dependencies: dpkg-dev, devscripts, gperf.
2011-05-20 10:35:06 +01:00
Richard W.M. Jones
4b91462bad
daemon: Make sysroot_len be size_t instead of int.
2011-05-19 14:44:13 +01:00
Richard W.M. Jones
7ac2c210dd
todo: Remove event log parsing - done.
2011-05-18 22:23:05 +01:00
Richard W.M. Jones
b646886d1a
build: Install guestfs-recipes.1.html on website.
...
This updates commit f2c7df589c .
2011-05-18 21:11:47 +01:00
Richard W.M. Jones
f2c7df589c
Add new guestfs-rescue(1) man page with recipes.
2011-05-18 21:03:44 +01:00
Richard W.M. Jones
00d34429e5
Remove guestfish recipes.
...
These were out of date. We will replace them with more up to date
information.
2011-05-18 17:02:53 +01:00
Richard W.M. Jones
9536892721
guestfs-examples(3): Remove link to OCaml homepage.
2011-05-18 17:02:53 +01:00
Richard W.M. Jones
8a1be9265d
Version 1.11.8.
1.11.8
2011-05-18 10:31:50 +01:00
Richard W.M. Jones
f55b32b2db
zero: Disable file test because of bug in file command.
...
See: https://bugzilla.redhat.com/show_bug.cgi?id=705499
2011-05-18 10:04:05 +01:00
Richard W.M. Jones
94d1dfde27
virt-win-reg: Win XP paths can contain %systemdrive%.
2011-05-17 22:54:20 +01:00
Richard W.M. Jones
4a6890d824
virt-win-reg: systemroot macro should be replaced case insensitive.
2011-05-17 22:53:53 +01:00
Richard W.M. Jones
5984847296
New APIs: is-zero and is-zero-device, to test if file or device is all zeroes.
2011-05-17 22:06:00 +01:00
Richard W.M. Jones
ef6f877b9d
Document that guestfs_file output depends on file(1) command.
...
And therefore practically it cannot be part of the ABI since
the output of file(1) itself changes from time to time.
2011-05-17 20:57:56 +01:00
Richard W.M. Jones
b777a5a649
fuse: Add note about allowing other users to see filesystem (RHBZ#705200).
2011-05-17 19:51:37 +01:00
Richard W.M. Jones
916392e227
Version 1.11.7.
1.11.7
2011-05-17 17:48:48 +01:00
Richard W.M. Jones
12414ddc02
generator: Mark sfdisk functions as deprecated.
...
Point to the part-* API calls as replacements.
2011-05-17 17:05:12 +01:00
Richard W.M. Jones
4ec8fd189d
generator: Mark mount as deprecated.
...
Callers should use 'mount_options' or 'mount_vfs' instead.
See also:
http://libguestfs.org/guestfs.3.html#libguestfs_gotchas
2011-05-17 17:05:12 +01:00
Richard W.M. Jones
31de91f6d2
generator: Mark wait_ready as deprecated.
...
The function has been a no op for a very long time. By marking
it as deprecated we make it clear that you shouldn't call it
in new code.
2011-05-17 17:05:12 +01:00
Richard W.M. Jones
b43482964a
generator: Check the flags fields.
2011-05-17 17:05:12 +01:00
Richard W.M. Jones
34acb80a28
Enable deprecation warnings on all C programs.
2011-05-17 17:05:12 +01:00
Richard W.M. Jones
8c0aca8d92
fish: fuse: Remove redundant -DGUESTFS_DEFAULT_PATH.
...
This was left over from earlier code. It is used in the base library,
but not in guestfish or guestmount.
2011-05-17 17:05:12 +01:00
Richard W.M. Jones
be507f6a22
lib: Warn about deprecated functions (enable with -DGUESTFS_WARN_DEPRECATED=1).
...
This allows C API users to be warned if they are using any deprecated
functions.
We don't warn about this by default. Users have to specifically
request this by defining the cpp symbol GUESTFS_WARN_DEPRECATED as 1.
2011-05-17 17:05:12 +01:00
Richard W.M. Jones
33adb59b60
lib: Add GCC version macro to the header file.
...
This will be used to internally enable various GCC enhancements.
2011-05-17 17:05:12 +01:00
Richard W.M. Jones
36b236fc97
lib: Add vertical space between each function in <guestfs.h>.
2011-05-17 17:05:11 +01:00