Re: [PATCH] emulator/serial.c: use posix_openpt() instead of getpt()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/07/14 10:56, Johan Hedberg wrote:
Hi Anthony,

On Sat, Oct 04, 2014, basile@xxxxxxxxxxxxxxxxxx wrote:
From: "Anthony G. Basile" <basile@xxxxxxxxxxxxxxxxxx>

getpt(3) is glibc-specific and is not provided in musl and possibly
other libc's. Instead, we use use posix_openpt(3) which is equivalent
and portable.

Signed-off-by: Anthony G. Basile <basile@xxxxxxxxxxxxxxxxxx>
---
  emulator/serial.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks. I first had to remove the Signed-off-by line though
since we don't don't use that convention for user space patches.

Johan


That's fine.

--
Anthony G. Basile, Ph. D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
(716) 829-8197
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux