- Notifications
You must be signed in to change notification settings - Fork5
Commit8fa8f80
committed
I've recently written to pgsql-ports about a problem with PG7.0 on NT
(Subj: [PORTS] initdb problem on NT with 7.0). Since nobody helped me,I had to find out the reson. The difference between NT and Linux (forinstance) is that "open( path, O_RDWR );" opens a file in text mode. Sosometime less block can be read than required.I suggest a following patch. BTW the situation appeared before, seehba.c, pqcomm.c and others.Alexei Zakharov1 parent9606f36 commit8fa8f80
1 file changed
+21
-1
lines changedLines changed: 21 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
726 | 726 |
| |
727 | 727 |
| |
728 | 728 |
| |
| 729 | + | |
729 | 730 |
| |
| 731 | + | |
| 732 | + | |
| 733 | + | |
730 | 734 |
| |
731 | 735 |
| |
732 | 736 |
| |
| |||
767 | 771 |
| |
768 | 772 |
| |
769 | 773 |
| |
| 774 | + | |
770 | 775 |
| |
| 776 | + | |
| 777 | + | |
| 778 | + | |
771 | 779 |
| |
772 | 780 |
| |
773 | 781 |
| |
| |||
1083 | 1091 |
| |
1084 | 1092 |
| |
1085 | 1093 |
| |
| 1094 | + | |
1086 | 1095 |
| |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
1087 | 1099 |
| |
1088 | 1100 |
| |
1089 | 1101 |
| |
| |||
1145 | 1157 |
| |
1146 | 1158 |
| |
1147 | 1159 |
| |
| 1160 | + | |
1148 | 1161 |
| |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
1149 | 1165 |
| |
1150 | 1166 |
| |
1151 | 1167 |
| |
| |||
1249 | 1265 |
| |
1250 | 1266 |
| |
1251 | 1267 |
| |
| 1268 | + | |
1252 | 1269 |
| |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
1253 | 1273 |
| |
1254 | 1274 |
| |
1255 | 1275 |
| |
|
0 commit comments
Comments
(0)