| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't assume that if guestfs_case_sensitive_path returns NULL, that it
means the file does not exist.
The (previously undefined) behaviour of case_sensitive_path was that a
NULL return meant "either the file doesn't exist or some other error".
However in commit 973581780d8a006f336684fef6762801402d775d this was
changed so that if the last element of the path didn't exist, it was
assumed to be a new file and the (non-NULL) path of the new file is
returned.
This change breaks code (including in libguestfs) which tries to use
case_sensitive_path as a dual-purpose call to fix-up a path for
Windows and test if the file exists. Such code should be rewritten so
that it explicitly tests for file existence after calling
case_sensitive_path.
I examined all the calls to case_sensitive_path in libguestfs and
modified them where necessary.
Cherry picked from commit 9ea6e9701461e594033999150f930cc4fafec4d2.
|
|
|
|
|
|
|
| |
Found by 'make syntax-check'.
Cherry picked from commit a67129b0fb45b2f83eb711c6c599569d0f53e580
and modified for 1.18 branch.
|
|
|
|
|
|
|
| |
Found by 'make syntax-check'.
Cherry picked from commit 9fce75aa13de52561ec0f4ae083c4ab0fa4455d1
and fixed for libguestfs 1.18 branch.
|
|
|
|
|
|
|
| |
Mac OS X doesn't have endian.h
Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
(cherry picked from commit 6e3f8d2511a63bdcfa7c7d0e5414d5643c4ff599)
|
|
This is just code motion.
Some files cannot be renamed. Notably rpcgen input and output files
must not contain dash characters, else rpcgen breaks.
Cherry picked from commit 2e4089f30007e79bc157c775cfd3b326d22f2992
and modified so that conflicts in the following files:
po-docs/ja.po
po-docs/libguestfs-docs.pot
po-docs/uk.po
were resolved by simply copying the files from the master branch.
|