Project

General

Profile

Bug #6095

usr/src/tools/scripts/cstyle.pl errors with perl 5.22

Added by Toomas Soome about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2015-08-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

updated perl in OI hipster reveals 2 issues with cstyle.pl;

1. deprecated use of unesacped '{'
2. redundant arguments for printf.

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/{{ <-- HERE /
Redundant argument in printf at /code/tsoome/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/cstyle line 194

History

#1

Updated by Toomas Soome about 4 years ago

  • Status changed from New to In Progress
#2

Updated by Electric Monk about 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 94385aa447e04fc3f80a94bb4639c652babf5664

commit  94385aa447e04fc3f80a94bb4639c652babf5664
Author: Toomas Soome <tsoome@me.com>
Date:   2015-08-07T17:28:14.000Z

    6095 usr/src/tools/scripts/cstyle.pl errors with perl 5.22
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Marcel Telka <marcel.telka@nexenta.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Reviewed by: Richard PALO <richard@netbsd.org>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF