search for: path_list

Displaying 3 results from an estimated 3 matches for "path_list".

Did you mean: match_list
2011 Nov 10
1
Managing /etc/fstab with puppet
...t;, $file = " ", $vfstype = " ", $opt = "", $dump = "0", $passno = "0" ) { $key = "$spec/$file/$vfstype/$opt/$dump/$passno" $context = "/files/etc/fstab" $path_list = "spec = \"$spec\"" $path_exact = "*[spec=\"$spec\"]" augeas { "fstab/$key": context => "$context", onlyif => "match $path_exact size==0", changes => [...
2013 Apr 04
6
replacing mkdir -p
...$file_list = split($path, $file_separator) $paths = inline_template(''<% parent = nil %><%=@file_list.collect{ |file| parent.nil? ? parent = "#{@file_separator}":parent = "#{parent}#{file}#{@file_separator}"}.join(@path_separator) %>'') $path_list = split($paths, $path_separator) file{$path_list: ensure => directory, } This works great.... once. Then you get errors like: Error: Duplicate declaration: File[/] If there anyway to trim down the produced array by removing the resources that already exist? --...
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...@ -6638,6 +6685,8 @@ void freebsd::Link::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); } + addSafeStackRT(getToolChain(), Args, CmdArgs); + Args.AddAllArgs(CmdArgs, options::OPT_L); const ToolChain::path_list &Paths = ToolChain.getFilePaths(); for (const auto &Path : Paths) @@ -6932,6 +6981,8 @@ void netbsd::Link::ConstructJob(Compilation &C, const JobAction &JA, } } + addSafeStackRT(getToolChain(), Args, CmdArgs); + Args.AddAllArgs(CmdArgs, options::OPT_L); Args.AddA...