This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog common/filestuff.c
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Wed, 09 Oct 2013 16:00:55 +0000
- Subject: src/gdb ChangeLog common/filestuff.c
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2013-10-09 16:00:55
Modified files:
gdb : ChangeLog
gdb/common : filestuff.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.16087&r2=1.16088
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/common/filestuff.c.diff?cvsroot=src&r1=1.8&r2=1.9