forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1f1cd9b
committed
Avoid overwriting unchanged output files in genbki.pl and Gen_fmgrtab.pl.
If a particular output file already exists with the contents it shouldhave, leave it alone, so that its mod timestamp is not advanced.In builds using --enable-depend, this can avoid the need to recompile .cfiles whose included files didn't actually change. It's not clear whetherit saves much of anything for users of ccache; but the cost of doing thefile comparisons seems to be negligible, so we might as well do it.For developers using the MSVC toolchain, this will create a regression:msvc/Solution.pm will sometimes run genbki.pl or Gen_fmgrtab.plunnecessarily. I'll look into fixing that separately.Discussion:https://postgr.es/m/16925.1525376229@sss.pgh.pa.us1 parent9bf28f9 commit1f1cd9b
1 file changed
+20
-3
lines changedLines changed: 20 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 |
| |
20 | 23 |
| |
21 | 24 |
| |
| |||
336 | 339 |
| |
337 | 340 |
| |
338 | 341 |
| |
339 |
| - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
340 | 348 |
| |
341 |
| - | |
| 349 | + | |
342 | 350 |
| |
343 | 351 |
| |
344 | 352 |
| |
345 | 353 |
| |
346 | 354 |
| |
347 |
| - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
348 | 365 |
| |
349 | 366 |
| |
350 | 367 |
| |
|
0 commit comments
Comments
(0)