mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
Unsupported: update platform
This commit is contained in:
parent
ec2307688e
commit
0679e9f45e
@ -115,11 +115,6 @@ void Platform_setSwapValues(Meter* this) {
|
||||
(void) this;
|
||||
}
|
||||
|
||||
bool Process_isThread(const Process* this) {
|
||||
(void) this;
|
||||
return false;
|
||||
}
|
||||
|
||||
char* Platform_getProcessEnv(pid_t pid) {
|
||||
(void) pid;
|
||||
return NULL;
|
||||
|
@ -45,8 +45,6 @@ void Platform_setMemoryValues(Meter* this);
|
||||
|
||||
void Platform_setSwapValues(Meter* this);
|
||||
|
||||
bool Process_isThread(const Process* this);
|
||||
|
||||
char* Platform_getProcessEnv(pid_t pid);
|
||||
|
||||
char* Platform_getInodeFilename(pid_t pid, ino_t inode);
|
||||
|
@ -52,7 +52,7 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
|
||||
Process_updateExe(proc, "/path/to/executable");
|
||||
|
||||
if (proc->settings->flags & PROCESS_FLAG_CWD) {
|
||||
proc->procCwd = "/current/working/directory";
|
||||
free_and_xStrdup(&proc->procCwd, "/current/working/directory");
|
||||
}
|
||||
|
||||
proc->updated = true;
|
||||
|
@ -10,7 +10,7 @@ in the source distribution for its full text.
|
||||
#include "ProcessList.h"
|
||||
|
||||
|
||||
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* dynamicMeters, Hashtable* pidMatchList, uid_t userId);
|
||||
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* dynamicMeters, Hashtable* dynamicColumns, Hashtable* pidMatchList, uid_t userId);
|
||||
|
||||
void ProcessList_delete(ProcessList* this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user