updated RISC OS stuff

This commit is contained in:
Stefan Bellon 2002-09-12 16:25:36 +00:00
parent da2cb3910d
commit 3782e1595e
7 changed files with 32 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-09-12 Stefan Bellon <sbellon@sbellon.de>
* rand-internal.h (rndriscos_gather_random): Added prototype.
2002-08-30 Werner Koch <wk@gnupg.org>
* random.c: Automagically detect the entropy gatherer when

View File

@ -31,6 +31,8 @@ int rndw32_gather_random (void (*add)(const void*, size_t, int),
int requester, size_t length, int level);
int rndw32_gather_random_fast (void (*add)(const void*, size_t, int),
int requester );
int rndriscos_gather_random (void (*add)(const void*, size_t, int),
int requester, size_t length, int level);
#endif /*G10_RAND_INTERNAL_H*/

View File

@ -1,3 +1,7 @@
2002-09-12 Stefan Bellon <sbellon@sbellon.de>
* gpgkeys_hkp.c: Tidied up RISC OS initializations.
2002-09-12 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (main): Remove warning - this is no longer

View File

@ -46,6 +46,10 @@ struct keylist
struct keylist *next;
};
#ifdef __riscos__
RISCOS_GLOBAL_STATICS("HKP Keyfetcher Heap")
#endif /* __riscos__ */
static int
urlencode_filter( void *opaque, int control,
IOBUF a, byte *buf, size_t *ret_len)
@ -639,6 +643,10 @@ int main(int argc,char *argv[])
int failed=0;
struct keylist *keylist=NULL,*keyptr=NULL;
#ifdef __riscos__
riscos_global_defaults();
#endif
console=stderr;
while((arg=getopt(argc,argv,"ho:"))!=-1)

View File

@ -1,3 +1,11 @@
2002-09-12 Stefan Bellon <sbellon@sbellon.de>
* fileutil.c (make_filename): Removed variable for RISC OS to
avoid compiler warning.
* secmem.c: Removed static variable for RISC OS to avoid
compiler warning.
2002-09-11 Werner Koch <wk@gnupg.org>
* simple-gettext.c: Disable charset mappings. We do it now when

View File

@ -99,7 +99,11 @@ make_filename( const char *first_part, ... )
va_list arg_ptr ;
size_t n;
const char *s;
#ifndef __riscos__
char *name, *home, *p;
#else
char *name, *p;
#endif
va_start( arg_ptr, first_part ) ;
n = strlen(first_part)+1;

View File

@ -66,7 +66,9 @@ struct memblock_struct {
static void *pool;
static volatile int pool_okay; /* may be checked in an atexit function */
#ifdef HAVE_MMAP
static volatile int pool_is_mmapped;
#endif
static size_t poolsize; /* allocated length */
static size_t poollen; /* used length */
static MEMBLOCK *unused_blocks;