The Samba-Bugzilla – Attachment 214 Details for
Bug 668
getsmbpass sends \n to stdout, not to tty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for getsmbpass to send \n to tty
getsmbpass.diff (text/plain), 647 bytes, created by
Volker Lendecke
on 2003-10-22 08:25:22 UTC
(
hide
)
Description:
Patch for getsmbpass to send \n to tty
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2003-10-22 08:25:22 UTC
Size:
647 bytes
patch
obsolete
>Index: getsmbpass.c >=================================================================== >RCS file: /data/vl/cvstree/samba/source/lib/getsmbpass.c,v >retrieving revision 1.8.20.4 >diff -u -r1.8.20.4 getsmbpass.c >--- getsmbpass.c 1 Oct 2003 21:17:22 -0000 1.8.20.4 >+++ getsmbpass.c 22 Oct 2003 15:19:29 -0000 >@@ -158,13 +158,14 @@ > tcsetattr (fileno (in), TCSANOW, &t); > } > >+ fprintf(out, "\n"); >+ fflush(out); >+ > if (in != stdin) /* We opened the terminal; now close it. */ > fclose(in); > > /* Catch problematic signals */ > CatchSignal(SIGINT, SIGNAL_CAST SIG_DFL); >- >- printf("\n"); > > if (gotintr) { > printf("Interupted by signal.\n");
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 668
: 214