projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2003-01-09 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git]
/
gdb
/
inftarg.c
diff --git
a/gdb/inftarg.c
b/gdb/inftarg.c
index 471eb3cc7b5d959202f5fde6e8715fdbd7abf343..e12e8bd529ac70da0edbf9d1d766b12a5dc94632 100644
(file)
--- a/
gdb/inftarg.c
+++ b/
gdb/inftarg.c
@@
-649,7
+649,8
@@
_initialize_inftarg (void)
#define PROC_NAME_FMT "/proc/%05d"
#endif
sprintf (procname, PROC_NAME_FMT, getpid ());
- if ((fd = open (procname, O_RDONLY)) >= 0)
+ fd = open (procname, O_RDONLY);
+ if (fd >= 0)
{
close (fd);
return;
This page took
0.023256 seconds
and
4
git commands to generate.