The Samba-Bugzilla – Attachment 2991 Details for
Bug 4866
./configure script does not compile getpass.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
call the getpassphrase(3C) from the getsmbpass()
lib-replace-getpass.c-diff (text/plain), 617 bytes, created by
Jura Sasek
on 2007-11-22 12:59:36 UTC
(
hide
)
Description:
call the getpassphrase(3C) from the getsmbpass()
Filename:
MIME Type:
Creator:
Jura Sasek
Created:
2007-11-22 12:59:36 UTC
Size:
617 bytes
patch
obsolete
>--- getpass.c Fri Nov 16 00:30:58 2007 >+++ samba-3.0.27/source/lib/replace/getpass.c Fri Nov 16 00:40:26 2007 >@@ -20,6 +20,19 @@ > > #include "replace.h" > >+#if defined(REPLACE_GETPASS_BY_GETPASSPHRASE) >+ >+#if defined(HAVE_STDIO_H) >+#include <stdio.h> >+#endif >+ >+char *getsmbpass(const char *prompt) >+{ >+ return getpassphrase(prompt); >+} >+ >+#else /* !REPLACE_GETPASS_BY_GETPASSPHRASE */ >+ > #if defined(HAVE_TERMIOS_H) > /* POSIX terminal handling. */ > #include <termios.h> >@@ -210,3 +223,5 @@ > void getsmbpasswd_dummy(void); > void getsmbpasswd_dummy(void) {;} > #endif >+ >+#endif /* REPLACE_GETPASS_BY_GETPASSPHRASE */
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
Actions:
View
Attachments on
bug 4866
:
2990
| 2991 |
2992