projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2647282
)
Don't use O_CLOEXEC flag to open()
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 4 Nov 2010 16:00:35 +0000
(17:00 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 4 Nov 2010 16:00:35 +0000
(17:00 +0100)
tools/wispr.c
patch
|
blob
|
history
diff --git
a/tools/wispr.c
b/tools/wispr.c
index
2b44288
..
5e7a720
100644
(file)
--- a/
tools/wispr.c
+++ b/
tools/wispr.c
@@
-361,7
+361,7
@@
static gboolean user_input(const char *label, gboolean hidden,
data->user_data = user_data;
data->hidden = hidden;
- data->fd = open("/dev/tty", O_RDWR | O_NOCTTY
| O_CLOEXEC
);
+ data->fd = open("/dev/tty", O_RDWR | O_NOCTTY);
if (data->fd < 0)
goto error;