- From: Bertrand Lupart <bertrand AT cvs.caudiumforge.net>
- To: caudium-commits AT caudium.net
- Subject: CVS: caudium/server/modules/auth auth_userdb.pike,1.15,1.16
- Date: Thu, 22 Jul 2004 10:03:19 +0200
Update of /cvs/caudium/caudium/server/modules/auth
In directory cvs.caudiumforge.net:/tmp/cvs-serv31185
Modified Files:
auth_userdb.pike
Log Message:
Looks like a typo on a QWERTY keyboard to me.
Index: auth_userdb.pike
===================================================================
RCS file: /cvs/caudium/caudium/server/modules/auth/auth_userdb.pike,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- auth_userdb.pike 31 May 2004 04:14:40 -0000 1.15
+++ auth_userdb.pike 22 Jul 2004 08:03:17 -0000 1.16
@@ -33,10 +33,10 @@
//! inherits: module
//! inherits: caudiumlib
//! type: MODULE_PROVIDER
-//! cvs_version: $Id: auth_userdb.pike,v 1.15 2004/05/31 04:14:40 jnt Exp $
+//! cvs_version: $Id: auth_userdb.pike,v 1.16 2004/07/22 08:03:17 bertrand
Exp $
//
-constant cvs_version = "$Id: auth_userdb.pike,v 1.15 2004/05/31 04:14:40 jnt
Exp $";
+constant cvs_version = "$Id: auth_userdb.pike,v 1.16 2004/07/22 08:03:17
bertrand Exp $";
constant thread_safe=0;
#include <module.h>
@@ -398,14 +398,14 @@
break;
case "getpwent":
-#if constant(System.getgrwnt)
+#if constant(System.getgrent)
// This could be a _lot_ faster.
tmp2 = ({ });
#if constant(System.geteuid)
if(System.getuid() != System.geteuid()) privs = Privs("Reading group
database");
#endif
System.setgrent();
- while(tmp = System.getgrwnt())
+ while(tmp = System.getgrent())
{
tmp2 += ({
Array.map(tmp, lambda(mixed s) { if(arrayp(s)) return s*",";
else return (string)s; }) * ":"
- CVS: caudium/server/modules/auth auth_userdb.pike,1.15,1.16, Bertrand Lupart
Archive powered by MhonArc 2.6.10.