diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2001-09-24 18:35:12 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2001-09-24 18:35:12 +0000 |
commit | 25d0dd9c11d1d466f5c05c489070b3fd905d6c3d (patch) | |
tree | 388c0e6ec881d8a2d3871e769b53131db0aef359 /sys-libs/db/files | |
parent | I had the symlinks wrong, hee haw. (diff) | |
download | gentoo-2-25d0dd9c11d1d466f5c05c489070b3fd905d6c3d.tar.gz gentoo-2-25d0dd9c11d1d466f5c05c489070b3fd905d6c3d.tar.bz2 gentoo-2-25d0dd9c11d1d466f5c05c489070b3fd905d6c3d.zip |
added 3.2.9
Diffstat (limited to 'sys-libs/db/files')
-rw-r--r-- | sys-libs/db/files/digest-db-3.2.9 | 1 | ||||
-rw-r--r-- | sys-libs/db/files/patch.3.2.9.1 | 104 | ||||
-rw-r--r-- | sys-libs/db/files/patch.3.2.9.2 | 21 |
3 files changed, 126 insertions, 0 deletions
diff --git a/sys-libs/db/files/digest-db-3.2.9 b/sys-libs/db/files/digest-db-3.2.9 new file mode 100644 index 000000000000..98304efe54dc --- /dev/null +++ b/sys-libs/db/files/digest-db-3.2.9 @@ -0,0 +1 @@ +MD5 4df5c7051b11411e0a970f6c91613942 db-3.2.9.tar.gz diff --git a/sys-libs/db/files/patch.3.2.9.1 b/sys-libs/db/files/patch.3.2.9.1 new file mode 100644 index 000000000000..8d70c6e51917 --- /dev/null +++ b/sys-libs/db/files/patch.3.2.9.1 @@ -0,0 +1,104 @@ +*** include/log.h.orig 2001/01/25 18:22:51 11.20 +--- include/log.h 2001/02/06 05:02:28 11.21 +*************** +*** 198,203 **** +--- 198,204 ---- + */ + typedef enum { + DB_LV_INCOMPLETE, ++ DB_LV_NONEXISTENT, + DB_LV_NORMAL, + DB_LV_OLD_READABLE, + DB_LV_OLD_UNREADABLE +*** log/log.c.orig 2001/01/25 18:22:55 11.43 +--- log/log.c 2001/02/06 05:02:28 11.44 +*************** +*** 309,321 **** + int find_first, *valp; + logfile_validity *statusp; + { +! logfile_validity clv_status, status; + u_int32_t clv, logval; + int cnt, fcnt, ret; + const char *dir; + char **names, *p, *q, savech; + +! clv_status = status = DB_LV_NORMAL; + + /* Return a value of 0 as the log file number on failure. */ + *valp = 0; +--- 309,321 ---- + int find_first, *valp; + logfile_validity *statusp; + { +! logfile_validity logval_status, status; + u_int32_t clv, logval; + int cnt, fcnt, ret; + const char *dir; + char **names, *p, *q, savech; + +! logval_status = status = DB_LV_NONEXISTENT; + + /* Return a value of 0 as the log file number on failure. */ + *valp = 0; +*************** +*** 385,394 **** + * as a valid log file. + */ + break; + case DB_LV_NORMAL: + case DB_LV_OLD_READABLE: + logval = clv; +! clv_status = status; + break; + case DB_LV_OLD_UNREADABLE: + /* +--- 385,398 ---- + * as a valid log file. + */ + break; ++ case DB_LV_NONEXISTENT: ++ /* Should never happen. */ ++ DB_ASSERT(0); ++ break; + case DB_LV_NORMAL: + case DB_LV_OLD_READABLE: + logval = clv; +! logval_status = status; + break; + case DB_LV_OLD_UNREADABLE: + /* +*************** +*** 410,416 **** + */ + if (!find_first) { + logval = clv; +! clv_status = status; + } + break; + } +--- 414,420 ---- + */ + if (!find_first) { + logval = clv; +! logval_status = status; + } + break; + } +*************** +*** 420,426 **** + + err: __os_dirfree(names, fcnt); + __os_freestr(p); +! *statusp = clv_status; + + return (ret); + } +--- 424,430 ---- + + err: __os_dirfree(names, fcnt); + __os_freestr(p); +! *statusp = logval_status; + + return (ret); + } diff --git a/sys-libs/db/files/patch.3.2.9.2 b/sys-libs/db/files/patch.3.2.9.2 new file mode 100644 index 000000000000..4092cda52eac --- /dev/null +++ b/sys-libs/db/files/patch.3.2.9.2 @@ -0,0 +1,21 @@ +*** log/log_rec.c.orig 2001/01/25 18:22:56 11.49 +--- log/log_rec.c 2001/02/07 22:17:46 +*************** +*** 404,410 **** + TAILQ_INIT(&logp->dbentry[i].dblist); + else + TAILQ_REINSERT_HEAD( +! &logp->dbentry[i].dblist, dbp, links); + } + + /* Initialize the new entries. */ +--- 404,410 ---- + TAILQ_INIT(&logp->dbentry[i].dblist); + else + TAILQ_REINSERT_HEAD( +! &logp->dbentry[i].dblist, dbtmp, links); + } + + /* Initialize the new entries. */ + + |