PERFORCE change 167114 for review
Stanislav Sedov
stas at FreeBSD.org
Sat Aug 8 19:34:44 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=167114
Change 167114 by stas at stas_orion on 2009/08/08 19:34:20
- Do not try to read /proc/version on FreeBSD.
Affected files ...
.. //depot/projects/valgrind/coregrind/m_main.c#12 edit
Differences ...
==== //depot/projects/valgrind/coregrind/m_main.c#12 (text+ko) ====
@@ -919,6 +919,7 @@
* (HChar**) VG_(indexXA)( VG_(args_for_valgrind), i ));
}
+#if !defined(VGO_freebsd)
VG_(message)(Vg_DebugMsg, "Contents of /proc/version:");
fd = VG_(open) ( "/proc/version", VKI_O_RDONLY, 0 );
if (fd.isError) {
@@ -937,6 +938,7 @@
VG_(close)(fd.res);
# undef BUF_LEN
}
+#endif
VG_(machine_get_VexArchInfo)( &vex_arch, &vex_archinfo );
VG_(message)(
More information about the p4-projects
mailing list