forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit938d797
committed
Avoid odd portability problem in TestLib.pm's slurp_file function.
For unclear reasons, this function doesn't always read the expected datain some old Perl versions. Rewriting it to avoid use of ARGV seems tododge the problem, and this version is clearer anyway if you ask me.In passing, also improve error message in adjacent append_to_file function.1 parentd5563d7 commit938d797
1 file changed
+7
-4
lines changedLines changed: 7 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
| 161 | + | |
161 | 162 |
| |
162 |
| - | |
163 |
| - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
164 | 167 |
| |
165 | 168 |
| |
166 | 169 |
| |
167 | 170 |
| |
168 | 171 |
| |
169 | 172 |
| |
170 | 173 |
| |
171 |
| - | |
172 |
| - | |
| 174 | + | |
| 175 | + | |
173 | 176 |
| |
174 | 177 |
| |
175 | 178 |
| |
|
0 commit comments
Comments
(0)