[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Make "common" no longer depend on or.h



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

Modified Files:
	dirserv.c or.h 
Log Message:
Make "common" no longer depend on or.h

Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/src/or/dirserv.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- dirserv.c	29 Mar 2004 23:23:01 -0000	1.33
+++ dirserv.c	3 Apr 2004 04:05:11 -0000	1.34
@@ -494,3 +494,10 @@
   return the_directory_len;
 }
 
+/*
+  Local Variables:
+  mode:c
+  indent-tabs-mode:nil
+  c-basic-offset:2
+  End:
+*/

Index: or.h
===================================================================
RCS file: /home/or/cvsroot/src/or/or.h,v
retrieving revision 1.292
retrieving revision 1.293
diff -u -d -r1.292 -r1.293
--- or.h	3 Apr 2004 03:37:11 -0000	1.292
+++ or.h	3 Apr 2004 04:05:12 -0000	1.293
@@ -73,12 +73,6 @@
 #ifdef HAVE_TIME_H
 #include <time.h>
 #endif
-#ifdef HAVE_PWD_H
-#include <pwd.h>
-#endif
-#ifdef HAVE_GRP_H
-#include <grp.h>
-#endif
 #ifdef HAVE_WINSOCK_H
 #include <winsock.h>
 #endif
@@ -276,8 +270,6 @@
 #define CELL_RELAY 3
 #define CELL_DESTROY 4
 
-/* legal characters in a filename */
-#define CONFIG_LEGAL_FILENAME_CHARACTERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_/"
 /* legal characters in a nickname */
 #define LEGAL_NICKNAME_CHARACTERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"