git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92afff5
)
r8710: another attempt at fixing HPUX
author
Andrew Tridgell
<tridge@samba.org>
Fri, 22 Jul 2005 10:01:26 +0000
(10:01 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:29:56 +0000
(13:29 -0500)
source/lib/replace/replace.c
patch
|
blob
|
history
diff --git
a/source/lib/replace/replace.c
b/source/lib/replace/replace.c
index 20a420084a1d2ed32eeb2c14fb093043fc690190..9ef3999769270ab3b3d6305e1f7c41aed178748b 100644
(file)
--- a/
source/lib/replace/replace.c
+++ b/
source/lib/replace/replace.c
@@
-514,7
+514,8
@@
int get_time_zone(time_t t)
#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 */