Skip to content
Snippets Groups Projects
Commit 7a416408 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now ignores CVS-directory

Rev: lib/modules/Sql.pmod/sql.pike:1.3
parent 6f615ecf
No related branches found
No related tags found
No related merge requests found
/*
* $Id: sql.pike,v 1.2 1997/03/28 12:32:36 grubba Exp $
* $Id: sql.pike,v 1.3 1997/03/30 14:29:56 grubba Exp $
*
* Implements the generic parts of the SQL-interface
*
......@@ -28,8 +28,9 @@ void create(void|string|object host, void|string db,
return;
} else {
foreach(get_dir(Sql->dirname), string program_name) {
if (sizeof(program_name / "_result") == 1 &&
(program_name != "sql.pike")) {
if ((sizeof(program_name / "_result") == 1) &&
(program_name != "sql.pike") &&
(program_name != "CVS")) {
/* Don't call ourselves... */
array(mixed) err;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment