From 620ac79ebf8bf6475ed3505b603a4d85a563c314 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 13 Oct 2004 09:59:46 +0000 Subject: * configure.ac: Actually name the option --disable-finger and not http. * openfile.c (overwrite_filep, make_outfile_name, open_outfile) (open_sigfile): Use iobuf_is_pipe_filename to check for pipes so that special filesnames are taken into account. This is bug 327. * tdbdump.c (import_ownertrust): Ditto. * sign.c (write_plaintext_packet): Ditto. * progress.c (handle_progress): Ditto. * plaintext.c (handle_plaintext): Ditto. * encode.c (encode_simple, encode_crypt): Ditto. * iobuf.c (iobuf_is_pipe_filename): New. * fileutil.c (is_file_compressed): Use it here. --- include/iobuf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/iobuf.h') diff --git a/include/iobuf.h b/include/iobuf.h index 413650af8..348b9b32c 100644 --- a/include/iobuf.h +++ b/include/iobuf.h @@ -80,6 +80,7 @@ struct iobuf_struct { EXTERN_UNLESS_MAIN_MODULE int iobuf_debug_mode; void iobuf_enable_special_filenames ( int yes ); +int iobuf_is_pipe_filename (const char *fname); IOBUF iobuf_alloc(int use, size_t bufsize); IOBUF iobuf_temp(void); IOBUF iobuf_temp_with_content( const char *buffer, size_t length ); -- cgit v1.2.3