Remove obsolete and non-functional code that breaks the build under
2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org> * sysdeps/freebsd/proctime.c: Remove obsolete and non-functional code that breaks the build under NetBSD. It was guarded by a conditional but could not compile anyway because it referred to an undefined variable. Fixes bug #337234.
This commit is contained in:
committed by
Benoît Dejean
parent
214e1decbd
commit
1870a03538
@@ -1,3 +1,13 @@
|
||||
2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org>
|
||||
|
||||
* sysdeps/freebsd/proctime.c:
|
||||
|
||||
Remove obsolete and non-functional code that breaks the build under
|
||||
NetBSD. It was guarded by a conditional but could not compile
|
||||
anyway because it referred to an undefined variable.
|
||||
|
||||
Fixes bug #337234.
|
||||
|
||||
2005-02-28 Benoît Dejean <TazForEver@dlfp.org>
|
||||
|
||||
* fsusage.c: (_glibtop_freebsd_get_fsusage_read_write): Forgot to add
|
||||
|
@@ -138,11 +138,6 @@ glibtop_get_proc_time_p (glibtop *server, glibtop_proc_time *buf,
|
||||
#if (defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000))
|
||||
if (server->sysdeps.proc_time == 0)
|
||||
return;
|
||||
|
||||
#ifndef __bsdi__
|
||||
sprintf (filename, "/proc/%d/mem", (int) pid);
|
||||
if (stat (filename, &statb)) return;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Get the process information */
|
||||
|
Reference in New Issue
Block a user