1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

cleaned up RISC OS code and removed lots of unnecessary stuff

This commit is contained in:
Stefan Bellon 2003-12-28 14:12:16 +00:00
parent 0f346cf8c1
commit 02ae08d6ef
23 changed files with 197 additions and 156 deletions

View file

@ -1,3 +1,8 @@
2003-12-28 Stefan Bellon <sbellon@sbellon.de>
* gpgsplit.c [__riscos__]: Removal of unnecessary #ifdef
__riscos__ sections.
2003-12-06 David Shaw <dshaw@jabberwocky.com>
* gpgsplit.c (write_part): Split off decompression code.

View file

@ -37,10 +37,9 @@
#ifdef HAVE_BZIP2
#include <bzlib.h>
#endif /* HAVE_BZIP2 */
#ifdef __riscos__
#if defined(__riscos__) && defined(USE_ZLIBRISCOS)
# include "zlib-riscos.h"
# include <unixlib/local.h>
#endif /* __riscos__ */
#endif
#define INCLUDED_BY_MAIN_MODULE 1
#include "../g10/packet.h"
@ -114,10 +113,6 @@ main( int argc, char **argv )
{
ARGPARSE_ARGS pargs;
#ifdef __riscos__
/* set global RISC OS specific properties */
__riscosify_control = __RISCOSIFY_NO_PROCESS;
#endif /* __riscos__ */
#ifdef HAVE_DOSISH_SYSTEM
setmode( fileno(stdin), O_BINARY );
setmode( fileno(stdout), O_BINARY );
@ -533,7 +528,7 @@ write_part ( const char *fname, FILE *fpin, unsigned long pktlen,
unsigned char *p;
const char *outname = create_filename (pkttype);
#ifdef __riscos__
#if defined(__riscos__) && defined(USE_ZLIBRISCOS)
static int initialized = 0;
if (!initialized)