Deleted Added
full compact
tcreat3.c (1574) tcreat3.c (8870)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Margo Seltzer.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 83 unchanged lines hidden (view full) ---

92
93/*
94 * enter key/data pair into the table
95 */
96 if ((dbp->put)(dbp, &key, &item, R_NOOVERWRITE) != NULL) {
97 fprintf(stderr, "cannot enter: key %s\n",
98 item.data);
99 exit(1);
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Margo Seltzer.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 83 unchanged lines hidden (view full) ---

92
93/*
94 * enter key/data pair into the table
95 */
96 if ((dbp->put)(dbp, &key, &item, R_NOOVERWRITE) != NULL) {
97 fprintf(stderr, "cannot enter: key %s\n",
98 item.data);
99 exit(1);
100 }
100 }
101 }
102
103 (dbp->close)(dbp);
104 exit(0);
105}
101 }
102
103 (dbp->close)(dbp);
104 exit(0);
105}