mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
image file system feature and filetype for RISC OS
This commit is contained in:
parent
a4d654c548
commit
4dcd984b28
8 changed files with 64 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
2002-06-20 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* g10.c [__riscos__]: Added image file system feature.
|
||||
|
||||
* gpgv.c [__riscos__]: Added image file system feature.
|
||||
|
||||
* photoid.c (show_photos) [__riscos__]: Set RISC OS filetype of
|
||||
photo id according to MIME type.
|
||||
|
||||
2002-06-19 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* hkp.c (parse_hkp_index): Don't leak memory when failing out of a
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#endif
|
||||
#ifdef __riscos__
|
||||
#include <unixlib/local.h>
|
||||
#include <unixlib/features.h>
|
||||
#endif /* __riscos__ */
|
||||
|
||||
#define INCLUDED_BY_MAIN_MODULE 1
|
||||
|
@ -875,6 +876,7 @@ main( int argc, char **argv )
|
|||
#ifdef __riscos__
|
||||
/* set global RISC OS specific properties */
|
||||
__riscosify_control = __RISCOSIFY_NO_PROCESS;
|
||||
__feature_imagefs_is_file = 1;
|
||||
opt.lock_once = 1;
|
||||
#endif /* __riscos__ */
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#endif
|
||||
#ifdef __riscos__
|
||||
#include <unixlib/local.h>
|
||||
#include <unixlib/features.h>
|
||||
#endif /* __riscos__ */
|
||||
|
||||
#define INCLUDED_BY_MAIN_MODULE 1
|
||||
|
@ -145,6 +146,7 @@ main( int argc, char **argv )
|
|||
unsigned configlineno;
|
||||
#ifdef __riscos__
|
||||
__riscosify_control = __RISCOSIFY_NO_PROCESS;
|
||||
__feature_imagefs_is_file = 1;
|
||||
#endif /* __riscos__ */
|
||||
|
||||
log_set_name("gpgv");
|
||||
|
|
|
@ -273,6 +273,11 @@ void show_photos(const struct user_attribute *attrs,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
#ifdef __riscos__
|
||||
riscos_set_filetype(spawn->tempfile_in,
|
||||
image_type_to_string(args.imagetype,2));
|
||||
#endif
|
||||
|
||||
m_free(name);
|
||||
|
||||
fwrite(&attrs[i].data[offset],attrs[i].len-offset,1,spawn->tochild);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue