search for: abs_path

Displaying 20 results from an estimated 66 matches for "abs_path".

2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change. I'll get back to that series shortly ;-) It turned into a factorization and constification exercise during which I got a taste of ocaml. Thanks to Rich Jones for help with a few snippets in generator.ml. The overall result is that many previously-manually-maintained bits from daemon/*.c functions are now hoisted into the automatically-
2017 Apr 20
6
[PATCH 0/5] generator: daemon: Various simplifications to stubs code.
This is a series of simplifications to the stubs code. It's all refactoring, there is no functional change. Rich.
2009 Aug 13
7
[PATCHx7] Misc patches
...a_mingw -------------- next part -------------- >From 9beb53ca567147aa2cd03c8e68b11706bc284713 Mon Sep 17 00:00:00 2001 From: Richard Jones <rjones at trick.home.annexia.org> Date: Thu, 13 Aug 2009 14:37:43 +0100 Subject: [PATCH 1/7] do_equal does not need to explicitly check for NEED_ROOT/ABS_PATH. --- daemon/cmp.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/daemon/cmp.c b/daemon/cmp.c index 56717c5..2b7e33b 100644 --- a/daemon/cmp.c +++ b/daemon/cmp.c @@ -34,10 +34,6 @@ do_equal (const char *file1, const char *file2) char *err; int r; - NEED_ROOT (...
2009 Aug 07
1
[PATCH] daemon/file.c: remove duplicate absolute-path check
minor clean-up: >From cac2ce53aec6d3aaca83e4bbc3551d452c29c0b2 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Fri, 7 Aug 2009 20:07:03 +0200 Subject: [PATCH] daemon/file.c: remove duplicate absolute-path check * daemon/file.c (do_file): Remove redundant use of ABS_PATH. It's redundant because the preceding line invokes NEED_ROOT_OR_IS_DEVICE, which also invokes ABS_PATH. --- daemon/file.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/daemon/file.c b/daemon/file.c index 63d8dd2..cd477e5 100644 --- a/daemon/file.c +++ b/daemon/file.c...
2012 Apr 12
5
[PATCH 0/4] libguestfs cannot open disk images which are symlinks to files that contain ':' (colon) character (RHBZ#812092).
Note: This is a regression in RHEL 6.3. Please review this patch urgently. The description of the bug is here: https://bugzilla.redhat.com/show_bug.cgi?id=812092 This patch set attempts to fix the problem conservatively, because it's a very high risk codepath and very late in the development of RHEL 6.3. The first patch reverts the behaviour of calling realpath(3) and checking for
2012 Jan 09
3
[PATCH 1/3] launch: move the filename checking to a wrapper
Move the filename's comma character checking to a wrapper. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- src/launch.c | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/launch.c b/src/launch.c index ca89b63..8eaaac8 100644 --- a/src/launch.c +++ b/src/launch.c @@ -277,6 +277,16 @@ valid_format_iface (const char *str) return
2008 Feb 05
1
[LLVMdev] Working on getting MingW32/native tools-only source build up
...vePerl's Perl 5.8.8; operating system Vista. I'm not going to worry about bootstrapping llvm-gcc until I know I can bootstrap gcc. 1) ActivePerl uses the wrong shell (cmd.exe rather than sh.exe) when doing backticks. I had to moderately rewrite llvm-config to use the Cwd module's abs_path function before it worked. Apologies in advance if this is already documented on the site: which files would I need to modify so that llvm-config gets auto-generated correctly? [I haven't done the work to determine what a proper patch would be. I'd think that configure would have to t...
2011 May 30
2
[LLVMdev] Build error for llvm-2.9 on RHEL5
...at gmail.com>wrote: > On Sun, May 29, 2011 at 5:05 PM, Arjun Singri <arjunsingri at gmail.com> > wrote: > > Thank you for replying. These are the first few lines from llvm-config: > > use 5.006; > > use strict; > > use warnings; > > use Cwd 'abs_path'; > > #---- begin autoconf values ---- > > my $PACKAGE_NAME = q{llvm}; > > No, the very first line (which on my computer, looks like > "#!/usr/bin/perl"). > > -Eli > -------------- next part -------------- An HTML attachment was scrubbed... URL...
2011 May 30
2
[LLVMdev] Build error for llvm-2.9 on RHEL5
Thank you for replying. These are the first few lines from llvm-config: use 5.006; use strict; use warnings; use Cwd 'abs_path'; #---- begin autoconf values ---- my $PACKAGE_NAME = q{llvm}; On Sun, May 29, 2011 at 5:00 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Sun, May 29, 2011 at 4:37 PM, Arjun Singri <arjunsingri at gmail.com> > wrote: > > Hi, > > I am gettin...
2017 Dec 08
1
Re: [PATCH v2 2/2] v2v: -i vmx: Enhance VMX support with ability to use ‘-it ssh’ transport.
On Friday, 8 December 2017 17:02:30 CET Richard W.M. Jones wrote: > This enhances the existing VMX input support allowing it to be > used over SSH to the ESXi server. > > The original command (for local .vmx files) was: > > $ virt-v2v -i vmx guest.vmx -o local -os /var/tmp > > Adding ‘-it ssh’ and using an SSH remote path gives the new syntax: > > $ virt-v2v \
2011 May 30
0
[LLVMdev] Build error for llvm-2.9 on RHEL5
On Sun, May 29, 2011 at 5:05 PM, Arjun Singri <arjunsingri at gmail.com> wrote: > Thank you for replying. These are the first few lines from llvm-config: >  use 5.006; >   use strict; >   use warnings; >   use Cwd 'abs_path'; >   #---- begin autoconf values ---- >   my $PACKAGE_NAME        = q{llvm}; No, the very first line (which on my computer, looks like "#!/usr/bin/perl"). -Eli
2011 May 30
0
[LLVMdev] Build error for llvm-2.9 on RHEL5
...;> On Sun, May 29, 2011 at 5:05 PM, Arjun Singri <arjunsingri at gmail.com> >> wrote: >> > Thank you for replying. These are the first few lines from llvm-config: >> >  use 5.006; >> >   use strict; >> >   use warnings; >> >   use Cwd 'abs_path'; >> >   #---- begin autoconf values ---- >> >   my $PACKAGE_NAME        = q{llvm}; >> >> No, the very first line (which on my computer, looks like >> "#!/usr/bin/perl"). >> >> -Eli > >
2011 May 30
1
[LLVMdev] Build error for llvm-2.9 on RHEL5
...PM, Arjun Singri <arjunsingri at gmail.com> > >> wrote: > >> > Thank you for replying. These are the first few lines from > llvm-config: > >> > use 5.006; > >> > use strict; > >> > use warnings; > >> > use Cwd 'abs_path'; > >> > #---- begin autoconf values ---- > >> > my $PACKAGE_NAME = q{llvm}; > >> > >> No, the very first line (which on my computer, looks like > >> "#!/usr/bin/perl"). > >> > >> -Eli > > > >...
2011 Sep 21
1
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
...ur advice does not work because following [old] code ensures to be able to run llvm-config [with right output] from build dir (= without 'make install'): tools/llvm-config/llvm-config.in.in:55: my ($RUN_DIR) = ($0 =~ /^(.*)\/.*$/); tools/llvm-config/llvm-config.in.in:59: my $ABS_RUN_DIR = abs_path("$RUN_DIR/.."); tools/llvm-config/llvm-config.in.in:69: my $LIBDIR = "$ABS_RUN_DIR/lib"; So push it or let it ...
2016 Apr 28
5
[Bug 11879] New: escape rrsync restricted folder
https://bugzilla.samba.org/show_bug.cgi?id=11879 Bug ID: 11879 Summary: escape rrsync restricted folder Product: rsync Version: 3.1.2 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org Reporter:
2009 Aug 12
1
factorization would be nice
...rocedure arguments\", \"%s\");\n" name; pr " return;\n"; pr " }\n"; List.iter ( function | Pathname n -> pr " char *%s = args.%s;\n" n n; pr " ABS_PATH (%s, goto done);\n" n; | Device n -> pr " char *%s = args.%s;\n" n n; pr " RESOLVE_DEVICE (%s, goto done);" n; | Dev_or_Path n -> pr " char *%s = args.%s;\n" n n; pr &q...
2017 Dec 08
0
[PATCH v2 2/2] v2v: -i vmx: Enhance VMX support with ability to use ‘-it ssh’ transport.
...x_source with + | File vmx_filename -> + (* Always ensure this returns an absolute path to avoid + * any confusion with filenames containing colons. + *) + absolute_path_from_other_file vmx_filename filename, "vmdk" + + | SSH (user, server, vmx_path) -> + let abs_path = absolute_path_from_other_file vmx_path filename in + let format = "vmdk" in + + (* XXX This is a hack to work around qemu / VMDK limitation + * "Cannot use relative extent paths with VMDK descriptor file" + * We can remove this if the above is fixed. +...
2015 Aug 10
0
[PATCH 3/4] v2v: copy virtio drivers without guestfs handle leak
...ix.S_REG - with Unix.Unix_error _ -> false - in - - let files = - if is_directory virtio_win then ( - let cmd = sprintf "cd %s && find -type f" (quote virtio_win) in - let paths = external_command cmd in - List.map ( - fun path -> - let abs_path = virtio_win // path in - (path, abs_path, - Filename.basename path, - fun () -> read_whole_file abs_path) - ) paths - ) - else if is_regular_file virtio_win then ( - try - let g = new Guestfs.guestfs () in - if trace () then g#set_trace...
2011 Sep 20
2
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
...$(Verb) $(RM) temp.sed $(Verb) cat $(FinalLibDeps) >> $@ diff --git a/tools/llvm-config/llvm-config.in.in b/tools/llvm-config/llvm-config.in.in index 840a10e..9ac4e1e 100644 --- a/tools/llvm-config/llvm-config.in.in +++ b/tools/llvm-config/llvm-config.in.in @@ -24,6 +24,7 @@ use Cwd 'abs_path'; my $PACKAGE_NAME = q{@PACKAGE_NAME@}; my $VERSION = q{@PACKAGE_VERSION@}; my $PREFIX = q{@LLVM_PREFIX@}; +my $LLVM_LIBDIR_SUFFIX = q{@LLVM_LIBDIR_SUFFIX@}; my $LLVM_CONFIGTIME = q{@LLVM_CONFIGTIME@}; my $LLVM_SRC_ROOT = q{@abs_top_srcdir@}; my...
2011 Sep 20
2
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
...Deps) >> $@ > > diff --git a/tools/llvm-config/llvm-config.in.in b/tools/llvm-config/llvm-config.in.in > > index 840a10e..9ac4e1e 100644 > > --- a/tools/llvm-config/llvm-config.in.in > > +++ b/tools/llvm-config/llvm-config.in.in > > @@ -24,6 +24,7 @@ use Cwd 'abs_path'; > > my $PACKAGE_NAME = q{@PACKAGE_NAME@}; > > my $VERSION = q{@PACKAGE_VERSION@}; > > my $PREFIX = q{@LLVM_PREFIX@}; > > +my $LLVM_LIBDIR_SUFFIX = q{@LLVM_LIBDIR_SUFFIX@}; > > my $LLVM_CONFIGTIME = q{@LLVM_CONFIGTIME@}; > &...