Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 393
    • Issues 393
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !188

Better handling of sac2c input/output names (e.g. escape spaces), resolve #2287

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sven-Bodo Scholz requested to merge sbs/sac2c:hotfix-2287 into develop Mar 04, 2022
  • Overview 5
  • Commits 5
  • Changes 14

Passing file names and directory paths that contain spaces can cause the compiler to fail (usually on calls to CCP/CC/LINKER). Additionally, names with escape characters (e.g. \n or \$) would also cause compilation to fail.

With this MR we introduce mechanisms which:

  • set down a hard requirement on what characters we allow in names/paths (e.g. a-zA-Z0-9.~-_/)
  • detect and escape all space characters within the given names/paths

This MR resolves #2287 (closed).

Edited Mar 12, 2022 by Hans-Nikolai Viessmann
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: hotfix-2287