aboutsummaryrefslogtreecommitdiffstats
path: root/util/iobuf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (handle_iconv_error): Turn diagnostics into warningsWerner Koch2004-12-201-1/+1
| | | | | | so that gpg does not return with failure. (native_to_utf8, utf8_to_native): Ditto.
* (fd_cache_strcmp): New. Use whenever we compareWerner Koch2004-12-061-3/+23
| | | | | | filenames for the fd_cache. This is needed because the backslash is an alias for a slash under W32. Reported by Tobias Winkler.
* 2004-11-03 Timo Schulz <[email protected]>Timo Schulz2004-11-031-15/+15
| | | | | | | | * strgutil.c (w32_strerror): New. * ttyio.c (init_ttyfp, tty_printf, do_get): Use it here. * iobuf.c (fd_cache_open, file_filter): Likewise. (iobuf_seek, translate_file_handle): Likewise.
* (iobuf_get_fd): Removed double check on directfp andWerner Koch2004-10-141-1/+1
| | | | | | cats it to FILEP becuase directfp is actually a void *. Notes by Stefan.
* * configure.ac: Actually name the option --disable-finger and notWerner Koch2004-10-131-0/+22
| | | | | | | | | | | http. Add option --enable-selinux-support. * logger.c (g10_log_error_f, g10_log_fatal_f, g10_log_info_f) (g10_log_debug_f, print_prefix_f): Removed. * iobuf.c (iobuf_is_pipe_filename): New. (iobuf_get_fd): New.
* * configure.ac: Actually name the option --disable-finger and notWerner Koch2004-10-131-0/+10
| | | | | | | | | | | | | | | | | 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.
* * iobuf.c (pop_filter): Make static.David Shaw2004-09-301-1/+1
| | | | | | | * dotlock.c (destroy_dotlock): New. Remove the handle from the list of locks. (release_dotlock): Don't act if we don't have any locks at all. From Werner on stable branch.
* * photoid.c: Include ttyio.h.Werner Koch2004-09-091-0/+37
| | | | | | | | | * parse-packet.c (skip_rest): Removed. Changed all callers to use the new iobuf_skip_reset. Orginal patch by Florian Weimer. * iobuf.c (iobuf_skip_rest): New. Orginal patch by Florian Weimer. Added new argument PARTIAL.
* * iobuf.c (block_filter): Remove the old gpg indeterminate length mode.David Shaw2004-03-041-84/+6
| | | | | (iobuf_set_block_mode, iobuf_in_block_mode): Removed as superfluous.
* * iobuf.c (block_filter): Properly handle a partial body stream that endsDavid Shaw2004-03-011-1/+8
| | | | | with a 5-byte length that happens to be zero.
* * g10u.c: Dead code. Remove.David Shaw2003-12-301-0/+1
| | | | | | | | * Makefile.am: Don't compile g10u.c. * iobuf.c (block_filter): Properly handle a partial body stream that ends with a 5-byte length.
* * dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c,David Shaw2003-08-281-10/+10
| | | | | | | | | ttyio.c, w32reg.c: s/__MINGW32__/_WIN32/ to help building on native Windows compilers. Requested by Brian Gladman. From Werner on stable branch. * http.c (connect_server): Oops - forgot to freeaddrinfo().
* * iobuf.c (check_special_filename): Replaced is isdigit by digitpDavid Shaw2003-07-101-1/+1
| | | | | | | | | to avoid passing negative values and potential locale problems. Problem noted by Christian Biere. * strgutil.c (strlwr,strcasecmp,strncasecmp): Make sure we don't pass a negative value. * miscutil.c (scan_isodatestr): Ditto.
* * argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c,David Shaw2003-05-241-73/+71
| | | | | | | | simple-gettext.c, errors.c, http.c, memory.c, secmem.c, ttyio.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* * iobuf.c (iobuf_flush): Only print debug info if debugging is on.David Shaw2002-12-261-1/+2
|
* * w32reg.c (read_w32_registry_string): Fixed expanding of the environmentDavid Shaw2002-11-061-0/+4
| | | | | | | | | | | | | | buffer; didn't worked at all. Reported by Thijmen Klok. From Werner on stable branch. * secmem.c (secmem_free, secmem_term): Use wipememory2() instead of memset() to overwrite secure memory * iobuf.c (direct_open): Handle mode 'b' if O_BINARY is available. From Werner on stable branch. * fileutil.c: Comment from stable branch.
* * iobuf.c (block_filter): Removed the assert, so that one can passWerner Koch2002-08-301-13/+9
| | | | | | the first character of a message and use the block filter for non partial length encoded packets.
* Update head to match stable 1.0David Shaw2002-06-291-168/+779
|
* See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner KochWerner Koch2000-09-181-3/+26
|
* See ChangeLog: Fri Jul 28 18:19:11 CEST 2000 Werner KochWerner Koch2000-07-281-2/+14
|
* See ChangeLog: Tue Jul 25 17:44:15 CEST 2000 Werner KochWerner Koch2000-07-251-2/+2
|
* See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch2000-07-141-6/+36
|
* See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch2000-01-271-19/+20
|
* See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch2000-01-241-46/+46
|
* See ChangeLog: Fri Sep 3 10:06:06 CEST 1999 Werner KochV0-9-11Werner Koch1999-09-031-1/+3
|
* See ChangeLog: Wed Aug 4 10:34:46 CEST 1999 Werner KochV0-9-10Werner Koch1999-08-041-2/+2
|
* See ChangeLog: Sat Jun 26 12:15:59 CEST 1999 Werner KochWerner Koch1999-06-261-9/+15
|
* See ChangeLog: Tue Jun 1 16:01:46 CEST 1999 Werner KochWerner Koch1999-06-011-8/+34
|
* See ChangeLog: Mon May 31 19:41:10 CEST 1999 Werner KochWerner Koch1999-05-311-32/+46
|
* See ChangeLog: Sat May 22 22:47:26 CEST 1999 Werner KochWerner Koch1999-05-221-0/+1
|
* See ChangeLog: Mon May 17 21:54:43 CEST 1999 Werner KochWerner Koch1999-05-171-4/+7
|
* See ChangeLog: Wed Feb 24 11:07:27 CET 1999 Werner KochWerner Koch1999-02-241-5/+5
|
* See ChangeLog: Fri Feb 19 15:49:15 CET 1999 Werner KochWerner Koch1999-02-191-2/+21
|
* See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1999-02-161-24/+24
|
* See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner KochWerner Koch1999-02-101-2/+6
|
* See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner KochWerner Koch1999-01-191-26/+19
|
* See ChangeLog: Wed Jan 13 14:10:15 CET 1999 Werner KochWerner Koch1999-01-131-0/+32
|
* See ChangeLog: Sat Jan 9 16:02:23 CET 1999 Werner KochWerner Koch1999-01-091-13/+47
|
* See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner KochWerner Koch1999-01-071-40/+112
|
* See ChangeLog: Tue Dec 29 14:41:47 CET 1998 Werner KochWerner Koch1998-12-291-10/+11
|
* See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1998-12-231-3/+3
|
* See ChangeLog: Wed Dec 9 13:41:06 CET 1998 Werner KochWerner Koch1998-12-091-1/+1
|
* Some experimental support for other random gatheresWerner Koch1998-11-251-1/+1
|
* Epxerimenta support for GDBM keyings.Werner Koch1998-10-211-2/+25
|
* Snapshot release 0.4.2V0-4-2Werner Koch1998-10-181-1/+1
|
* last local commitWerner Koch1998-10-161-11/+114
|
* *** empty log message ***Werner Koch1998-09-111-1/+24
|
* intermediate check inWerner Koch1998-08-051-0/+2
|
* fixed clearsig stuffWerner Koch1998-07-081-0/+2
|
* intermediate releaseWerner Koch1998-07-061-0/+10
|