Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • scripts
  • kernel-doc
Find file BlameHistoryPermalink
  • Mauro Carvalho Chehab's avatar
    kernel-doc: Make it compatible with Perl versions below 5.12 again · 1ef06233
    Mauro Carvalho Chehab authored Nov 17, 2015
    Changeset 4d732701('scripts/kernel-doc: Replacing highlights
    hash by an array') broke compatibility of the kernel-doc script with
    older versions of perl by using "keys ARRAY" syntax with is available
    only on Perl 5.12 or newer, according with:
    	http://perldoc.perl.org/functions/keys.html
    
    
    
    Restore backward compatibility by replacing "foreach my $k (keys ARRAY)"
    by a C-like variant: "for (my $k = 0; $k < !ARRAY; $k++)"
    
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    1ef06233
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7