search for: destpath

Displaying 20 results from an estimated 78 matches for "destpath".

Did you mean: destpaths
2014 Oct 31
4
[PATCH] fish: fix dir completion on filesystems w/o dirent.d_type (RHBZ#1153844).
On filesystems whose dirent.d_type is DT_UNKNOWN or some unknown value, manually check whether an entry is a directory, thus completing in the proper way. --- fish/destpaths.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fish/destpaths.c b/fish/destpaths.c index f224106..df1ec00 100644 --- a/fish/destpaths.c +++ b/fish/destpaths.c @@ -191,7 +191,13 @@ complete_dest_paths_generator (const char *text, int state) else {...
2009 Aug 21
9
enable -Werror and all of gcc's warning options
...bout signed/unsigned comparison [2/9] fish.c: avoid warnings [3/9] tilde.c: avoid a warning [4/9] fish.c: avoid "assignment discards qualifiers..." warning [5/9] fish.c: avoid signed/unsigned-comparison warning [6/9] fish.c: don't perform arithmetic on void* pointers [7/9] destpaths.c: avoid signed/unsigned-comparison warning [8/9] generator.ml: avoid signed/unsigned-comparison warning in fish/cmds.c [9/9] fish/: enable -Werror and all of gcc's warning options b/fish/Makefile.am | 5 ++--- b/fish/destpaths.c | 3 +-- b/fish/edit.c | 6 +++--- b/fish/fi...
2011 Nov 21
1
[PATCH] Add MD devices to guestfish device autocompletion
--- fish/destpaths.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Add-MD-devices-to-guestfish-device-autocompletion.patch Type: text/x-patch Size: 400 bytes Desc: not available URL: <http://listman.redhat.com...
2014 Oct 31
0
[PATCH] fish: complete symlink properly
When an entry is a symlink, check whether it points to a directory, so the entry for it can be completed correctly. --- fish/destpaths.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fish/destpaths.c b/fish/destpaths.c index df1ec00..d39d6c0 100644 --- a/fish/destpaths.c +++ b/fish/destpaths.c @@ -192,6 +192,7 @@ complete_dest_paths_generator (const char *text, int state) words = w;...
2014 Oct 31
0
Re: [PATCH] fish: fix dir completion on filesystems w/o dirent.d_type (RHBZ#1153844).
...t 05:56:10PM +0100, Pino Toscano wrote: > On filesystems whose dirent.d_type is DT_UNKNOWN or some unknown value, > manually check whether an entry is a directory, thus completing in the > proper way. Happens on Windows (NTFS) too, and it's also annoying there ... > --- > fish/destpaths.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/fish/destpaths.c b/fish/destpaths.c > index f224106..df1ec00 100644 > --- a/fish/destpaths.c > +++ b/fish/destpaths.c > @@ -191,7 +191,13 @@ complete_dest_paths_generator (const char *text, int...
2005 Jun 27
2
R v2.1.1 for Windows and "non-reproducible" crashes
...because of the crashes] 4. Cut'n'paste the following example from ?Rdoc to the R prompt: library(R.oo) author <- "Henrik Bengtsson, \url{http://www.braju.com/R/}" rdocFile <- system.file("misc", "Exception.R", package="R.oo") file.show(rdocFile) destPath <- tempdir() Rdoc$compile(rdocFile, destPath=destPath) rdFiles <- list.files(destPath, full.names=TRUE) print(rdFiles) file.show(rdFiles[1]) file.remove(rdFiles) For me it crashes when it gets to the Rdoc$compile() line and Dr. Mingw reports: Rterm.exe caused an Access Violation at locatio...
2009 Nov 09
1
use STREQ(a,b), not strcmp(a,b) == 0
...$1/g' --- daemon/daemon.h | 2 +- daemon/devsparts.c | 10 +++++----- daemon/ext2.c | 2 +- daemon/file.c | 2 +- daemon/guestfsd.c | 2 +- daemon/mount.c | 2 +- daemon/upload.c | 4 ++-- examples/to-xml.c | 8 ++++---- fish/destpaths.c | 2 +- fish/edit.c | 2 +- fish/tilde.c | 2 +- hivex/hivex.c | 2 +- test-tool/test-tool.c | 2 +- 13 files changed, 21 insertions(+), 21 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index 1cdb480..ac68479 100644 --- a/daemon/daemo...
2019 Aug 09
0
[PATCH] Switch to utimensat for newer POSIX versions
...e <sys/types.h> /* some flavors of BSD (like OS X) require this to get time_t */ -#include <utime.h> /* for utime() */ #endif #if defined __EMX__ #include <io.h> /* for setmode(), O_BINARY */ @@ -53,11 +52,17 @@ void grabbag__file_copy_metadata(const char *srcpath, const char *destpath) { struct flac_stat_s srcstat; - struct utimbuf srctime; if(0 == flac_stat(srcpath, &srcstat)) { +#if _POSIX_C_SOURCE >= 200809L + struct timespec srctime[2] = {}; + srctime[0].tv_sec = srcstat.st_atime; + srctime[1].tv_sec = srcstat.st_mtime; +#else + struct utimbuf srctime; s...
2005 Jul 15
2
R v2.1.0 patched (>2005-05-09) for Windows?
...owing in that version of R? install.packages("R.oo") library(R.oo) author <- "dummy" rdocFile <- system.file("misc", "Exception.R", package="R.oo") cat("# Empty example code\n", file="Exception.Rex") Rdoc$compile(rdocFile, destPath=tempdir()) print("successful!") If you see "successful!", that version is "ok", otherwise R will crash (or alternatively incorrectly complain about an invalid regular expression; rerun and it will crash the 2nd time). I would appreciate a lot if you report to me w...
2009 Aug 24
5
[0/5] guestfish: detect stdout-write failure
...27 0003-guestfish-don-t-try-to-diagnose-getopt-failure.patch 53 0004-guestfish-diagnose-stdout-write-failure.patch 88 0005-build-don-t-define-_GNU_SOURCE-manually.patch 566 total $ diffstat 00* b/bootstrap | 1 b/configure.ac | 11 ++-- b/fish/Makefile.am | 3 - b/fish/destpaths.c | 2 b/fish/fish.c | 125 ++++++++++++++++++++++++++++++++++------------------- b/src/guestfs.c | 2 bootstrap | 8 ++- fish/fish.c | 9 +-- 8 files changed, 100 insertions(+), 61 deletions(-)
2006 Feb 24
1
rsync : connection unexpectedly closed
...e error is as below: rsync: connection unexpectedly closed (1804855 bytes received so far) [receiver] rsync: connection unexpectedly closed (39 bytes received so far) [generator] The rsync command line is given as below: rsync --timeout=60 srcIp::path/file.tar.gz destPath/destFile On looking into the code, i found the comment saying that expecting an EOF over a network is wrong. Hence a wait for 10 seconds is done and then the connection is terminated. Does the increase in the time to a higher value solve this problem ? Or is there any other fi...
2014 Jul 30
2
[PATCH 1/3] ext2: create a struct for the OCaml 't' type
...- fs = Ext2fs_val (fsv); - if (fs == NULL) + data = Ext2fs_val (fsv); + if (data.fs == NULL) ext2_handle_closed (); paths[0] = (char *) srcdir; @@ -269,7 +274,7 @@ supermin_ext2fs_copy_dir_recursively_from_host (value fsv, } } - ext2_copy_file (fs, entry->fts_path, destpath); + ext2_copy_file (&data, entry->fts_path, destpath); free (destpath); } @@ -538,7 +543,7 @@ read_whole_file (const char *filename, size_t size) /* Copy a file (or directory etc) from the host. */ static void -ext2_copy_file (ext2_filsys fs, const char *src, const char *des...
2006 Jan 08
3
IO Timeout Error in file less than 3 MB
...execute..so i cant go for the latest rsync version because of the space constraint. I have mentioned the rsync commmand line options used and the error thrown by rsync below for your reference. Rsync Command: rsync -aI --stats --copy-links --temp-dir=/tmp/ --timeout=55 srcIp::srcPath/srcFile destPath/destFile Error Given: io timeout after 55 second - exiting Can any bode help me or pointer me as to how can this problem of timeout be avoided ? That would be really thankful. Thanks and Regards, Vijay Ram.C -------------- next part -------------- HTML attachment scrubbed and removed
2009 Jun 23
4
SAS Macro Variable in R
Hi I'm new to R and would like to implement a SAS-like macro variable in R. What I'd like to do is take the simple R code below and change the "=TEF" to different letters to refer to different companies' data for download. # DOWNLOADS FILES FROM YAHOO INTERNET
2006 Sep 07
13
How to handle config files used by a combination of classes?
Hi, How should I handle the combinatorics when one config file must be built for a combination of possible classes? Take for example the amd automounter''s configuration file, which on Debian is found at /etc/am-utils/amd.conf. This is an INI style file which looks like: [fsname1] param1=foo param2=bar [fsname2] param1=baz param2=quag In my case I have one class of machines
2008 Jul 04
1
-R option -> source directories from remote
...have a problem with syncing relative paths (-r) on remote host. Using relative paths the local way does function perfectly, because you are able to change the directory before synchronisation. Example: cd pathToRelativePaths; rsync -R.... -e "....." localpath1/ localpath2/ user@host:/destpath That works because you are able to switch to the directory where the "relative paths" localpath1 localpath2 are present. Problem: ? rsync -R.... -e "...." user@remotehost::localpath1/ ::localpath2/ /localdestpath In this case, i have no idea, how to switch to the "root...
2006 Nov 12
2
Client options to server
Hi, I'm using openssh 4.4 I'm trying to develop a new SSH appliance, but I need some parameters from client. In client I setup new record in the structure options that I think are passed to server. Where is the structure of the server where stored client options? Thanks -- Vincenzo Sciarra
2008 Mar 03
7
DO NOT REPLY [Bug 5299] New: 2.6.9 client cannot receive files from 3.0.0 server
...sync-qa@samba.org My client is a Windows machine running rsync 2.6.9 under Cygwin. The server is a Debian system that, until today, was also running rsync 2.6.9. Every day on the Windows machine I would issue a command something like the following: rsync -tzvr --delete rob@xx.xx.xx.xx:sourcepath destpath to sync some files from the Linux machine to the Windows machine. This worked fine until today, when I upgraded rsync on the server to 3.0.0. (The newer version is not available for Cygwin yet). Now when I try to do the above operation, I get: Invalid block length 146536 [sender] rsync error: pro...
2009 Nov 18
1
[PATCH] Fix dependencies on generator.ml
...-C $(top_builddir)/src stamp-generator + +BUILT_SOURCES = \ + $(GENERATOR_ML) \ + rc_protocol.h \ + rc_protocol.c + EXTRA_DIST = \ + $(BUILT_SOURCES) \ rc_protocol.x -CLEANFILES = rc_protocol.c rc_protocol.h - guestfish_SOURCES = \ + $(GENERATOR_ML) \ alloc.c \ - cmds.c \ - completion.c \ destpaths.c \ echo.c \ edit.c \ @@ -44,10 +56,6 @@ guestfish_SOURCES = \ librc_protocol_la_SOURCES = rc_protocol.c librc_protocol_la_CFLAGS = -Wall -Wno-unused -BUILT_SOURCES = \ - rc_protocol.c \ - rc_protocol.h - guestfish_CFLAGS = \ -I$(top_srcdir)/src -I$(top_builddir)/src \ -I$(top_srcdir)...
2015 May 29
0
[PATCH v3] RFC: New virt-dib tool
...ap (fun x -> (x, element.directory // x, destdir // x)) dirs in + let nondirs = List.map (fun x -> element.directory // x) nondirs in + let is_regular_file file = + try (Unix.stat file).Unix.st_kind = Unix.S_REG + with Unix.Unix_error _ -> false in + List.iter ( + fun (e, path, destpath) -> + do_mkdir destpath; + let subentries = Array.to_list (Sys.readdir path) in + let subentries = List.filter (not_in_list blacklist) subentries in + List.iter ( + fun sube -> + if is_regular_file (destpath // sube) then ( + raise (Duplicate_scr...