[or-cvs] Suggestion from weasel: Make tor --version --version dump t...

Nick Mathewson nickm at seul.org
Mon Nov 29 22:25:32 UTC 2004


Update of /home/or/cvsroot/tor/src/common
In directory moria.mit.edu:/tmp/cvs-serv3880/src/common

Modified Files:
	aes.c aes.h compat.c compat.h container.c container.h crypto.c 
	crypto.h fakepoll.c fakepoll.h log.c log.h test.h torgzip.c 
	torgzip.h torint.h tortls.c tortls.h util.c util.h 
Log Message:
Suggestion from weasel: Make tor --version --version dump the cvs Id of every file.

Index: aes.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/aes.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- aes.c	26 Nov 2004 04:00:52 -0000	1.15
+++ aes.c	29 Nov 2004 22:25:28 -0000	1.16
@@ -1,6 +1,7 @@
 /* Copyright 2001,2002,2003 Roger Dingledine, Matej Pfajfar. */
 /* See LICENSE for licensing information */
 /* $Id$ */
+const char aes_c_id[] = "$Id$";
 
 /**
  * \file aes.c

Index: aes.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/aes.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- aes.h	26 Nov 2004 04:00:52 -0000	1.7
+++ aes.h	29 Nov 2004 22:25:28 -0000	1.8
@@ -6,6 +6,7 @@
 
 #ifndef __AES_H
 #define __AES_H
+#define AES_H_ID "$Id$"
 
 /**
  * \file aes.h

Index: compat.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/compat.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- compat.c	29 Nov 2004 06:49:04 -0000	1.16
+++ compat.c	29 Nov 2004 22:25:28 -0000	1.17
@@ -1,6 +1,7 @@
 /* Copyright 2003-2004 Roger Dingledine; Copyright 2004 Nick Mathewson */
 /* See LICENSE for licensing information */
 /* $Id$ */
+const char compat_c_id[] = "$Id$";
 
 /* This is required on rh7 to make strptime not complain.
  */

Index: compat.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/compat.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- compat.h	28 Nov 2004 05:58:55 -0000	1.11
+++ compat.h	29 Nov 2004 22:25:28 -0000	1.12
@@ -4,6 +4,7 @@
 
 #ifndef __COMPAT_H
 #define __COMPAT_H
+#define COMPAT_H_ID "$Id$"
 
 #include "orconfig.h"
 #include "torint.h"

Index: container.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/container.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- container.c	28 Nov 2004 09:05:45 -0000	1.9
+++ container.c	29 Nov 2004 22:25:28 -0000	1.10
@@ -1,6 +1,7 @@
 /* Copyright 2003-2004 Roger Dingledine; Copyright 2004 Nick Mathewson */
 /* See LICENSE for licensing information */
 /* $Id$ */
+const char container_c_id[] = "$Id$";
 
 #include "compat.h"
 #include "util.h"

Index: container.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/container.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- container.h	28 Nov 2004 11:39:51 -0000	1.8
+++ container.h	29 Nov 2004 22:25:28 -0000	1.9
@@ -4,6 +4,7 @@
 
 #ifndef __CONTAINER_H
 #define __CONTAINER_H
+#define CONTAINER_H_ID "$Id$"
 
 /** Generic resizeable array. */
 typedef struct smartlist_t smartlist_t;

Index: crypto.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/crypto.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- crypto.c	28 Nov 2004 09:05:45 -0000	1.124
+++ crypto.c	29 Nov 2004 22:25:28 -0000	1.125
@@ -1,6 +1,7 @@
 /* Copyright 2001,2002,2003 Roger Dingledine, Matej Pfajfar. */
 /* See LICENSE for licensing information */
 /* $Id$ */
+const char crypto_c_id[] = "$Id$";
 
 /**
  * \file crypto.c

Index: crypto.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/crypto.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- crypto.h	26 Nov 2004 04:00:52 -0000	1.58
+++ crypto.h	29 Nov 2004 22:25:28 -0000	1.59
@@ -10,6 +10,7 @@
 
 #ifndef __CRYPTO_H
 #define __CRYPTO_H
+#define CRYPTO_H_ID "$Id$"
 
 #include <stdio.h>
 

Index: fakepoll.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/fakepoll.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- fakepoll.c	26 Nov 2004 04:00:52 -0000	1.35
+++ fakepoll.c	29 Nov 2004 22:25:28 -0000	1.36
@@ -1,6 +1,7 @@
 /* Copyright 2002,2003 Nick Mathewson, Roger Dingledine */
 /* See LICENSE for licensing information */
 /* $Id$ */
+const char fakepoll_c_id[] = "$Id$";
 
 /**
  * \file fakepoll.c

Index: fakepoll.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/fakepoll.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- fakepoll.h	26 Nov 2004 04:00:52 -0000	1.11
+++ fakepoll.h	29 Nov 2004 22:25:28 -0000	1.12
@@ -4,6 +4,7 @@
 
 #ifndef __FAKEPOLL_H
 #define __FAKEPOLL_H
+#define FAKEPOLL_H_ID "$Id$"
 
 /**
  * \file fakepoll.h

Index: log.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/log.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- log.c	29 Nov 2004 20:39:55 -0000	1.81
+++ log.c	29 Nov 2004 22:25:28 -0000	1.82
@@ -1,6 +1,7 @@
 /* Copyright 2001,2002,2003 Roger Dingledine, Matej Pfajfar. */
 /* See LICENSE for licensing information */
 /* $Id$ */
+const char log_c_id[] = "$Id$";
 
 /**
  * \file log.c

Index: log.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/log.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- log.h	28 Nov 2004 09:05:45 -0000	1.38
+++ log.h	29 Nov 2004 22:25:28 -0000	1.39
@@ -9,11 +9,7 @@
  **/
 
 #ifndef __LOG_H
-
-/**
- * \file log.h
- * \brief Headers for log.c
- */
+#define LOG_H_ID "$Id$"
 
 #include "../common/compat.h"
 

Index: test.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/test.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- test.h	28 Nov 2004 09:05:45 -0000	1.16
+++ test.h	29 Nov 2004 22:25:28 -0000	1.17
@@ -4,6 +4,7 @@
 
 #ifndef __TEST_H
 #define __TEST_H
+#define TEST_H_ID "$Id$"
 
 /**
  * \file test.h

Index: torgzip.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/torgzip.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- torgzip.c	28 Nov 2004 09:05:45 -0000	1.8
+++ torgzip.c	29 Nov 2004 22:25:28 -0000	1.9
@@ -1,6 +1,7 @@
 /* Copyright 2004 Roger Dingledine */
 /* See LICENSE for licensing information */
 /* $Id$ */
+const char torgzip_c_id[] = "$Id$";
 
 /**
  * \file torgzip.c

Index: torgzip.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/torgzip.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- torgzip.h	14 Oct 2004 04:31:16 -0000	1.3
+++ torgzip.h	29 Nov 2004 22:25:28 -0000	1.4
@@ -9,6 +9,7 @@
 
 #ifndef __TORGZIP_H
 #define __TORGZIP_H
+#define TORGZIP_H_ID "$Id$"
 
 typedef enum { GZIP_METHOD=1, ZLIB_METHOD=2 } compress_method_t;
 

Index: torint.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/torint.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- torint.h	26 Nov 2004 04:00:52 -0000	1.13
+++ torint.h	29 Nov 2004 22:25:28 -0000	1.14
@@ -9,6 +9,7 @@
 
 #ifndef __TORINT_H
 #define __TORINT_H
+#define TORINT_H_ID "$Id$"
 
 #include "orconfig.h"
 

Index: tortls.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/tortls.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- tortls.c	28 Nov 2004 09:05:45 -0000	1.79
+++ tortls.c	29 Nov 2004 22:25:28 -0000	1.80
@@ -1,6 +1,7 @@
 /* Copyright 2003 Roger Dingledine. */
 /* See LICENSE for licensing information */
 /* $Id$ */
+const char tortls_c_id[] = "$Id$";
 
 /**
  * \file tortls.c

Index: tortls.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/tortls.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- tortls.h	26 Nov 2004 04:00:52 -0000	1.21
+++ tortls.h	29 Nov 2004 22:25:29 -0000	1.22
@@ -4,6 +4,7 @@
 
 #ifndef _TORTLS_H
 #define _TORTLS_H
+#define TORTLS_H_ID "$Id$"
 
 /**
  * \file tortls.h

Index: util.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/util.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- util.c	28 Nov 2004 11:39:51 -0000	1.188
+++ util.c	29 Nov 2004 22:25:29 -0000	1.189
@@ -1,6 +1,7 @@
 /* Copyright 2003 Roger Dingledine */
 /* See LICENSE for licensing information */
 /* $Id$ */
+const char util_c_id[] = "$Id$";
 
 /**
  * \file util.c

Index: util.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/util.h,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- util.h	29 Nov 2004 07:22:57 -0000	1.122
+++ util.h	29 Nov 2004 22:25:29 -0000	1.123
@@ -9,6 +9,7 @@
 
 #ifndef __UTIL_H
 #define __UTIL_H
+#define UTIL_H_ID "$Id$"
 
 #include "orconfig.h"
 #include "torint.h"



More information about the tor-commits mailing list