projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace XMALLOC with XNEW
[deliverable/binutils-gdb.git]
/
gdb
/
ser-pipe.c
diff --git
a/gdb/ser-pipe.c
b/gdb/ser-pipe.c
index 9c5b99b45c980d00a46842994470d18106076392..9568a26c0ee7a3d968851f33c3db2420a86649ba 100644
(file)
--- a/
gdb/ser-pipe.c
+++ b/
gdb/ser-pipe.c
@@
-134,7
+134,7
@@
pipe_open (struct serial *scb, const char *name)
if (err_pdes[1] != -1)
close (err_pdes[1]);
/* :end chunk */
- state = X
MALLOC
(struct pipe_state);
+ state = X
NEW
(struct pipe_state);
state->pid = pid;
scb->fd = pdes[0];
scb->error_fd = err_pdes[0];
This page took
0.024827 seconds
and
4
git commands to generate.