From 596df479c23ec6d7cf164d47e4a79719f29e069b Mon Sep 17 00:00:00 2001 From: Godzil Date: Wed, 24 Jul 2019 15:55:35 +0100 Subject: [PATCH] Remove all SVN/CVS $Id$ idoms. --- doc/fusd.tex | 1 - doc/html.sty | 1 - examples/console-read.c | 1 - examples/drums.c | 1 - examples/drums2.c | 1 - examples/drums3.c | 1 - examples/echo.c | 1 - examples/helloworld.c | 1 - examples/ioctl.c | 1 - examples/logring.c | 1 - examples/pager.c | 1 - examples/uid-filter.c | 1 - include/kfusd.h | 1 - kfusd/kfusd.c | 4 ++-- libfusd/Makefile | 3 ++- libfusd/libfusd.c | 3 +-- 16 files changed, 5 insertions(+), 18 deletions(-) diff --git a/doc/fusd.tex b/doc/fusd.tex index 63e5b7e..9dc3c37 100644 --- a/doc/fusd.tex +++ b/doc/fusd.tex @@ -7,7 +7,6 @@ % Released under open-source, BSD license % See LICENSE file for full license % -% $Id: fusd.tex,v 1.63 2003/08/20 22:00:55 jelson Exp $ \documentclass{article} \addtolength{\topmargin}{-.5in} % repairing LaTeX's huge margins... diff --git a/doc/html.sty b/doc/html.sty index 65bd03e..c92d3dd 100644 --- a/doc/html.sty +++ b/doc/html.sty @@ -1,5 +1,4 @@ % -% $Id: html.sty,v 1.1 2001/05/12 00:38:48 cvs Exp $ % LaTeX2HTML Version 99.2 : html.sty % % This file contains definitions of LaTeX commands which are diff --git a/examples/console-read.c b/examples/console-read.c index 5d0ca4e..6ef58e1 100644 --- a/examples/console-read.c +++ b/examples/console-read.c @@ -40,7 +40,6 @@ * need a template from which to start on a real driver, use pager.c * instead. * - * $Id: console-read.c 12351 2007-01-19 07:22:54Z xiphmont $ */ #include diff --git a/examples/drums.c b/examples/drums.c index 03c53e1..128be8a 100644 --- a/examples/drums.c +++ b/examples/drums.c @@ -42,7 +42,6 @@ * directory: /dev/drums/bam, /dev/drums/bum, etc. If you cat one of * these devices, it returns a string that's the same as its name. * - * $Id: drums.c 12355 2007-01-19 17:44:17Z xiphmont $ */ #include diff --git a/examples/drums2.c b/examples/drums2.c index 44b4a28..d5ebd6a 100644 --- a/examples/drums2.c +++ b/examples/drums2.c @@ -47,7 +47,6 @@ * to remember if this user has read before; cat /dev/drums/X will * read infinitely * - * $Id: drums2.c 12355 2007-01-19 17:44:17Z xiphmont $ */ #include diff --git a/examples/drums3.c b/examples/drums3.c index 231a2c8..428044e 100644 --- a/examples/drums3.c +++ b/examples/drums3.c @@ -43,7 +43,6 @@ * However, it also prints a prompt to the console, asking the user if * how loud the drums should be. * - * $Id: drums3.c 12351 2007-01-19 07:22:54Z xiphmont $ */ #include diff --git a/examples/echo.c b/examples/echo.c index c2a2544..bde3a25 100644 --- a/examples/echo.c +++ b/examples/echo.c @@ -41,7 +41,6 @@ * stored. Then, when you read (e.g. "cat /dev/echo"), you get back * whatever you wrote most recently. * - * $Id: echo.c 12351 2007-01-19 07:22:54Z xiphmont $ */ #include diff --git a/examples/helloworld.c b/examples/helloworld.c index 1ada24d..45b0dc9 100644 --- a/examples/helloworld.c +++ b/examples/helloworld.c @@ -37,7 +37,6 @@ * hello-world: Simply creates a device called /dev/hello-world, which * greets you when you try to get it. * - * $Id: helloworld.c 12351 2007-01-19 07:22:54Z xiphmont $ */ /* EXAMPLE START helloworld.c */ diff --git a/examples/ioctl.c b/examples/ioctl.c index 9de548e..c357f5e 100644 --- a/examples/ioctl.c +++ b/examples/ioctl.c @@ -41,7 +41,6 @@ * the other examples, anyway), because this program is both an * example and part of the regression test suite. * - * $Id: ioctl.c 12351 2007-01-19 07:22:54Z xiphmont $ */ #include diff --git a/examples/logring.c b/examples/logring.c index 3efd0f8..7536d27 100644 --- a/examples/logring.c +++ b/examples/logring.c @@ -71,7 +71,6 @@ * but want to use it on a system that does not have FUSD, check out * emlog at http://www.circlemud.org/~jelson/software/emlog. * - * $Id: logring.c 12351 2007-01-19 07:22:54Z xiphmont $ */ #include diff --git a/examples/pager.c b/examples/pager.c index 786b2f7..24731bd 100644 --- a/examples/pager.c +++ b/examples/pager.c @@ -60,7 +60,6 @@ * If you close the FD and then reopen it, there will be a race (pages * that arrive between the close and open will not be delivered). * - * $Id: pager.c 12355 2007-01-19 17:44:17Z xiphmont $ */ #include diff --git a/examples/uid-filter.c b/examples/uid-filter.c index ca48cae..2425204 100644 --- a/examples/uid-filter.c +++ b/examples/uid-filter.c @@ -42,7 +42,6 @@ * not be read by anyone other than the driver owner (not even root!). * When you read from the device, it returns your PID to you. * - * $Id: uid-filter.c 12351 2007-01-19 07:22:54Z xiphmont $ */ #include diff --git a/include/kfusd.h b/include/kfusd.h index 9362897..d0ffaff 100755 --- a/include/kfusd.h +++ b/include/kfusd.h @@ -37,7 +37,6 @@ * * Private header file used by the Linux Kernel Module * - * $Id: kfusd.h 12351 2007-01-19 07:22:54Z xiphmont $ */ #ifndef __KFUSD_H__ diff --git a/kfusd/kfusd.c b/kfusd/kfusd.c index 24f944c..693de93 100755 --- a/kfusd/kfusd.c +++ b/kfusd/kfusd.c @@ -40,7 +40,6 @@ * Copyright (c) 2007 Monty and Xiph.Org * Copyright (c) 2009-2018 Manoel Trapier * - * $Id: kfusd.c 12354 2007-01-19 17:26:14Z xiphmont $ */ /* @@ -2827,7 +2826,8 @@ STATIC void fusd_status_build_text(fusd_statcontext_t *fs) } len += snprintf(buf + len, buf_size - len, - "\nFUSD $Id:$ - %d devices used by %d clients\n", + "\nFUSD %s - %d devices used by %d clients\n", + GIT_DESCRIBE, total_files, total_clients); out: diff --git a/libfusd/Makefile b/libfusd/Makefile index c53d8b9..9b615b7 100755 --- a/libfusd/Makefile +++ b/libfusd/Makefile @@ -1,6 +1,7 @@ SRC = libfusd.c OBJ = libfusd.o TARGETS = libfusd.a libfusd.so.0.0 +GIT_DESCRIBE = $(shell git describe --dirty --tags) default: $(TARGETS) @@ -15,7 +16,7 @@ clean: rm -f *.o *.so *.so.* *.a *.d *.d.* gmon.out *~ $(TARGETS): - $(MAKE) target CFLAGS='-g -O2 $(SCF) $(GCF)' + $(MAKE) target CFLAGS='-g -O2 $(SCF) $(GCF) -DGIT_DESCRIBE=\"${GIT_DESCRIBE}\"' target: $(OBJ) $(LD) $(OBJ) $(SOLDFLAGS) -o libfusd.so.0.0 $(SLF) diff --git a/libfusd/libfusd.c b/libfusd/libfusd.c index 6a80bd2..ac47804 100755 --- a/libfusd/libfusd.c +++ b/libfusd/libfusd.c @@ -35,10 +35,9 @@ * * authors: jelson and girod * - * $Id: libfusd.c 12351 2007-01-19 07:22:54Z xiphmont $ */ -char libfusd_c_id[] = "$Id: libfusd.c 12351 2007-01-19 07:22:54Z xiphmont $"; +char libfusd_c_id[] = "libfusd.c - FUSD " GIT_DESCRIBE; #include #include