Displaying 2 results from an estimated 2 matches for "from_maybe_windows_path".
2015 Mar 17
0
[PATCH] virt-ls: support drive letters on Windows
...ptions.h"
#include "visit.h"
+#include "windows.h"
/* Currently open libguestfs handle. */
guestfs_h *g;
@@ -76,6 +77,8 @@ static void output_int64_uid (int64_t);
static void output_string (const char *);
static void output_string_link (const char *);
+static char *from_maybe_windows_path (const char *);
+
static void __attribute__((noreturn))
usage (int status)
{
@@ -374,7 +377,7 @@ main (int argc, char *argv[])
unsigned errors = 0;
while (optind < argc) {
- const char *dir = argv[optind];
+ const char *dir = from_maybe_windows_path(argv[optind]);
switch...
2015 Mar 17
2
[PATCH] RFE: support Windows drive letters in virt-ls
It is modelled after virt-cat.
Fixes RHBZ#845234
Maros Zatko (1):
virt-ls: support drive letters on Windows
cat/ls.c | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
--
1.9.3