diff options
author | jbj <devnull@localhost> | 2001-12-06 18:34:49 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-12-06 18:34:49 +0000 |
commit | 5a0508d51fcf84412a8f6a88a09d6dd63a16e47e (patch) | |
tree | cf3782de354fb3b37295f75f465c7574110fdb52 /rpmio | |
parent | d7e49147a28f795312b330cbfe68e60798212a93 (diff) | |
download | librpm-tizen-5a0508d51fcf84412a8f6a88a09d6dd63a16e47e.tar.gz librpm-tizen-5a0508d51fcf84412a8f6a88a09d6dd63a16e47e.tar.bz2 librpm-tizen-5a0508d51fcf84412a8f6a88a09d6dd63a16e47e.zip |
- 3 madvise calls and a 16Mb mmapped buffer == ~5% install speedup. Wow.
- use db-4.0.14 final internally.
CVS patchset: 5215
CVS date: 2001/12/06 18:34:49
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/rpmio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c index 7e1bdd66a..837c8016b 100644 --- a/rpmio/rpmio.c +++ b/rpmio/rpmio.c @@ -2744,16 +2744,16 @@ DBGIO(fd, (stderr, "==> Fclose(%p) %s\n", (fd ? fd : NULL), fdbg(fd))); /*@=usereleased@*/ } -/* +/** * Convert stdio fmode to open(2) mode, filtering out zlib/bzlib flags. * returns stdio[0] = '\0' on error. * - * gzopen: [0-9] is compession level - * gzopen: 'f' is filtered (Z_FILTERED) - * gzopen: 'h' is Huffman encoding (Z_HUFFMAN_ONLY) - * bzopen: [1-9] is block size (modulo 100K) - * bzopen: 's' is smallmode - * HACK: '.' terminates, rest is type of I/O + * - gzopen: [0-9] is compession level + * - gzopen: 'f' is filtered (Z_FILTERED) + * - gzopen: 'h' is Huffman encoding (Z_HUFFMAN_ONLY) + * - bzopen: [1-9] is block size (modulo 100K) + * - bzopen: 's' is smallmode + * - HACK: '.' terminates, rest is type of I/O */ static inline void cvtfmode (const char *m, /*@out@*/ char *stdio, size_t nstdio, |