Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 32719 | Differences between
and this patch

Collapse All | Expand All

(-)work/bluez-utils-2.3/rfcomm/main.c-orig (+10 lines)
Lines 339-344 Link Here
339
	printf("Connected %s to %s on channel %d\n", devname, dst, req.channel);
339
	printf("Connected %s to %s on channel %d\n", devname, dst, req.channel);
340
	printf("Press CTRL-C for hangup\n");
340
	printf("Press CTRL-C for hangup\n");
341
341
342
	/* Added by Sybren Stuvel <sybren AT thirdtower.com> - Flush
343
	 * stdout so other scripts can benefit from rfcomm's output and
344
	 * react to connections being made. */
345
	fflush(stdout);
346
342
	memset(&sa, 0, sizeof(sa));
347
	memset(&sa, 0, sizeof(sa));
343
	sa.sa_flags   = SA_NOCLDSTOP;
348
	sa.sa_flags   = SA_NOCLDSTOP;
344
	sa.sa_handler = SIG_IGN;
349
	sa.sa_handler = SIG_IGN;
Lines 443-448 Link Here
443
	printf("Connection from %s to %s\n", dst, devname);
448
	printf("Connection from %s to %s\n", dst, devname);
444
	printf("Press CTRL-C for hangup\n");
449
	printf("Press CTRL-C for hangup\n");
445
450
451
	/* Added by Sybren Stuvel <sybren AT thirdtower.com> - Flush
452
	 * stdout so other scripts can benefit from rfcomm's output and
453
	 * react to connections being made. */
454
	fflush(stdout);
455
446
	memset(&sa, 0, sizeof(sa));
456
	memset(&sa, 0, sizeof(sa));
447
	sa.sa_flags   = SA_NOCLDSTOP;
457
	sa.sa_flags   = SA_NOCLDSTOP;
448
	sa.sa_handler = SIG_IGN;
458
	sa.sa_handler = SIG_IGN;

Return to bug 32719