mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
944a6bf459
Noticed on: bento
19 lines
353 B
Plaintext
19 lines
353 B
Plaintext
--- main.cxx.orig Fri Feb 26 02:17:54 1999
|
|
+++ main.cxx Tue Nov 19 05:27:27 2002
|
|
@@ -4,6 +4,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
#if !defined (WIN32)
|
|
#include <strings.h>
|
|
#endif
|
|
@@ -779,7 +780,6 @@
|
|
DIR *dp;
|
|
if ((dp = opendir (dir)) == NULL)
|
|
{
|
|
- closedir (dp);
|
|
return 0;
|
|
}
|
|
closedir (dp);
|