|
From: <ea...@us...> - 2002-06-13 22:06:56
|
Update of /cvsroot/mingw/msys/rt/src/winsup/utils
In directory usw-pr-cvs1:/tmp/cvs-serv21712
Modified Files:
ChangeLog.MSYS strace.cc
Log Message:
* strace.cc: Correct the string searched to MsYs.
Index: ChangeLog.MSYS
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/utils/ChangeLog.MSYS,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ChangeLog.MSYS 14 Oct 2001 14:57:53 -0000 1.1
--- ChangeLog.MSYS 13 Jun 2002 22:06:54 -0000 1.2
***************
*** 1,2 ****
--- 1,6 ----
+ 2002.06.13 Earnie Boyd <ea...@us...>
+
+ * strace.cc: Correct the string searched to MsYs.
+
2001.09.22 Earnie Boyd <Ea...@SF...>
Index: strace.cc
===================================================================
RCS file: /cvsroot/mingw/msys/rt/src/winsup/utils/strace.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** strace.cc 22 Sep 2001 17:43:45 -0000 1.2
--- strace.cc 13 Jun 2002 22:06:54 -0000 1.3
***************
*** 346,350 ****
int len;
int special;
! char alen[3 + 8 + 1];
DWORD nbytes;
child_list *child = get_child (id);
--- 346,350 ----
int len;
int special;
! char alen[4 + 8 + 1];
DWORD nbytes;
child_list *child = get_child (id);
***************
*** 365,371 ****
#endif
! if (strncmp (alen, "cYg", 3))
return;
! len = (int) strtoul (alen + 3, NULL, 16);
if (!len)
return;
--- 365,371 ----
#endif
! if (strncmp (alen, "MsYs", 4))
return;
! len = (int) strtoul (alen + 4, NULL, 16);
if (!len)
return;
|