Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
0e8286d3
Commit
0e8286d3
authored
7 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
Fix perlcritic warnings
parent
bf2a691e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/unicode/generate-norm_test_table.pl
+2
-2
2 additions, 2 deletions
src/common/unicode/generate-norm_test_table.pl
src/common/unicode/generate-unicode_norm_table.pl
+3
-3
3 additions, 3 deletions
src/common/unicode/generate-unicode_norm_table.pl
with
5 additions
and
5 deletions
src/common/unicode/generate-norm_test_table.pl
+
2
−
2
View file @
0e8286d3
...
...
@@ -18,9 +18,9 @@ my $output_file = $ARGV[1];
my
$output_base
=
basename
(
$output_file
);
# Open the input and output files
open
my
$INPUT
,
$input_file
open
my
$INPUT
,
'
<
',
$input_file
or
die
"
Could not open input file
$input_file
: $!
";
open
my
$OUTPUT
,
"
>
$output_file
"
open
my
$OUTPUT
,
'
>
',
$output_file
or
die
"
Could not open output file
$output_file
: $!
\n
";
# Print header of output file.
...
...
This diff is collapsed.
Click to expand it.
src/common/unicode/generate-unicode_norm_table.pl
+
3
−
3
View file @
0e8286d3
...
...
@@ -16,7 +16,7 @@ my $FH;
# Read list of codes that should be excluded from re-composition.
my
@composition_exclusion_codes
=
();
open
(
$FH
,
"
CompositionExclusions.txt
")
open
(
$FH
,
'
<
',
"
CompositionExclusions.txt
")
or
die
"
Could not open CompositionExclusions.txt: $!.
";
while
(
my
$line
=
<
$FH
>
)
{
...
...
@@ -32,7 +32,7 @@ close $FH;
# and character decomposition mapping
my
@characters
=
();
my
%character_hash
=
();
open
(
$FH
,
"
UnicodeData.txt
")
or
die
"
Could not open UnicodeData.txt: $!.
";
open
(
$FH
,
'
<
',
"
UnicodeData.txt
")
or
die
"
Could not open UnicodeData.txt: $!.
";
while
(
my
$line
=
<
$FH
>
)
{
# Split the line wanted and get the fields needed:
...
...
@@ -63,7 +63,7 @@ close $FH;
my
$num_characters
=
scalar
@characters
;
# Start writing out the output file
open
my
$OUTPUT
,
"
>
$output_file
"
open
my
$OUTPUT
,
'
>
',
$output_file
or
die
"
Could not open output file
$output_file
: $!
\n
";
print
$OUTPUT
<<HEADER;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment