Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0150616

Browse files
committed
(Blind) fix Perl splitting of strings at newlines
I forgot that Windows represents newlines as \r\n, so splitting a stringat /\s/ creates additional empty strings. Let's rewrite that as /\s+/to see if that avoids those. (There's precedent for using that patternon Windows in other scripts.)Previously:91bdf49,8ed428d,650b967.Per buildfarm, via Tom Lane.Discussion:https://postgr.es/m/3144460.1615860259@sss.pgh.pa.us
1 parent15639d5 commit0150616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
my ($out,$err) = run_command(['libpq_pipeline','tests']);
1818
die"oops:$err"unless$erreq'';
19-
my@tests =split(/\s/,$out);
19+
my@tests =split(/\s+/,$out);
2020

2121
formy$testname (@tests)
2222
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp