Skip to content
Snippets Groups Projects
  • Simon McVittie's avatar
    d39dcb9c
    pv_wrap_append_preload: Factor out · d39dcb9c
    Simon McVittie authored
    
    This reduces the size of wrap.c, which is something we should be careful
    to keep under control. It also allows us to unit-test this code.
    
    Code changes made while factoring this out:
    
    * `flatpak_subsandbox` and `opt_remove_game_overlay` go via flags
    * `adverb_preload_argv` becomes `argv`
    * `return` instead of `continue` since pv_wrap_append_preload() is
      only one loop iteration
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    d39dcb9c
    History
    pv_wrap_append_preload: Factor out
    Simon McVittie authored
    
    This reduces the size of wrap.c, which is something we should be careful
    to keep under control. It also allows us to unit-test this code.
    
    Code changes made while factoring this out:
    
    * `flatpak_subsandbox` and `opt_remove_game_overlay` go via flags
    * `adverb_preload_argv` becomes `argv`
    * `return` instead of `continue` since pv_wrap_append_preload() is
      only one loop iteration
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>