1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

added RISC OS module loading support

This commit is contained in:
Stefan Bellon 2002-10-31 16:58:47 +00:00
parent 20c99d180a
commit 7dac918b6d
19 changed files with 395 additions and 133 deletions

View file

@ -1,3 +1,8 @@
2002-10-31 Stefan Bellon <sbellon@sbellon.de>
* gpgsplit.c (write_part) [__riscos__]: Use riscos_load_module()
to load ZLib module.
2002-10-23 Werner Koch <wk@gnupg.org>
* gpgsplit.c: New options --secret-to-public and --no-split.

View file

@ -35,6 +35,7 @@
#endif
#include <zlib.h>
#ifdef __riscos__
# include "zlib-riscos.h"
# include <unixlib/local.h>
#endif /* __riscos__ */
@ -376,6 +377,12 @@ write_part ( const char *fname, FILE *fpin, unsigned long pktlen,
unsigned char *p;
const char *outname = create_filename (pkttype);
#ifdef __riscos__
static int initialized = 0;
if (!initialized)
initialized = riscos_load_module("ZLib", zlib_path, 1);
#endif
if (opt_no_split)
fpout = stdout;
else