SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,24 @@
--- src/iodine.c.orig Mon Jun 16 13:28:43 2014
+++ src/iodine.c Thu Jun 19 15:16:45 2014
@@ -155,11 +155,10 @@ main(int argc, char **argv)
#ifndef WINDOWS32
pw = NULL;
#endif
- username = NULL;
+ username = "_iodine";
memset(password, 0, 33);
- srand(time(NULL));
foreground = 0;
- newroot = NULL;
+ newroot = "/var/empty";
context = NULL;
device = NULL;
pidfile = NULL;
@@ -177,7 +176,6 @@ main(int argc, char **argv)
WSAStartup(req_version, &wsa_data);
#endif
- srand((unsigned) time(NULL));
client_init();
#if !defined(BSD) && !defined(__GLIBC__)