search for: targ

Displaying 20 results from an estimated 150 matches for "targ".

Did you mean: arg
2003 Apr 21
0
Fix for rcp -r
...ng 4.x. I think they monitor this list so I'll let them speak up if they choose to. >--- rcp.c~ Sun Feb 16 05:11:07 2003 >+++ rcp.c Sun Feb 16 05:13:52 2003 >@@ -589,7 +591,7 @@ > off_t i, j, size; > int amt, count, exists, first, mask, mode, ofd, omode; > int setimes, targisdir, wrerrno = 0; >- char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ]; >+ char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ], path[PATH_MAX]; > > #define atime tv[0] > #define mtime tv[1] >@@ -686,21 +688,15 @@ > if (*cp++ != ' ') > SCREWUP("si...
2014 Mar 01
1
[PATCH] nouveau: add valid range tracking to nouveau_buffer
This logic is borrowed from the radeon code. The transfer logic will only get called for PIPE_BUFFER resources, so it shouldn't be necessary to worry about them becoming render targets. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- A user reported a ~30% FPS improvement with an earlier version of this patch in TF2, and no visual regressions in CS, all on a nv50 card. (Source seems to like to do write/read/write/read to sequential portions of an index buffer,...
2004 Aug 31
1
[PATCH] supporting a remote scp path option in scp
...+/* This is the program to execute for the remote scp. ("scp" or -e) */ +char *scp_remote_program = _PATH_SCP_REMOTE_PROGRAM; + /* This is used to store the pid of ssh_program */ pid_t do_cmd_pid = -1; @@ -198,8 +201,8 @@ int errs, remin, remout; int pflag, iamremote, iamrecursive, targetshouldbedirectory; -#define CMDNEEDS 64 -char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ +char *rscpcmd; /* must hold scp_remote_program + "-r -p -d\0" */ + int response(void); void rsource(char *, struct stat *); @@ -212,12 +215,13 @...
2015 Feb 14
2
[PATCH 1/2] st/mesa: treat resource-less xfb buffers as if they weren't there
...racker/st_cb_xformfb.c b/src/mesa/state_tracker/st_cb_xformfb.c index 8f75eda..a2bd86a 100644 --- a/src/mesa/state_tracker/st_cb_xformfb.c +++ b/src/mesa/state_tracker/st_cb_xformfb.c @@ -122,7 +122,7 @@ st_begin_transform_feedback(struct gl_context *ctx, GLenum mode, for (i = 0; i < max_num_targets; i++) { struct st_buffer_object *bo = st_buffer_object(sobj->base.Buffers[i]); - if (bo) { + if (bo && bo->buffer) { /* Check whether we need to recreate the target. */ if (!sobj->targets[i] || sobj->targets[i] == sobj->...
2007 Aug 03
4
FW: Selecting undefined column of a data frame (was [BioC] read.phenoData vs read.AnnotatedDataFrame)
...'t getting my expected results when using read.AnnotatedDataFrame Turns out the error was made in the ReadAffy command, where I specified the filenames to be read from my AnnotatedDataFrame object. There was a typo error with a capital N ($FileName) rather than lowercase n ($Filename) as in my target file..whoops. However this meant the filename argument was ignored without the error message(!) and instead of using the information in the AnnotatedDataFrame object (which included filenames, but not alphabetically) it read the .cel files in alphabetical order from the working directory - hence...
2012 Aug 19
3
Bug Report and patch fix
...; void usage(void); +void verifypath(char *); int main(int argc, char **argv) @@ -551,6 +552,18 @@ } void +verifypath(char *file) +{ + if (access(file, F_OK) == -1) + { + errno = ENOENT; + run_err("%s: %s",file,strerror(errno)); + killchild(0); + } +} + + +void toremote(char *targ, int argc, char **argv) { char *bp, *host, *src, *suser, *thost, *tuser, *arg; @@ -656,6 +669,7 @@ if (remin == -1) { xasprintf(&bp, "%s -t %s%s", cmd, *targ == '-' ? "-- " : "", targ); + verifypath(argv[i]);/*added to check for the...
2001 May 12
4
Erase the source file open; specify a tempfile name option
...rns width of the terminal (for progress meter calculations). */ int getttywidth(void); + int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc); /* Struct for addargs */ @@ -206,9 +207,11 @@ uid_t userid; int errs, remin, remout; int pflag, iamremote, iamrecursive, targetshouldbedirectory; +int eraseflag; +char *tmpfn = ""; -#define CMDNEEDS 64 -char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ +char *cmd; +int cmdlen; int response(void); void rsource(char *, struct stat *); @@ -236,7 +239,7 @@ addargs(&args, "-oFallBackToRsh...
2000 Dec 12
1
scp and filenames with weird characters
...*****************************| 0 --:-- ETA Although the simplest is to patch the sourcecode: (A patchfile for the CVS-version is included, but these fixes should work for any 2.2.0-version (as the one in Debian woody) as far as I can see) in scp.c: - strlen(thost) + strlen(targ) + CMDNEEDS + 32; + strlen(thost) + strlen(targ) + CMDNEEDS + 40; - "%s%s -x -o'FallBackToRsh no' -n -l %s %s %s %s '%s%s%s:%s'", + "%s%s -x -o'FallBackToRsh no' -n -l \"%s\" \"%s\" \"%s\"\"%s\" '...
2000 Oct 11
2
scp -L option
...267,273 ---- extern int optind; fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "LdfprtvBCc:i:P:q46S")) != EOF) switch (ch) { /* User-visible flags. */ case '4': *************** *** 283,288 **** --- 288,296 ---- case 'S': ssh_program = optarg; break; + case 'L': + highport=1; + break; /* Server options. */ case 'd': *************** *** 420,435 **** else if (!okname(suser)) continue; (void) sprintf(bp, ! "%s%s -x -o'FallBackToRsh no' -n -l %s %s %s %s '%s...
2000 Dec 18
2
scp remote path specification
.... Best regards Jan Iven PS: a small patch so that /full/path/to/scp will find the corresponding local /full/path/to/ssh is appended below. --- openssh/scp.c~ Sat Oct 28 05:19:58 2000 +++ openssh/scp.c Tue Nov 7 17:59:37 2000 @@ -245,7 +245,7 @@ char *argv[]; { int ch, fflag, tflag; - char *targ; + char *targ, *pathsep; extern char *optarg; extern int optind; @@ -253,6 +253,19 @@ addargs("ssh"); /* overwritten with ssh_program */ addargs("-x"); addargs("-oFallBackToRsh no"); + + /* check explicit path for ssh binary, default is SSH_PROGRAM */ + i...
2001 Oct 16
6
program-prefix does not work
...rdings yes"); fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46Ss:o:F:")) != -1) switch (ch) { /* User-visible flags. */ case '4': *************** *** 271,276 **** --- 272,280 ---- case 'S': ssh_program = xstrdup(optarg); break; + case 's': + scp_program = xstrdup(optarg); + break; case 'v': addargs(&args, "-v"); verbose_mode = 1; *************** *** 327,343 **** remin = remout = -1; /* Command to be executed on remote system using "ssh&q...
2005 May 24
1
scp remote-to-remote implementation
...ps to people who have implemented this before. I did a quick google check and couldn't find anything. I also looked in the mailing list archives (perhaps not hard enough since the word: remote to remote is very ambiguous). Here is an excerpt of my layout (pseudo code) in scp.c: if ( (targ = colon(argv[argc - 1])) && colon(argv[argc - 2]) ) { /* both Dest are remote, copy locally from first host * then push from local to second host */ /* FIXME * get 1stRemoteHostName...
2002 Jul 12
0
rsync-2.5.5 and sys/mode.h on Irix 6.5.15f
Hi, it seems rsync's configure complains about sys/mode.h. here's the relevant part from config.log. Any idea what should I do now with it? Thanks! configure:4360: checking sys/mode.h usability configure:4369: cc -c -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -I/usr/local/Berkele yDB.4.0/include -DHAVE_CONFIG_H -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -I/usr/loc al/BerkeleyDB.4.0/include conftest.c >&5 cc-1204 cc: WARNING File = /usr/include/sys/...
2010 Dec 15
1
Using Metafor package: how to backtransform model coefficients when Freeman Tukey double arcine transformation is used
Hello, I am performing a meta-analysis using the metafor package. My data are proportions and I used the Freeman Tukey double arcine (FT) transformation to fit the random effects model. Now I want to create a forest plot with my estimates backtransformed to the original scale of proportions. Can this be done? Regards, Patricia
2006 Jul 03
3
Centos 4.3: VPN recommend/ howto anyone?
..., as well as a second in our 75+ node data center co-location facility. Needing to stomp out the ****dows L2TP node here, just too many side-issues with config. I'd like it to run the same OS as all of our servers, e.g. Centos 4.3. Any recommedations on which software/server/client rpm's/targ.gz's to run? Any pointers at existing of wiki-able HOWTO's under Centos I can check out? As usual, if it's not been documented yet, i'd sincerely contribute what I can to the process of rendering a complete document for the future use of the community. -karlski
2011 Aug 17
1
openssh-unix-dev Digest, Vol 100, Issue 3
...============================================== > RCS file: /cvs/src/usr.bin/ssh/scp.c,v > retrieving revision 1.170 > diff -u -p -r1.170 scp.c > --- scp.c 9 Dec 2010 14:13:33 -0000 1.170 > +++ scp.c 9 Aug 2011 06:10:08 -0000 > @@ -580,12 +580,14 @@ toremote(char *targ, int argc, char **ar > host = cleanhostname(argv[i]); > suser = NULL; > } > - xasprintf(&bp, "%s -f -- %s", cmd, src); > + xasprintf(&bp,...
2000 Aug 12
0
[PATCH] scp -S support
..., "dfprtvBCc:i:P:q46")) != EOF) + while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:")) != EOF) switch (ch) { /* User-visible flags. */ case '4': @@ -265,6 +268,9 @@ case 'r': iamrecursive = 1; break; + case 'S': + ssh_program = optarg; + break; /* Server options. */ case 'd': targetshouldbedirectory = 1; @@ -388,7 +394,7 @@ if (*src == 0) src = "."; host = strchr(argv[i], '@'); - len = strlen(SSH_PROGRAM) + strlen(argv[i]) + + len = strlen(ssh_program) + strlen(argv[i]) +...
2014 Apr 10
2
[LLVMdev] CMake configuration: Detecting zlib.h header in windows.
...e configuration detect the zlib header in windows with "Visual Studio 12" generator. My cmake configuration goes like >> Set path, include and lib environment variables to point to zlib headers and libraries. Cmake version is 2.8.12.2 cmake -G "Visual Studio 12" -D LLVM_TARGETS_TO_BUILD:STRING=%TARG% -D TARGET_TRIPLE:STRING=%TRIPLE% -D LLVM_DEFAULT_TARGET_TRIPLE:STRING=%TRIPLE% -D LLVM_TARGET_ARCH:STRING=%TRIPLE% -D LLVM_ENABLE_PIC:BOOL=ON -D LLVM_ENABLE_ASSERTIONS:BOOL=ON -D CMAKE_INSTALL_PREFIX=%win_top_install_dir% -D CMAKE_BUILD_TYPE=%BLDMODE% -DLLVM_APPEND_VC_REV:...
2017 Nov 14
2
[RFC PATCH] nouveau/compiler: Allow to omit line numbers when printing instructions
...rivers/nouveau/codegen/nv50_ir.cpp | 6 +++--- src/gallium/drivers/nouveau/codegen/nv50_ir.h | 2 +- src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h | 1 + src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp | 12 ++++++++---- src/gallium/drivers/nouveau/codegen/nv50_ir_target.cpp | 2 +- src/gallium/drivers/nouveau/nouveau_compiler.c | 8 ++++++-- src/gallium/drivers/nouveau/nv50/nv50_program.c | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 1 + 8 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/gallium/drivers/nou...
2003 Oct 22
2
Slackware 9.1 Install Help
.../usr/include/gtk-1.2/gtk/gtk.h:80, from pbx_gtkconsole.c:38: /usr/include/gtk-1.2/gtk/gtkitemfactory.h:48: warning: function declaration isn' t a prototype pbx_gtkconsole.c: In function `__verboser': pbx_gtkconsole.c:101: warning: assignment discards qualifiers from pointer targe t type gcc -shared -Xlinker -x -o pbx_gtkconsole.so pbx_gtkconsole.o `gtk-config --libs gthread` /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-l inux/bin /ld: cannot find -lXext collect2: ld returned 1 exit status make[1]: *** [pbx_gtkconsole.so] Error 1 make[1]: Leaving...