Re: Buffer Overflow?
Maybe it is time to upgrade. Yes, that's the plan. I just figured the list was interested in the message. -Chuck -- http://www.quantumlinux.com Quantum Linux Laboratories, LLC. ACCELERATING Business with Open Technology The measure of the restoration lies in the extent to which we apply social values more noble than mere monetary profit. - FDR -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: compatibility of snprintf() return value?
I've noted that the rsync configure setup + compatibility library ensures that we have a C99-compatible snprintf() to use, so we should all set. ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
How to mask @ symbol in username?
Hi, I am trying to access an account with rsync that has a username like this: [EMAIL PROTECTED] Please note: this IS ONLY the username, so to login vie ssh I have to type [EMAIL PROTECTED] I think it´s Ensim Webppliance, that handles virtual accounts that way. So now, if I waqnt to access this account with rsync, I must type something like: rsync -e ssh [EMAIL PROTECTED]@server.com:/home /backbup that leads to an error, because obviously the second @ in the username/server combo is not understood by rsync. What can i do now? How can i mask the first @ ??? Thank you very much for your attention! Peter -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: How to mask @ symbol in username?
On Sun, Jan 18, 2004 at 04:08:34PM +0100, Peter wrote: rsync -e ssh [EMAIL PROTECTED]@server.com:/home /backbup I think your only option at the moment is to tell the name to ssh directly, like this: rsync -e 'ssh -l [EMAIL PROTECTED]' server.com:/home /backup ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync 2.6.0 and Solaris 8
Trying to build rsync 2.6.0 on Solaris 8 (gcc 3.3.2) has revealed that some of the EAI_ defines exist on Solaris, but not all of them. This causes lib/getaddrinfo.c to fail compilation as EAI_MAX (and some others) is undefined. The patch below fixes this issue, but I haven't tested the specific error conditions represented by the defines. Bryan --- lib/addrinfo.h.orig 2001-12-05 06:19:16.0 -0700 +++ lib/addrinfo.h 2004-01-16 21:45:44.678112000 -0700 @@ -52,10 +52,12 @@ #defineEAI_SERVICE 9 /* servname not supported for ai_socktype */ #defineEAI_SOCKTYPE10 /* ai_socktype not supported */ #defineEAI_SYSTEM 11 /* system error returned in errno */ +#endif /* ndef EAI_ADDRFAMILY */ +#ifndef EAI_BADHINTS #define EAI_BADHINTS 12 #define EAI_PROTOCOL 13 #define EAI_MAX14 -#endif /* ndef EAI_ADDRFAMILY */ +#endif /* ndef EAI_BADHINTS */ /* * Flag values for getaddrinfo() @@ -66,8 +68,6 @@ #defineAI_PASSIVE 0x0001 /* get address to use bind() */ #defineAI_CANONNAME0x0002 /* fill ai_canonname */ #defineAI_NUMERICHOST 0x0004 /* prevent name resolution */ -/* valid flags for addrinfo */ -#defineAI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST) #defineAI_ALL 0x0100 /* IPv6 and IPv4-mapped (with AI_V4MAPPED) */ #defineAI_V4MAPPED_CFG 0x0200 /* accept IPv4-mapped if kernel supports */ @@ -105,6 +105,10 @@ extern void freehostent(struct hostent *); extern char *gai_strerror(int); #endif /* AI_PASSIVE */ +#ifndef AI_MASK +/* valid flags for addrinfo */ +#defineAI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST) +#endif /* ndef AI_MASK */ #endif /* HAVE_GETADDRINFO */ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
CVS update: rsync
Date: Sun Jan 18 21:22:49 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/home/wayned/src/rsync Modified Files: batch.c Log Message: Use snprintf() instead of strlcpy()+strlcat(). Revisions: batch.c 1.23 = 1.24 http://www.samba.org/cgi-bin/cvsweb/rsync/batch.c.diff?r1=1.23r2=1.24 ___ rsync-cvs mailing list [EMAIL PROTECTED] http://lists.samba.org/mailman/listinfo/rsync-cvs