procfs file descriptor leaks
authorJoel Brobecker <brobecker@gnat.com>
Thu, 10 Nov 2011 16:36:28 +0000 (16:36 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 10 Nov 2011 16:36:28 +0000 (16:36 +0000)
commite28cade762a84feb67e0864b0e66e380f7cc60d5
treeb924ba7e2b17de24d2310e81c15650472a6749de
parent0a86f36427b729c3b7dfa5a9142848db9877ddc0
procfs file descriptor leaks

gdb/ChangeLog (from Tom Tromey):

* procfs.c (load_syscalls): Make a cleanup.
(open_procinfo_files): fd==0 is ok.
gdb/ChangeLog
gdb/procfs.c