Displaying 20 results from an estimated 1160 matches for "prepend".
2015 Feb 13
2
[PATCH] ./run: Use 'prepend' function to build paths.
Add a bash function 'prepend' for intelligently prepending elements to
paths. eg:
prepend PYTHONPATH "/foo"
would set PYTHONPATH to "/foo" or "/foo:<previous-contents-of-PYTHONPATH>"
Tested by:
(1) Building and testing libguestfs twice: first without libguestfs
installed as a syst...
2016 Oct 27
1
[PATCH] run.in: Quote contents of @VAR@ substitutions
...++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/run.in b/run.in
index 8fdf454..438a68c 100755
--- a/run.in
+++ b/run.in
@@ -140,15 +140,15 @@ export PERL_VALGRIND=1
export PERL_DESTRUCT_LEVEL=2
# For Python.
-export PYTHON=@PYTHON@
+export PYTHON="@PYTHON@"
prepend PYTHONPATH "$b/python/.libs"
prepend PYTHONPATH "$b/python"
prepend PYTHONPATH "$s/python"
export PYTHONPATH
# For Ruby.
-export RUBY=@RUBY@
-export RAKE=@RAKE@
+export RUBY="@RUBY@"
+export RAKE="@RAKE@"
prepend RUBYLIB "$b/ruby/ext/gue...
2015 Feb 13
0
Re: [PATCH] ./run: Use 'prepend' function to build paths.
On Friday 13 February 2015 10:16:34 Richard W.M. Jones wrote:
> Add a bash function 'prepend' for intelligently prepending elements to
> paths. eg:
>
> prepend PYTHONPATH "/foo"
>
> would set PYTHONPATH to "/foo" or "/foo:<previous-contents-of-PYTHONPATH>"
>
> Tested by:
>
> (1) Building and testing libguestfs twice:...
2013 Jun 08
1
ActiveSupport::Concern support Module#prepend?
I''ve monkey patched this behavior into a gem and I was wondering if core
would be interested in a PR to add Module#prepend support to
ActiveSupport#Concern. I''ll add tests of course.
The code is here:
https://github.com/dockyard/easy_auth/blob/master/lib/easy_auth/active_support/concern.rb
My monkey patch work for what I''m trying to do but I suspect a better
implementation would actually have @_d...
2004 Jun 12
9
Prepending for 9NxxNxxx - adding the area code for 7 digit dialing
How do you prepend. I want to be able to dial 7 digits instead of of
11 for local calls.
Can someone post there extensions.conf part that is relavent?
2006 Feb 23
2
zero-prepended values - why oh why?
Can somebody please explain why values are 0-prepended in almost every
driver? Since it's done almost everywhere I suspect it's due to some
old policy.
In theory this might have been a good idea given the assumption that
applications are forced to parse the values before presenting them.
However, since this isn't done even within NUT...
2012 Jan 12
1
[LLVMdev] How to pass an array to a function using GenericValue
> > Yes, it was the entire LLVM assembly code that I generated. However, I
> > have now prepended targetdata to the code I generate (using
> > executionEngine->getTargetData()->getStringRepresentation()), but to
> > executionEngine->no
> > avail. I still get the exact same result...?!
>
> What is the string you prepended? If the execution engine thinks the
t...
2005 Jul 26
3
Polycom digitmap question
via google, I found the reference regarding digit maps for the Polycom phones:
http://lists.digium.com/pipermail/asterisk-users/2005-January/082884.html
But I don't see any instruction for prepending digits to the number
dialed. Does anyone know how to prepend a digit to the number dialed (from
the Polycom side, not Asterisk)? I can do this pretty easily on a Sipura.
i.e. Say I want to add the digit "9" to what the user dials 1xxxxxxxxxx,
the Polycom should actually send 91xxx...
2013 Apr 11
0
Voicemail Prepend not working properly on 1.8.18
Hi,
I have a problem with forwarding a voicemail and prepending a message to it.
If a user just forwards a voicemail, everything works fine.
However, if a user prepends a message to the voicemail when forwarding, the
voicemail that is forwarded only contains the prepended message and not the
original voicemail message.
Also, I continue to have voicemails an...
2009 Aug 18
1
prepending /cygdrive/c/ to source line
Hello, either cygwin or rsync (version 3.0.6) is prepending /cygwin/c/ to the
source path from the command line.
C:\CMS\PageGenerator>rsync -avc --delete -vvv --protocol=20 -e "ssh.exe -i
C:\cm
s\PageGenerator\qa_rsa"
\\cagecfsu1.saifg.rbc.com\YCM0\InternalCache\test_aug17/
nasadmin at 10.243.101.218:/cygdrive/g/EWCMS_SYNC/test_aug17/
cmd...
2006 Jan 20
4
Prepending table names on a per user or sub domain basis
Here is a sample of the database structure I want to have:
someclientname-websites
someclientname-canned_responses
someclientname-canned_responses_websites
anotherclientname-websites
anotherclientname-canned_responses
anotherclientname-canned_responses_websites
As you can see I want to prepend the name of my future clients to the
table name so that they use completely different sets of data.
I know I can do the actual prepend using the Rails config files but how
do I set it on a per user basis (or on a per sub-domain basis)?
--
Posted via http://www.ruby-forum.com/.
2004 Jun 29
3
incoming cid translation tables
...ller ID is an internal extension number on their
pbx? Eg. when I get a call from Free-World-Dial the CID shows up as
"429102" which is essentially their internal extension number sans any
routing prefix. To dial the number back I need to dial the extension
with FWD's routing prefix prepended or 1-393-942-9102. Is there some
simple way to route all the incoming FWD calls to a context that
prepends "393-9" to their 6-digit prefixes? (And for extra credit
"393-99" to their 5-digit prefixes?) Unless I can fix up their CID,
the dialback buttons on the phone (and in...
2012 Jan 12
4
[LLVMdev] How to pass an array to a function using GenericValue
Hi,
My application generates some LLVM assembly code which I then convert to IR
code using ParseAssemblyString. If I have the following LLVM assembly code:
define double @test() {
ret double 1.230000e+02
}
then, using ExecutionEngine::runFunction, I get a GenericValue return value
which DoubleVal property is indeed equal to 123. So, all is fine there.
However, if I have the
2005 Jun 14
0
Digit Map for IP500 - prepend digits from phone
via google, I found the reference regarding digit maps for the Polycom phones:
http://lists.digium.com/pipermail/asterisk-users/2005-January/082884.html
But, I don't see how to "prepend" a digit(s) to a number dialed (from the
phone, not in an Asterisk extensions file). For instance, I have several
trunks. Each trunk can be manually dialed by dialing a specific number in
front of the number you are dialing. I would like to set up the line
appearances such that if I sel...
2020 Jun 02
0
[PATCH nbdkit 2/5] vddk: Move reexec code to a new file.
...R TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#ifndef NBDKIT_VDDK_H
+#define NBDKIT_VDDK_H
+
+extern char *libdir;
+extern char *reexeced;
+
+extern void reexec_if_needed (const char *prepend);
+extern int restore_ld_library_path (void);
+
+#endif /* NBDKIT_VDDK_H */
diff --git a/plugins/vddk/reexec.c b/plugins/vddk/reexec.c
new file mode 100644
index 00000000..5a5e9844
--- /dev/null
+++ b/plugins/vddk/reexec.c
@@ -0,0 +1,196 @@
+/* nbdkit
+ * Copyright (C) 2013-2020 Red Hat Inc.
+ *
+...
2006 Feb 11
5
[OT] How to prepend copyright notices to each source file
...now need to put GPL text and a
copyright notice at the start of each source file. For the .rb files, this
will look like:
# Copyright 2006 Robert Jones...........
and for the .rhtml files it will look like:
<!-- Copyright 2006 Robert Jones.........
Can anyone think of a neat way to do this prepending programatically on
Linux, rather than by hand? I''m sure I can be done with awk, sed, grep
etc.
Thanks in advance,
--
Robert Jones
2012 Jan 12
0
[LLVMdev] How to pass an array to a function using GenericValue
Hi Alan,
On 12/01/12 20:19, Alan Garny wrote:
>>> Yes, it was the entire LLVM assembly code that I generated. However, I
>>> have now prepended targetdata to the code I generate (using
>>> executionEngine->getTargetData()->getStringRepresentation()), but to
>>> executionEngine->no
>>> avail. I still get the exact same result...?!
>>
>> What is the string you prepended? If the execution eng...
2015 May 18
0
How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?
+1 I have exactly the same problem.
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Web: http://yihui.name
On Mon, May 18, 2015 at 12:29 PM, Josh O'Brien <joshmobrien at gmail.com> wrote:
> My question:
>
> On Windows, R's system() command prepends several directories to those
> in the Windows Path variable.
>
> >From ?system
>
> The search path for 'command' may be system-dependent: it will
> include the R 'bin' directory, the working directory and the
> Windows system directories befor...
2013 Aug 27
2
Changing the PE3 console's RAILS_RELATIVE_URL_ROOT? How to prepend a URL string?
Hi All,
I''m looking to prepend a string to all (RHEL based) PE3 console URLs. I''m
trying to proxy the console thru an Oracle web server (Apache under the
hood), and for security we need to make all URLs easily identifiable as
having originated from Puppet in the web log files. A PCI requirement I
believe.
So, the quest...
2011 Nov 25
5
[LLVMdev] Where does LLVM mangle characters from llvm-ir names while generating native code?
....endef
.text
.globl __3F_heyimacxxfunction@@YAHXZ
.align 16, 0x90
__3F_heyimacxxfunction@@YAHXZ: # @"?heyimacxxfunction@@YAHXZ"
# BB#0: # %entry
movl $42, %eax
ret
It turned the ? into _3F_, and prepended _ someplace. I get the same
symbol if I use integrated-as to generate an object file.
I've been unable thus far to find out exactly where this occurs. And
once I do find it, I'm not sure of the correct fix. I assume that LLVM
mangles the '?' because it means something special in...