[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
procfs ChangeLog AUTHORS Makefile.am src/Makefi...
From: |
Thomas Schwinge |
Subject: |
procfs ChangeLog AUTHORS Makefile.am src/Makefi... |
Date: |
Fri, 06 Apr 2007 13:38:35 +0000 |
CVSROOT: /sources/hurdextras
Module name: procfs
Changes by: Thomas Schwinge <tschwinge> 07/04/06 13:38:35
Modified files:
. : ChangeLog AUTHORS Makefile.am
src : Makefile.am list.h procfs_generic.c
procfs_generic.h procfs_linux24.c
procfs_linux24.h procfs_linux24_pid.c
procfs_node.c procfs_node.h procfs_printf.c
procfs_printf.h
Log message:
2007-04-06 Thomas Schwinge <address@hidden>
* src/procfs_linux24.c (procfs_loadavg_read): Add a line
separator to
the output string and add some comments about deficiencies in
this
function.
* src/procfs_linux24_pid.c: Correctly spell Neal's name.
* AUTHORS: Add Neal Walfield.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/procfs/ChangeLog?cvsroot=hurdextras&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/procfs/AUTHORS?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/procfs/Makefile.am?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/procfs/src/Makefile.am?cvsroot=hurdextras&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/procfs/src/list.h?cvsroot=hurdextras&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/procfs/src/procfs_generic.c?cvsroot=hurdextras&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/procfs/src/procfs_generic.h?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/procfs/src/procfs_linux24.c?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/procfs/src/procfs_linux24.h?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/procfs/src/procfs_linux24_pid.c?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/procfs/src/procfs_node.c?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/procfs/src/procfs_node.h?cvsroot=hurdextras&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/procfs/src/procfs_printf.c?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/procfs/src/procfs_printf.h?cvsroot=hurdextras&r1=1.2&r2=1.3
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/hurdextras/procfs/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ChangeLog 1 Dec 2002 16:15:40 -0000 1.2
+++ ChangeLog 6 Apr 2007 13:38:35 -0000 1.3
@@ -1,3 +1,13 @@
+2007-04-06 Thomas Schwinge <address@hidden>
+
+ * src/procfs_linux24.c (procfs_loadavg_read): Add a line separator to
+ the output string and add some comments about deficiencies in this
+ function.
+
+ * src/procfs_linux24_pid.c: Correctly spell Neal's name.
+
+ * AUTHORS: Add Neal Walfield.
+
2002-12-01 James A. Morrison <address@hidden>
* src/Makefile.am: Defined _FILE_OFFSET_BITS to 64.
@@ -10,7 +20,6 @@
* src/: fixed data types to match large file changes
-
2002-03-25 Jon Arney <address@hidden>
* procfs_linux24.c: Changed asprintf call to use char * arg instead
@@ -18,5 +27,7 @@
* procfs_linux24_pid.c: Changed calls to use libps instead
of doing everything itself.
+XXXX-XX-XX X <X>
-
\ No newline at end of file
+ TODO. Here are most probably ``bits'' missing. Some code seems to
+ have been copied from Neal Walfield's `procfs', for example.
Index: AUTHORS
===================================================================
RCS file: /sources/hurdextras/procfs/AUTHORS,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- AUTHORS 19 Apr 2002 01:31:09 -0000 1.1.1.1
+++ AUTHORS 6 Apr 2007 13:38:35 -0000 1.2
@@ -1,2 +1,5 @@
Jonathan S. Arney <address@hidden>
James A. Morrison <address@hidden>
+
+Some code seems to have been copied from -- and was thus written by -- Neal
+Walfield <address@hidden>
Index: Makefile.am
===================================================================
RCS file: /sources/hurdextras/procfs/Makefile.am,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- Makefile.am 19 Apr 2002 01:31:05 -0000 1.1.1.1
+++ Makefile.am 6 Apr 2007 13:38:35 -0000 1.2
@@ -1,3 +1,3 @@
-
+# What is this file's license?
SUBDIRS=src
Index: src/Makefile.am
===================================================================
RCS file: /sources/hurdextras/procfs/src/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- src/Makefile.am 1 Dec 2002 16:15:40 -0000 1.2
+++ src/Makefile.am 6 Apr 2007 13:38:35 -0000 1.3
@@ -1,4 +1,4 @@
-
+# What is this file's license?
bin_PROGRAMS=procfs
@@ -20,6 +20,3 @@
procfs_select.c \
procfs_stat.c \
fetch_boot_time.c
-
-
-
Index: src/list.h
===================================================================
RCS file: /sources/hurdextras/procfs/src/list.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- src/list.h 1 Dec 2002 16:15:40 -0000 1.2
+++ src/list.h 6 Apr 2007 13:38:35 -0000 1.3
@@ -1,3 +1,5 @@
+/* What is this file's license? */
+
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H
Index: src/procfs_generic.c
===================================================================
RCS file: /sources/hurdextras/procfs/src/procfs_generic.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- src/procfs_generic.c 1 Dec 2002 16:15:40 -0000 1.2
+++ src/procfs_generic.c 6 Apr 2007 13:38:35 -0000 1.3
@@ -1,3 +1,5 @@
+/* What is this file's license? */
+
#define _GNU_SOURCE
#include <hurd/trivfs.h>
Index: src/procfs_generic.h
===================================================================
RCS file: /sources/hurdextras/procfs/src/procfs_generic.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/procfs_generic.h 19 Apr 2002 01:31:12 -0000 1.1.1.1
+++ src/procfs_generic.h 6 Apr 2007 13:38:35 -0000 1.2
@@ -1,3 +1,4 @@
+/* What is this file's license? */
/*
* Useful function for comparing filenames.
Index: src/procfs_linux24.c
===================================================================
RCS file: /sources/hurdextras/procfs/src/procfs_linux24.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/procfs_linux24.c 19 Apr 2002 01:31:11 -0000 1.1.1.1
+++ src/procfs_linux24.c 6 Apr 2007 13:38:35 -0000 1.2
@@ -1,3 +1,5 @@
+/* What is this file's license? */
+
#define _GNU_SOURCE
#include <hurd.h>
@@ -236,10 +238,19 @@
return err;
}
- err = procfs_printf (read_data, "%d.%02d %d.%02d %d.%02d %d/%d %d",
+ err = procfs_printf (read_data, "%d.%02d %d.%02d %d.%02d %d/%d %d\n",
pinfo.load_average / LOAD_SCALE,
- pinfo.load_average % LOAD_SCALE, 0, 0, 0, 0, 1,
- pinfo.task_count, getpid ());
+ pinfo.load_average % LOAD_SCALE,
+ /* TODO. */
+ 0, 0,
+ /* TODO. */
+ 0, 0,
+ /* TODO. */
+ 1,
+ pinfo.task_count,
+ /* TODO. This should be the pid of the reading process,
+ not of the running `procfs' translator. */
+ getpid ());
return err;
}
Index: src/procfs_linux24.h
===================================================================
RCS file: /sources/hurdextras/procfs/src/procfs_linux24.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/procfs_linux24.h 19 Apr 2002 01:31:11 -0000 1.1.1.1
+++ src/procfs_linux24.h 6 Apr 2007 13:38:35 -0000 1.2
@@ -1,3 +1,4 @@
+/* What is this file's license? */
/*
* Create a Linux 2.4 kernel emulation node.
Index: src/procfs_linux24_pid.c
===================================================================
RCS file: /sources/hurdextras/procfs/src/procfs_linux24_pid.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/procfs_linux24_pid.c 19 Apr 2002 01:31:11 -0000 1.1.1.1
+++ src/procfs_linux24_pid.c 6 Apr 2007 13:38:35 -0000 1.2
@@ -1,3 +1,5 @@
+/* What is this file's license? */
+
#define _GNU_SOURCE
#include <hurd/trivfs.h>
@@ -366,7 +368,7 @@
procfs_node_peropen_t *peropen = read->cred->po->hook;
/*
- * Imported from Neal Wallfield's code.
+ * Imported from Neal Walfield's code.
*/
if ((err = load_proc_field(peropen->ps, PSTAT_STATE))
|| (err = load_proc_field(peropen->ps, PSTAT_PID))
@@ -543,7 +545,7 @@
procfs_node_peropen_t *peropen = read->cred->po->hook;
/*
- * Imported from Neal Wallfield's code.
+ * Imported from Neal Walfield's code.
*/
if ((err = load_proc_field(peropen->ps, PSTAT_OWNER_UID))
|| (err = load_proc_field(peropen->ps, PSTAT_PROC_INFO))
@@ -572,7 +574,7 @@
int state;
/*
- * Imported from Neal Wallfield's code.
+ * Imported from Neal Walfield's code.
*/
if (err = load_proc_field(peropen->ps, PSTAT_STATE)
|| (err = load_proc_field(peropen->ps, PSTAT_PID))
Index: src/procfs_node.c
===================================================================
RCS file: /sources/hurdextras/procfs/src/procfs_node.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/procfs_node.c 19 Apr 2002 01:31:10 -0000 1.1.1.1
+++ src/procfs_node.c 6 Apr 2007 13:38:35 -0000 1.2
@@ -1,3 +1,5 @@
+/* What is this file's license? */
+
#define _GNU_SOURCE
#include <hurd/trivfs.h>
Index: src/procfs_node.h
===================================================================
RCS file: /sources/hurdextras/procfs/src/procfs_node.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- src/procfs_node.h 1 Dec 2002 16:15:40 -0000 1.2
+++ src/procfs_node.h 6 Apr 2007 13:38:35 -0000 1.3
@@ -1,3 +1,4 @@
+/* What is this file's license? */
/*
* This belongs somewhere else!
Index: src/procfs_printf.c
===================================================================
RCS file: /sources/hurdextras/procfs/src/procfs_printf.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/procfs_printf.c 19 Apr 2002 01:31:11 -0000 1.1.1.1
+++ src/procfs_printf.c 6 Apr 2007 13:38:35 -0000 1.2
@@ -1,3 +1,5 @@
+/* What is this file's license? */
+
#define _GNU_SOURCE
#include <hurd/trivfs.h>
Index: src/procfs_printf.h
===================================================================
RCS file: /sources/hurdextras/procfs/src/procfs_printf.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- src/procfs_printf.h 1 Dec 2002 16:15:40 -0000 1.2
+++ src/procfs_printf.h 6 Apr 2007 13:38:35 -0000 1.3
@@ -1,3 +1,4 @@
+/* What is this file's license? */
typedef struct procfs_read_data_st {
struct trivfs_protid *cred;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- procfs ChangeLog AUTHORS Makefile.am src/Makefi...,
Thomas Schwinge <=