search for: fname

Displaying 20 results from an estimated 1017 matches for "fname".

Did you mean: name
2020 May 24
0
Clients send tons of Notiftication requests
...th a read-only account called kodi. I traversed various folders and I finally opened an image. Everything went fine. Looking at the logs, the get_entry mask file only shows the final folder: smbd_dirptr_get_entry mask=[Anhelina Viber] found Users/luca/Pictures/Canon/Alessandro/Amici/Anhelina Viber fname=Anhelina Viber (Anhelina Viber) smbd_dirptr_get_entry mask=[Ginevra TikTok] found Users/luca/Pictures/Canon/Alessandro/Amici/Ginevra TikTok fname=Ginevra TikTok (Ginevra TikTok) smbd_dirptr_get_entry mask=[Ginevra Whatsapp] found Users/luca/Pictures/Canon/Alessandro/Amici/Ginevra Whatsapp fname...
2006 Aug 09
6
How to change the error message easy way
validates_presence_of :fname results in the error message "Fname can''t be blank". What I want is "First Name can''t be blank". I could do this def validate errors.add_to_base("First Name can''t be blank") if fname.blank? end I find this clunky and I have to put eve...
2005 Jan 05
1
rsync filename heuristics
...; @@ -0,0 +1,117 @@ > +#include "rsync.h" > + > +extern char *compare_dest; > +extern int verbose; > + > +/* Alternate methods for opening files, if local doesn't exist */ > +/* Sanity check that we are about to open regular file */ > +int do_open_regular(char *fname) > +{ > + STRUCT_STAT st; > + > + if (do_stat(fname, &st) == 0 && S_ISREG(st.st_mode)) > + return do_open(fname, O_RDONLY, 0); > + > + return -1; > +} > + > +static void split_names(char *fname, char **dirname, char **basename) > +{ > + char *slash;...
2008 May 08
1
Patch to not modify files in place unless "--inplace" option specified
...10:30:11.000000000 -0700 +++ rsync-3.0.2/generator.c 2008-05-07 15:35:08.317364774 -0700 @@ -1508,6 +1508,7 @@ if (preserve_links && S_ISLNK(file->mode)) { #ifdef SUPPORT_LINKS + int iflags = 0; const char *sl = F_SYMLINK(file); if (safe_symlinks && unsafe_symlink(sl, fname)) { if (verbose) { @@ -1528,7 +1529,15 @@ else if ((len = readlink(fname, lnk, MAXPATHLEN-1)) > 0 && strncmp(lnk, sl, len) == 0 && sl[len] == '\0') { /* The link is pointing to the right place. */ - set_file_attrs(fname, file, &sx, NULL, mayb...
2004 May 10
2
read error produces null-byte-filled destination file
I've run into a bug in the IO handling when reading a file. Suppose I have a file that lives on an NFS filesystem. That filesystem is NOT being exported with auth=0 permissions. So, if I try to access a file as root, it successfully opens the file, but subsequent reads fail with EACCES. This produces a destination file full of null bytes. I noticed this with 2.5.7, but checked 2.6.2 as
2002 Apr 03
3
metadata in dryrun mode
As I reported a while back rsync doesn't handle metadata (permissions and ownership) in dryrun mode. I offered to make a patch and that offer still stands. I didn't have the time for it until now and want to pick it up again. I had some ugly hack back then but I want to redo it in a clean way. I would like some input on my thoughts. IMHO, it would be ideally if the check for dry_run
2010 Jun 15
3
about rsyncing of block devices
...extern int preserve_links; extern int preserve_devices; +extern int copy_devices; extern int preserve_specials; extern int preserve_hard_links; extern int preserve_executability; @@ -980,7 +981,7 @@ static int try_dests_reg(struct file_str do { pathjoin(cmpbuf, MAXPATHLEN, basis_dir[j], fname); - if (link_stat(cmpbuf, &sxp->st, 0) < 0 || !S_ISREG(sxp->st.st_mode)) + if (link_stat(cmpbuf, &sxp->st, 0) < 0 || !(S_ISREG(sxp->st.st_mode) || (copy_devices && IS_DEVICE(sxp->st.st_mode)))) continue; switch (match_level) { case 0: @@ -1695,7 +169...
2015 Jan 21
2
reducing redundant work in methods package
...ot;outerLabels", ".getClassFromCache", "getFunction") message(paste0("\nCollecting data for unit tests on ", paste(funs, collapse=", "), " ...\n")) # Make env with list to hold test input/output TEST_ENV <- new.env() for (fname in funs) { # Make placeholder for input/output for future runs of this function TEST_ENV[[fname]] = list() # Actually probably not necessary, will just be c(NULL, list(first result)) the first time # Construct test version of function unlockBinding(fname, ns)...
2013 Dec 03
0
[klibc:master] ppc64: Add ppc64le support
...ongjmp +#else + .size longjmp,.-.longjmp +#endif diff --git a/usr/klibc/arch/ppc64/sysstub.ph b/usr/klibc/arch/ppc64/sysstub.ph index 9ee9370..b3f6e38 100644 --- a/usr/klibc/arch/ppc64/sysstub.ph +++ b/usr/klibc/arch/ppc64/sysstub.ph @@ -9,22 +9,35 @@ sub make_sysstub($$$$$@) { my($outputdir, $fname, $type, $sname, $stype, @args) = @_; open(OUT, '>', "${outputdir}/${fname}.S"); - print OUT "#include <asm/unistd.h>\n"; - print OUT "\n"; - print OUT "\t.globl ${fname}\n"; - print OUT "\t.section \".opd\",\...
2004 Feb 17
1
[patch] Make robust_rename() handle EXDEV.
...= 0755; + } + do_copy = 1; + break; + + default: + return -1; + } + } + return -1; } patchwork diff rsync.c --- rsync.c 2004-02-17 09:58:48.000000000 -0500 +++ rsync.c 2004-02-17 10:13:31.000000000 -0500 @@ -236,21 +236,8 @@ /* move tmp file over real file */ if (robust_rename(fnametmp,fname) != 0) { - if (errno == EXDEV) { - /* rename failed on cross-filesystem link. - Copy the file instead. */ - if (copy_file(fnametmp,fname, file->mode & INITACCESSPERMS)) { - rprintf(FERROR, "copy %s -> \"%s\": %s\n", - full_fname(fnametmp), fna...
2009 Mar 10
2
problem with concatinating string while taking as a path of a file
Hi all, I have a problem with concatinating strings while taking as a path here the problem is i have to take path as FPATH<-"D:\\Kiran" and file name as Fname<-"FINDINGS.CSV" and while I am reading this table I have to take path with using these two strings because in "FPATH" there is many files like findings.csv, and path will be "D:\\Kiran\\FINDINGS.CSV" here i tried with " FPATH+\\+Fname",...
2013 Dec 03
2
[PATCH 1/2] ppc64: Add ppc64le support
...ongjmp +#else + .size longjmp,.-.longjmp +#endif diff --git a/usr/klibc/arch/ppc64/sysstub.ph b/usr/klibc/arch/ppc64/sysstub.ph index 9ee9370..b3f6e38 100644 --- a/usr/klibc/arch/ppc64/sysstub.ph +++ b/usr/klibc/arch/ppc64/sysstub.ph @@ -9,22 +9,35 @@ sub make_sysstub($$$$$@) { my($outputdir, $fname, $type, $sname, $stype, @args) = @_; open(OUT, '>', "${outputdir}/${fname}.S"); - print OUT "#include <asm/unistd.h>\n"; - print OUT "\n"; - print OUT "\t.globl ${fname}\n"; - print OUT "\t.section \".opd\",\...
2017 Apr 21
2
Problem to many connection
...rce3/printing/pcap.c:140(pcap_cache_reload) >> >> >> >> I've been with this for many hours and I can not find the problem. I'll be very greatful. >> > > > > > I have more logs..: > > > smbd_dirptr_get_entry mask=[*] found CGS/IUBA5.CDX fname=IUBA5.CDX (IUBA5.CDX) > [2017/04/21 01:06:20.291908, 3] > ../source3/smbd/dir.c:1188(smbd_dirptr_get_entry) > smbd_dirptr_get_entry mask=[*] found CGS/Actualización de > debitos.xls fname=Actualización de debitos.xls (Actualización de > debitos.xls) > [2017/04/21 01:06:20.29197...
2010 Sep 03
1
[PATCH] New '-o' option to configure server or hosts from command line
...able = variable; - cfg.file = ""; + cfg.file = NULL; cfg.line = 0; found = avl_search_closest_greater(config_tree, &cfg); @@ -233,6 +240,45 @@ static char *readline(FILE * fp, char *buf, size_t buflen) { return buf; } +config_t *parse_config_line(char *line, const char *fname, int lineno) { + config_t *cfg; + int len; + char *variable, *value, *eol; + variable = value = line; + + eol = line + strlen(line); + while(strchr("\t ", *--eol)) + *eol = '\0'; + + len = strcspn(value, "\t ="); + value += len; + value += strspn(value, "\t ")...
2007 May 04
3
Error in if (!length(fname) || !any(fname == zname)) { :
Dear R users, I tried to fit a cox proportional hazard model to get estimation of stratified survival probability. my R code is as follows: cph(Surv(time.sur, status.sur)~ strat(colon[,13])+colon[,18] +colon[,20]+colon[,9], surv=TRUE) Error in if (!length(fname) || !any(fname == zname)) { : missing value where TRUE/FALSE needed Here colon[,13] is the one that I want to stratify and the others are all coefficients. How can I solve this problem? Thanks a lot!!!!! Grace --------------------------------- [[alternative HTML version delet...
2017 Apr 21
2
Problem to many connection
I'm desperate. My English is terrible, but I will try to be as clear as possible. I have Samba 4.4.4 in a Centos 7. I have many connections for each ip. The command smbstatus -b returns me infinity of these: Samba version 4.4.4 PID Username Group Machine Protocol Version Encryption Signing
2003 Sep 05
1
new option suggestion '--backup-only'
...no; } if (failed) { if (verbose > 2) rprintf (FERROR, "robust_move failed: %s(%d)\n", strerror (errno), errno); + errno = saveerrno; switch (errno) { /* external filesystem */ case EXDEV: @@ -225,7 +231,8 @@ } } kept = 1; - do_unlink(fname); + if (!backup_only) + do_unlink(fname); } #endif @@ -233,11 +240,11 @@ /* make an empty directory */ make_bak_dir(fname, backup_dir); do_mkdir(keep_name, file->mode); - ret_code = do_rmdir(fname); - if(verbose>2) { - rprintf(FINFO, "make_backup : RMDIR %s returns...
2003 Oct 10
1
number of arguments in .Call function registration
I initially sent this to the biocore mailing list - but it was suggested that r-devel would also find it interesting. Many of us use a macro like #define CALL_DEF(fname, nargs) { #fname, (DL_FUNC)&fname, nargs} for use in function registration for use with .Call. For example, using the example from R Extension manual, if we want to register a C function myCall with three arguments, we will use R_CallMethodDef callMethods[] = { CALL_DEF(myCall, 3), {...
2004 Apr 21
1
rsync-2.6.1pre-1 hang
...help. Below please find attached backtrace on server side of rsync: Attaching to program: /home/doli/progz/rsync-2.6.1pre-1/rsync, process 30131 0x2a344742 in ?? () (gdb) bt #0 0x2a344742 in ?? () #1 0x2a3a2d20 in ?? () #2 0x00000020 in ?? () #3 0x598062b0 in ?? () #4 0x0805a150 in make_file (fname=0x0, flist=0x0, exclude_level=69) at flist.c:879 #5 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65, base_flags=0) at flist.c:932 #6 0x0805a845 in send_file_list (f=1, argc=1501590384, argv=0x0) at flist.c:1033 #7 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=5779364...
2017 Jul 13
2
Help with R script
Using Ulrik?s example data (and assuming I understand what is wanted), here is what I would do: ex.dat <- c("FName: fname1", "Fval: Fval1.name1", "Fval: ", "FName: fname2", "Fval: Fval2.name2", "FName: fname3") tst <- data.frame(x = ex.dat, stringsAsFactors=FALSE) sp <- strsplit(tst$x, ':', fixed=TRUE) chk <- unlist(lapply(sp, function(txt...