From e2aedd8abd3ca3fb06e9a7ca9ccb01278ff31386 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sun, 27 Jul 2014 15:27:04 +0000 Subject: Start cleaning up some of the uselessly ambigious patches named patch-xy, and giving them proper names. --- archivers/hpack.non-usa.only/files/patch-cli.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 archivers/hpack.non-usa.only/files/patch-cli.c (limited to 'archivers/hpack.non-usa.only/files/patch-cli.c') diff --git a/archivers/hpack.non-usa.only/files/patch-cli.c b/archivers/hpack.non-usa.only/files/patch-cli.c new file mode 100644 index 000000000000..92f804937070 --- /dev/null +++ b/archivers/hpack.non-usa.only/files/patch-cli.c @@ -0,0 +1,23 @@ +--- cli.c.orig Sat Sep 4 22:23:48 1993 ++++ cli.c Tue Dec 28 20:01:38 1999 +@@ -724,12 +724,18 @@ + + void doConfigFile( void ) + { +- char *configFileName; ++ char *configFileName, *s; + FD configFileFD; + WORD oldFlags = flags; + ++ if (( s = getenv( HPACKPATH )) == NULL) ++#ifdef __UNIX__ ++ s = "%%PREFIX%%/etc:%%PREFIX%%/lib/hpack"; ++#else ++ ; ++#endif + /* Build path to config file and try and process it */ +- configFileName = getFirstKeyPath( getenv( HPACKPATH ), CONFIGFILENAME ); ++ configFileName = getFirstKeyPath( s, CONFIGFILENAME ); + while( configFileName != NULL ) + { + /* Try and read the seed from the seedfile */ -- cgit v1.2.3