forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf80395c
committed
Fix TAP tests and MSVC scripts for pathnames with spaces.
Change assorted places in our Perl code that did things likesystem("prog $path/file");to do it more likesystem('prog', "$path/file");which is safe against spaces and other special characters in the pathvariable. The latter was already the prevailing style, but a few bitsof code hadn't gotten this memo. Back-patch to 9.4 as relevant.Michael Paquier, Kyotaro HoriguchiDiscussion: <20160704.160213.111134711.horiguchi.kyotaro@lab.ntt.co.jp>1 parentfead794 commitf80395c
2 files changed
+35
-17
lines changedLines changed: 22 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
381 | 381 |
| |
382 | 382 |
| |
383 | 383 |
| |
384 |
| - | |
| 384 | + | |
385 | 385 |
| |
386 |
| - | |
| 386 | + | |
387 | 387 |
| |
388 |
| - | |
389 |
| - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
390 | 399 |
| |
391 | 400 |
| |
392 | 401 |
| |
| |||
633 | 642 |
| |
634 | 643 |
| |
635 | 644 |
| |
636 |
| - | |
637 |
| - | |
638 |
| - | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
639 | 649 |
| |
640 | 650 |
| |
641 | 651 |
| |
| |||
688 | 698 |
| |
689 | 699 |
| |
690 | 700 |
| |
691 |
| - | |
692 |
| - | |
693 |
| - | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
694 | 706 |
| |
695 | 707 |
| |
696 | 708 |
| |
|
Lines changed: 13 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
400 | 400 |
| |
401 | 401 |
| |
402 | 402 |
| |
403 |
| - | |
| 403 | + | |
| 404 | + | |
404 | 405 |
| |
405 | 406 |
| |
406 | 407 |
| |
407 | 408 |
| |
408 | 409 |
| |
409 | 410 |
| |
410 |
| - | |
| 411 | + | |
| 412 | + | |
411 | 413 |
| |
412 | 414 |
| |
413 | 415 |
| |
414 | 416 |
| |
415 | 417 |
| |
416 | 418 |
| |
417 |
| - | |
418 |
| - | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
419 | 422 |
| |
420 |
| - | |
| 423 | + | |
| 424 | + | |
421 | 425 |
| |
422 | 426 |
| |
423 | 427 |
| |
424 |
| - | |
| 428 | + | |
| 429 | + | |
425 | 430 |
| |
426 | 431 |
| |
427 | 432 |
| |
428 | 433 |
| |
429 | 434 |
| |
430 | 435 |
| |
431 |
| - | |
| 436 | + | |
| 437 | + | |
432 | 438 |
| |
433 | 439 |
| |
434 | 440 |
| |
|
0 commit comments
Comments
(0)