Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20257 Details for
Bug 32719
rfcomm (net-wireless/bluez-utils) should flush stdout
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches rfcomm to flush stdout
bluez-utils-2.3-rfcomm.patch (text/plain), 966 bytes, created by
Sybren Stüvel
on 2003-11-04 08:47:20 UTC
(
hide
)
Description:
Patches rfcomm to flush stdout
Filename:
MIME Type:
Creator:
Sybren Stüvel
Created:
2003-11-04 08:47:20 UTC
Size:
966 bytes
patch
obsolete
>--- work/bluez-utils-2.3/rfcomm/main.c-orig 2003-01-27 12:42:07.000000000 +0100 >+++ work/bluez-utils-2.3/rfcomm/main.c 2003-11-04 17:33:13.000000000 +0100 >@@ -339,6 +339,11 @@ > printf("Connected %s to %s on channel %d\n", devname, dst, req.channel); > printf("Press CTRL-C for hangup\n"); > >+ /* Added by Sybren Stuvel <sybren AT thirdtower.com> - Flush >+ * stdout so other scripts can benefit from rfcomm's output and >+ * react to connections being made. */ >+ fflush(stdout); >+ > memset(&sa, 0, sizeof(sa)); > sa.sa_flags = SA_NOCLDSTOP; > sa.sa_handler = SIG_IGN; >@@ -443,6 +448,11 @@ > printf("Connection from %s to %s\n", dst, devname); > printf("Press CTRL-C for hangup\n"); > >+ /* Added by Sybren Stuvel <sybren AT thirdtower.com> - Flush >+ * stdout so other scripts can benefit from rfcomm's output and >+ * react to connections being made. */ >+ fflush(stdout); >+ > memset(&sa, 0, sizeof(sa)); > sa.sa_flags = SA_NOCLDSTOP; > sa.sa_handler = SIG_IGN;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32719
:
20256
| 20257