svn commit: samba r8710 - in branches/SAMBA_4_0/source/lib/replace: .

tridge at samba.org tridge at samba.org
Fri Jul 22 10:01:26 GMT 2005


Author: tridge
Date: 2005-07-22 10:01:26 +0000 (Fri, 22 Jul 2005)
New Revision: 8710

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8710

Log:
another attempt at fixing HPUX


Modified:
   branches/SAMBA_4_0/source/lib/replace/replace.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/replace.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.c	2005-07-22 09:49:32 UTC (rev 8709)
+++ branches/SAMBA_4_0/source/lib/replace/replace.c	2005-07-22 10:01:26 UTC (rev 8710)
@@ -514,7 +514,8 @@
 #else
 	unsigned long long int v;
 	if (sscanf(str, "%lli", &v) != 1) {
-		smb_panic("system does not support %lli in sscanf");
+		errno = EINVAL;
+		return 0;
 	}
 	if (endptr) {
 		/* try to get endptr right - uggh */



More information about the samba-cvs mailing list