summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-09-05 16:59:37 +0000
committerThomas Bushnell <thomas@gnu.org>1996-09-05 16:59:37 +0000
commit5145728f45d1a83ebe229ee38c4f2534a43c385f (patch)
tree48dfa16e2e256f1627e60d1f1d19dfcc9e6e46d2 /exec
parent41476b24b860bc333ed99c3eb2b575193b111aa7 (diff)
*** empty log message ***
Diffstat (limited to 'exec')
-rw-r--r--exec/ChangeLog7
-rw-r--r--exec/main.c5
2 files changed, 9 insertions, 3 deletions
diff --git a/exec/ChangeLog b/exec/ChangeLog
index 0667d35a..2b6eb242 100644
--- a/exec/ChangeLog
+++ b/exec/ChangeLog
@@ -1,3 +1,10 @@
+Thu Sep 5 11:11:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * main.c: Include <version.h>.
+ (exec_version): Delete variable.
+ (S_exec_init): Pass empty string as release; HURD_VERSION
+ as version.
+
Thu Aug 29 13:00:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* priv.h: Only include <bfd.h> if BFD. Only declare
diff --git a/exec/main.c b/exec/main.c
index 44577d9c..4148946d 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -22,6 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <error.h>
#include <hurd/paths.h>
#include <hurd/startup.h>
+#include <version.h>
#ifdef BFD
bfd_arch_info_type host_bfd_arch_info;
@@ -49,7 +50,6 @@ int trivfs_cntl_nportclasses = 1;
struct trivfs_control *fsys;
-char *exec_version = "0.0";
char **save_argv;
@@ -252,8 +252,7 @@ S_exec_init (struct trivfs_protid *protid,
err = get_privileged_ports (&host_priv, &dev_master);
if (!err)
{
- proc_register_version (procserver, host_priv, "exec", HURD_RELEASE,
- exec_version);
+ proc_register_version (procserver, host_priv, "exec", "", HURD_VERSION);
mach_port_deallocate (mach_task_self (), dev_master);
err = proc_getmsgport (procserver, 1, &startup);
if (err)