The Samba-Bugzilla – Attachment 6108 Details for
Bug 3185
testparm exits 0 if it can read the config file regardless of errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for v3-5-test
0001-Fix-bso-3185-return-false-when-EOF-is-encountered-in.patch (text/plain), 834 bytes, created by
Holger Hetterich
on 2010-12-04 11:26:14 UTC
(
hide
)
Description:
Patch for v3-5-test
Filename:
MIME Type:
Creator:
Holger Hetterich
Created:
2010-12-04 11:26:14 UTC
Size:
834 bytes
patch
obsolete
>From 8ab95db4216800e8cd094950d6fa938017f7f955 Mon Sep 17 00:00:00 2001 >From: Holger Hetterich <hhetter@novell.com> >Date: Sat, 4 Dec 2010 18:18:50 +0100 >Subject: [PATCH] Fix bso#3185, return false when EOF is encountered in param name. > >--- > lib/util/params.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/lib/util/params.c b/lib/util/params.c >index 80adc71..376fed4 100644 >--- a/lib/util/params.c >+++ b/lib/util/params.c >@@ -358,7 +358,7 @@ static bool Parameter( myFILE *InFile, bool (*pfunc)(const char *, const char *, > case EOF: > InFile->bufr[i] = '\0'; > DEBUG(1,("%s Unexpected end-of-file at: %s\n", func, InFile->bufr )); >- return( true ); >+ return( false ); > > default: > if( isspace( c ) ) /* One ' ' per whitespace region. */ >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 3185
:
6103
| 6108