Skip to content
Snippets Groups Projects
  1. Jan 11, 2023
  2. Jan 10, 2023
  3. Jan 07, 2023
    • Guillem Jover's avatar
      Dpkg::BuildFlags: Fix strip method to always work with duplicates · 5f6e45fb
      Guillem Jover authored
      The regex was not correctly matching at the beginning of the line with
      leading spaces, which could be left by a previous replacement from
      the same s/// operator. Instead switch to split the flag value and
      filter based on a hash, which means we do not need to care about such
      space issues anymore.
      
      This change should not change the semantics for space separated options
      in the flags, as the code was already splitting the passed values on
      spaces, and then remapping on the entire flag value.
      
      Improve strip unit tests to cover all these cases.
      
      Closes: #1028044
      5f6e45fb
  4. Jan 06, 2023
  5. Jan 05, 2023
  6. Jan 04, 2023
  7. Jan 03, 2023
  8. Jan 02, 2023
Loading