mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 03:11:28 +00:00
Avoid close(-1) in r2pipe (#17617)
* Do not close(-1) * Remove commented code Co-authored-by: pancake <pancake@nopcode.org>
This commit is contained in:
parent
0d6a2bcf91
commit
6ead7f0eea
@ -304,7 +304,6 @@ R_API R2Pipe *r2pipe_open(const char *cmd) {
|
||||
fflush (stderr);
|
||||
// trigger the blocking read
|
||||
write (1, "\xff", 1);
|
||||
close (r2p->output[0]);
|
||||
close (r2p->output[1]);
|
||||
close (0);
|
||||
close (1);
|
||||
|
Loading…
Reference in New Issue
Block a user