- Notifications
You must be signed in to change notification settings - Fork28
Commitc1167a0
committed
Add 'temporary file' facility to fd.c, and arrange for temp
files to be closed automatically at transaction abort or commit, shouldthey still be open. Also close any still-open stdio files allocated withAllocateFile at abort/commit. This should eliminate problems with leakageof file descriptors after an error. Also, put in some primitive buffered-IOsupport so that psort.c can use virtual files without severe performancepenalties.1 parentb0f1880 commitc1167a0
3 files changed
+529
-195
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
| 151 | + | |
151 | 152 |
| |
152 | 153 |
| |
153 | 154 |
| |
| |||
920 | 921 |
| |
921 | 922 |
| |
922 | 923 |
| |
| 924 | + | |
923 | 925 |
| |
924 | 926 |
| |
925 | 927 |
| |
| |||
990 | 992 |
| |
991 | 993 |
| |
992 | 994 |
| |
| 995 | + | |
993 | 996 |
| |
994 | 997 |
| |
995 | 998 |
| |
|
0 commit comments
Comments
(0)