|
From: <sv...@va...> - 2005-09-13 22:40:46
|
Author: sewardj
Date: 2005-09-13 23:40:41 +0100 (Tue, 13 Sep 2005)
New Revision: 4648
Log:
Change layout a bit.
Modified:
branches/ASPACEM/coregrind/m_syswrap/syswrap-generic.c
Modified: branches/ASPACEM/coregrind/m_syswrap/syswrap-generic.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_syswrap/syswrap-generic.c 2005-09-13 21:=
05:00 UTC (rev 4647)
+++ branches/ASPACEM/coregrind/m_syswrap/syswrap-generic.c 2005-09-13 22:=
40:41 UTC (rev 4648)
@@ -873,9 +873,8 @@
/* Return true if we're allowed to use or create this fd */
Bool ML_(fd_allowed)(Int fd, const Char *syscallname, ThreadId tid, Bool=
soft)
{
- if ((fd < 0 || fd >=3D VG_(fd_hard_limit) || fd =3D=3D VG_(clo_log_fd=
)) &&
- VG_(showing_core_errors)())
- {
+ if ( (fd < 0 || fd >=3D VG_(fd_hard_limit) || fd =3D=3D VG_(clo_log_f=
d))=20
+ && VG_(showing_core_errors)() ) {
VG_(message)(Vg_UserMsg,=20
"Warning: invalid file descriptor %d in syscall %s()",
fd, syscallname);
|