Displaying 6 results from an estimated 6 matches for "maxnam".
Did you mean:
maxnum
2011 Feb 24
1
osx 10.6 strange rsync errors
...his is a likely to have any issues (eg filename comparisons relying on a dot always being added).
On my system this change seems to work around the problem pretty well.
Thanks
Ira
( Look for "Modified Code" so see my change )
int get_tmpname(char *fnametmp, const char *fname)
{
int maxname, added, length = 0;
const char *f;
if (tmpdir) {
/* Note: this can't overflow, so the return value is safe */
length = strlcpy(fnametmp, tmpdir, MAXPATHLEN - 2);
fnametmp[length++] = '/';
}
if ((f = strrchr(fname, '/')) != NULL) {
++f;
if (!tmpdir) {
length =...
2011 Apr 05
2
osx 10.6 strange rsync errors
...c-3.0.8_orig/receiver.c 2011-04-05 17:12:03.000000000 +1000
+++ rsync-3.0.8_nodotdot/receiver.c 2011-04-05 17:20:40.000000000 +1000
@@ -103,7 +103,10 @@
}
} else
f = fname;
- fnametmp[length++] = '.';
+
+ if ( f[0]!='.'){
+ fnametmp[length++] = '.';
+ }
/* The maxname value is bufsize, and includes space for the '\0'.
* NAME_MAX needs an extra -1 for the name's leading dot. */
> Hi Vernon,
>
> I don't know why I didn't think of that - I was telling people to exclude all . files! Thanks. I wonder if this is foolproof enough t...
2012 May 14
1
Patches for OS X.
What patch files are necessary to build rsync-3.0.9 for OS X 10.6.8 (Darwin
10.8.0)?
Mr. Bombich maintains an excellent page about this, but it's a bit out of
date, methinks, and his instructions point to patch files that return some
interesting errors.
My rsync-3.0.9 is working just fine, btw, with the fileflags and crtimes
and hfs-compression patches applied; I just wondered if the others
2003 Sep 17
0
Fwd: [Full-Disclosure] Sendmail 8.12.9 prescan bug (a new one) [CAN-2003-0694]
...cvs/src/gnu/usr.sbin/sendmail/sendmail/parseaddr.c,v
>retrieving revision 1.16
>diff -u -r1.16 parseaddr.c
>--- parseaddr.c 29 Mar 2003 19:44:01 -0000 1.16
>+++ parseaddr.c 16 Sep 2003 17:37:26 -0000
>@@ -700,7 +700,11 @@
> addr[MAXNAME] = '\0';
> returnnull:
> if (delimptr != NULL)
>+ {
>+ if (p > addr)
>+ p--;
>...
2010 Nov 14
2
java binding and virtualbox-ose
...8.661: debug : do_open:1228 : secret driver 1 remote returned ERROR
11:37:18.661: debug : virConnectNumOfDomains:1714 : conn=0x95a1910
11:37:18.663: debug : virConnectNumOfDefinedDomains:4554 : conn=0x95a1910
11:37:18.664: debug : virConnectListDefinedDomains:4593 :
conn=0x95a1910, names=0x95e9b58, maxnames=1
Id Name State
----------------------------------
11:37:18.666: debug : virDomainLookupByName:1974 : conn=0x95a1910, name=tty
11:37:18.669: debug : virGetDomain:345 : New hash entry 0x95dad48
11:37:18.669: debug : virDomainGetInfo:2825 : domain=0x95dad48, info=0xbfeca708
- tty...
2011 Jun 06
0
Release of libvirt-0.9.2
...e generated code (Matthias Bolte)
- remote generator, daemon: Handle the CPU functions (Matthias Bolte)
- remote generator: Refactor duplicate code (Matthias Bolte)
- remote generator, daemon: Handle functions that return lists (Matthias Bolte)
- remote: Rename 'nameslen' to the common 'maxnames' (Matthias Bolte)
- remote generator, daemon: Handle functions with optional arguments (Matthias Bolte)
- remote generator, daemon: Handle more functions (Matthias Bolte)
- remote generator, daemon: Handle simple-return-value functions (Matthias Bolte)
- remote generator, daemon: Change capit...