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,11 @@
--- strobe.c.orig Sun Mar 21 06:49:27 1999
+++ strobe.c Tue Jan 20 03:27:42 2015
@@ -1297,7 +1297,7 @@ loaddescs ()
exit (1);
}
port_descs=(struct port_desc_s **) Smalloc(sizeof(struct port_descs_s *) * 65536);
- memset(port_descs, 0, 65536);
+ memset(port_descs, 0, sizeof(struct port_descs_s *) * 65536);
while (fgets (lbuf, sizeof (lbuf), fh))
{
char *p;