Minor O_CLOEXEC optimization, "regression" fix
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 9 Oct 2013 16:00:54 +0000 (16:00 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 9 Oct 2013 16:00:54 +0000 (16:00 +0000)
commitc74e1ccf71458d5e1ab1c5a877a6c27d62597250
tree40ded5c89cddad2a408e2f5af7cc32616efed0e1
parent915215be09d492d167fa2a0d0c4d3f75cfb40157
Minor O_CLOEXEC optimization, "regression" fix

gdb/
2013-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>

* common/filestuff.c (gdb_fopen_cloexec): Remove initialization of
result variable.  Rename variable fopen_e_ever_failed to
fopen_e_ever_failed_einval.  Retry fopen only for errno EINVAL.
gdb/ChangeLog
gdb/common/filestuff.c
This page took 0.025629 seconds and 4 git commands to generate.