Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 2009 19:34:42 GMT
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 167114 for review
Message-ID:  <200908081934.n78JYgQ1068383@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=167114

Change 167114 by stas@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)(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908081934.n78JYgQ1068383>