|
From: <sv...@va...> - 2005-11-18 17:12:28
|
Author: njn
Date: 2005-11-18 17:12:26 +0000 (Fri, 18 Nov 2005)
New Revision: 5192
Log:
Make coredump files have names like vgcore.12345 rather than vgcore.pid12=
345
to be consistent with all the other such cases (eg. --log-file names,
cachegrind.out.12345).
Modified:
trunk/coregrind/m_coredump/coredump-elf.c
Modified: trunk/coregrind/m_coredump/coredump-elf.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
--- trunk/coregrind/m_coredump/coredump-elf.c 2005-11-18 17:09:36 UTC (re=
v 5191)
+++ trunk/coregrind/m_coredump/coredump-elf.c 2005-11-18 17:12:26 UTC (re=
v 5192)
@@ -311,10 +311,10 @@
SysRes sres;
=20
if (seq =3D=3D 0)
- VG_(sprintf)(buf, "%s%s.pid%d",
+ VG_(sprintf)(buf, "%s%s.%d",
basename, coreext, VG_(getpid)());
else
- VG_(sprintf)(buf, "%s%s.pid%d.%d",
+ VG_(sprintf)(buf, "%s%s.%d.%d",
basename, coreext, VG_(getpid)(), seq);
seq++;
=20
|