diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-09-05 16:59:37 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-09-05 16:59:37 +0000 |
commit | c9df70bb8bd1cfbc683deab1b0e517c73d445b87 (patch) | |
tree | 032112bc493113a60236d9861475f05641a0a526 | |
parent | d2cfdaa0dc8916218d18271be9a9215920f12674 (diff) |
*** empty log message ***
-rw-r--r-- | ufs-fsck/ChangeLog | 5 | ||||
-rw-r--r-- | ufs-fsck/main.c | 3 | ||||
-rw-r--r-- | ufs-utils/ChangeLog | 5 | ||||
-rw-r--r-- | ufs-utils/mkfs.c | 5 | ||||
-rw-r--r-- | version.h | 30 |
5 files changed, 45 insertions, 3 deletions
diff --git a/ufs-fsck/ChangeLog b/ufs-fsck/ChangeLog index c8def0d7..d4e404b2 100644 --- a/ufs-fsck/ChangeLog +++ b/ufs-fsck/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 5 11:42:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * main.c: Include <version.h>. + (argp_program_version): Define with STANDARD_HURD_VERSION. + Fri Aug 16 10:25:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * dir.c (record_directory): Maximum number of block pointers to diff --git a/ufs-fsck/main.c b/ufs-fsck/main.c index b5af2d88..c159b170 100644 --- a/ufs-fsck/main.c +++ b/ufs-fsck/main.c @@ -21,10 +21,11 @@ #include <errno.h> #include <argp.h> #include <hurd.h> +#include <version.h> #include "fsck.h" -char *argp_program_version = "fsck.ufs 1.0 (GNU " HURD_RELEASE ")"; +char *argp_program_version = STANDARD_HURD_VERSION (fsck.ufs) char *lfname = "lost+found"; mode_t lfmode = 0755; diff --git a/ufs-utils/ChangeLog b/ufs-utils/ChangeLog index 201a2958..7f892351 100644 --- a/ufs-utils/ChangeLog +++ b/ufs-utils/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 5 11:44:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * mkfs.c: Include <version.h>. + (argp_program_version): Define with STANDARD_HURD_VERSION. + Mon Aug 19 15:18:30 1996 Miles Bader <miles@gnu.ai.mit.edu> * mkfs.c (doc): Supply a useful value. diff --git a/ufs-utils/mkfs.c b/ufs-utils/mkfs.c index 48a5a688..de8c712e 100644 --- a/ufs-utils/mkfs.c +++ b/ufs-utils/mkfs.c @@ -33,7 +33,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)mkfs.c 8.3 (Berkeley) 2/3/94";*/ -static char *rcsid = "$Id: mkfs.c,v 1.14 1996/08/27 18:24:31 miles Exp $"; +static char *rcsid = "$Id: mkfs.c,v 1.15 1996/09/05 16:59:14 thomas Exp $"; #endif /* not lint */ #include <unistd.h> @@ -54,6 +54,7 @@ static char *rcsid = "$Id: mkfs.c,v 1.14 1996/08/27 18:24:31 miles Exp $"; #include <sys/stat.h> #include <fcntl.h> #include <dirent.h> +#include <version.h> #include <device/device_types.h> #include <device/disk_status.h> @@ -163,7 +164,7 @@ struct dinode zino[MAXBSIZE / sizeof(struct dinode)]; int fsi, fso; daddr_t alloc(); -char *argp_program_version = "mkfs.ufs 1.0 (GNU " HURD_RELEASE ")"; +char *argp_program_version = STANDARD_HURD_VERSION (mkfs.ufs); #define _STRINGIFY(arg) #arg #define STRINGIFY(arg) _STRINGIFY (arg) diff --git a/version.h b/version.h new file mode 100644 index 00000000..b8f63ac0 --- /dev/null +++ b/version.h @@ -0,0 +1,30 @@ +/* Hurd version + Copyright (C) 1996 Free Software Foundation, Inc. + Written by Thomas Bushnell, n/BSG. + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2, or (at + your option) any later version. + + The GNU Hurd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ + +/* See sh-version.sed for duplicates of this information. */ + +#ifndef HURD_VERSION +#define HURD_VERSION "0.1" +#endif + +/* The standard way to print versions for --version */ +#define STANDARD_HURD_VERSION(s) #s " - GNU Hurd-" HURD_VERSION + + |