aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog9
-rw-r--r--g10/g10.c2
-rw-r--r--g10/gpgv.c2
-rw-r--r--g10/photoid.c5
4 files changed, 18 insertions, 0 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index ac1c06a9b..f5775660b 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,12 @@
+2002-06-20 Stefan Bellon <[email protected]>
+
+ * 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 <[email protected]>
* hkp.c (parse_hkp_index): Don't leak memory when failing out of a
diff --git a/g10/g10.c b/g10/g10.c
index f56cb619a..6a897bceb 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -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__ */
diff --git a/g10/gpgv.c b/g10/gpgv.c
index de4b1ba3b..ac7b47887 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -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");
diff --git a/g10/photoid.c b/g10/photoid.c
index 5fd61fe75..13e4cd1c7 100644
--- a/g10/photoid.c
+++ b/g10/photoid.c
@@ -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);