[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tinc/src conf.c,1.9.4.66,1.9.4.67



Update of /home/CVS/tinc/src
In directory humbolt:/tmp/cvs-serv2793

Modified Files:
      Tag: CABAL
	conf.c 
Log Message:
No UNIX style permissions under Windows.


Index: conf.c
===================================================================
RCS file: /home/CVS/tinc/src/Attic/conf.c,v
retrieving revision 1.9.4.66
retrieving revision 1.9.4.67
diff -u -r1.9.4.66 -r1.9.4.67
--- conf.c	2003/07/17 15:06:26	1.9.4.66
+++ conf.c	2003/07/18 14:10:27	1.9.4.67
@@ -417,6 +417,7 @@
 
 int is_safe_path(const char *file)
 {
+#if !(defined(HAVE_CYGWIN) || defined(HAVE_MINGW))
 	char *p;
 	const char *f;
 	char x;
@@ -499,6 +500,7 @@
 		logger(LOG_ERR, _("`%s' has unsecure permissions"), f);
 		return 0;
 	}
+#endif
 
 	return 1;
 }

--
Tinc-cvs:     CVS changelog list for the tinc VPN daemon
Archive:      http://mail.nl.linux.org/tinc-cvs/
Tinc site:    http://tinc.nl.linux.org/