diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-05-10 20:29:28 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-05-10 20:29:28 +0800 |
commit | 6106500b3a62bbf2139489299e299a77b73564bf (patch) | |
tree | 59939f38a5a20d71acd42487d1b7f470cd19988f /x11-fm/nautilus2/files | |
parent | 795b012ce2b20e88cce549a09286dc40bc62d51c (diff) | |
download | freebsd-ports-gnome-6106500b3a62bbf2139489299e299a77b73564bf.tar.gz freebsd-ports-gnome-6106500b3a62bbf2139489299e299a77b73564bf.tar.zst freebsd-ports-gnome-6106500b3a62bbf2139489299e299a77b73564bf.zip |
Correct path to the /proc/PID/status (it's /proc/PID/stat in Linux).
Submitted by: Matthew Hawkins <matthew@topic.com.au>
Diffstat (limited to 'x11-fm/nautilus2/files')
-rw-r--r-- | x11-fm/nautilus2/files/patch-libnautilus-extensions::nautilus-medusa-support.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-fm/nautilus2/files/patch-libnautilus-extensions::nautilus-medusa-support.c b/x11-fm/nautilus2/files/patch-libnautilus-extensions::nautilus-medusa-support.c new file mode 100644 index 000000000000..9874e0a31be6 --- /dev/null +++ b/x11-fm/nautilus2/files/patch-libnautilus-extensions::nautilus-medusa-support.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- libnautilus-extensions/nautilus-medusa-support.c 2001/05/10 11:39:29 1.1 ++++ libnautilus-extensions/nautilus-medusa-support.c 2001/05/10 11:40:00 +@@ -108,7 +108,7 @@ + /* Process files have numbers */ + if (nautilus_str_to_int (file->d_name, + &process_number)) { +- stat_file_name = g_strdup_printf ("/proc/%d/stat", process_number); ++ stat_file_name = g_strdup_printf ("/proc/%d/status", process_number); + stat_file = fopen (stat_file_name, "r"); + g_free (stat_file_name); + |