[sheepdog] [sheepdog/sheepdog] b5331b: script: fix "Unescaped left brace in regex is depr...

Hitoshi Mitake mitake.hitoshi at gmail.com
Thu May 18 06:07:29 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: b5331b870af58470903b975df90c6f78b3f42ce5
      https://github.com/sheepdog/sheepdog/commit/b5331b870af58470903b975df90c6f78b3f42ce5
  Author: Kazuhisa Hara <khara at sios.com>
  Date:   2017-05-13 (Sat, 13 May 2017)

  Changed paths:
    M script/checkpatch.pl

  Log Message:
  -----------
  script: fix "Unescaped left brace in regex is deprecated" warnings.

checkpatch uses perl regex which do not escape curly braces.
In Perl 5.22 or higher, unescaped left curly braces in a regex are
deprecated and will outputted a warning. and this will be an error
rather than a warning in future versions (maybe 5.26?).
This change provides suppress above problem.

See also: http://perldoc.perl.org/perl5220delta.html#New-Warnings

Signed-off-by: Kazuhisa Hara <khara at sios.com>


  Commit: adae48d92605363ff3820c104f4ee8a77d0a7f85
      https://github.com/sheepdog/sheepdog/commit/adae48d92605363ff3820c104f4ee8a77d0a7f85
  Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M script/checkpatch.pl

  Log Message:
  -----------
  Merge pull request #393 from kazuhisya/script-checkpatch-regex

script: fix "Unescaped left brace in regex is deprecated" warnings.


Compare: https://github.com/sheepdog/sheepdog/compare/403d0549b32c...adae48d92605


More information about the sheepdog mailing list