summaryrefslogtreecommitdiff
path: root/archivers/hpack/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/hpack/patches/patch-ac')
-rw-r--r--archivers/hpack/patches/patch-ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/archivers/hpack/patches/patch-ac b/archivers/hpack/patches/patch-ac
new file mode 100644
index 00000000000..d0444f3bce3
--- /dev/null
+++ b/archivers/hpack/patches/patch-ac
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/05/23 22:41:21 tv Exp $
+
+--- keycvt/keycvt.c.orig Fri Aug 13 16:06:28 1993
++++ keycvt/keycvt.c Sun May 23 17:36:39 1999
+@@ -1034,13 +1034,17 @@
+ tempFileName[ pathLen++ ] = '/';
+ strcat( tempFileName, "randseed.bin" );
+ #else
+- if( pathLen && ( ch = tempFileName[ pathLen - 1 ] ) != '\\' && ch != '/' )
++ if( pathLen && ( ch = tempFileName[ pathLen - 1 ] ) != '\\' && ch != '/' ) {
+ /* Add directory seperator if necessary */
+ tempFileName[ pathLen++ ] = '/';
++ tempFileName[ pathLen ] = '\0';
++ }
+ strcat( tempFileName, "randseed.bin" );
+ #endif /* __ARC__ */
+- if( ( inFilePtr = fopen( tempFileName, "rb" ) ) == NULL )
++ if( ( inFilePtr = fopen( tempFileName, "rb" ) ) == NULL ) {
++ perror( tempFileName );
+ puts( "Cannot find PGP seed file, HPACK seed file not created" );
++ }
+ else
+ {
+ /* See if the output file exists */