2001-05-29
2001-05-29 21:52:58 by Martin Nilsson <mani@lysator.liu.se>
-
1138fda03d03ca5c5233ebc88b4cd091c55383e2
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: 5.2
create_unique_id should always be present
Rev: server/base_server/roxen.pike:1.669
4:
// Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.
// ABS and suicide systems contributed freely by Francesco Chemolli
- constant cvs_version="$Id: roxen.pike,v 1.668 2001/05/17 22:33:26 nilsson Exp $";
+ constant cvs_version="$Id: roxen.pike,v 1.669 2001/05/29 21:52:58 nilsson Exp $";
// The argument cache. Used by the image cache.
ArgCache argcache;
1898: Inside #if ROXEN_COMPAT < 2.2
current_user_id_file_last_mod = current_user_id_file->stat()[2];
return current_user_id_number;
}
+ #endif // ROXEN_COMPAT < 2.2
private int unique_id_counter;
string create_unique_id()
1906: Inside #if ROXEN_COMPAT < 2.2
md5->update(query("server_salt") + (unique_id_counter++) + time(1));
return Crypto.string_to_hex(md5->digest());
}
- #endif
+
#ifndef __NT__
static int abs_started;