Skip to content
Snippets Groups Projects
  • Ian McInerney's avatar
    3bd3ca05
    libgfortran: Fix compilation of gf_vsnprintf · 3bd3ca05
    Ian McInerney authored
    
    The fallback function (gf_vsnprintf) to provide a vsnprintf function
    if the system library doesn't have one would not compile due to the
    variable name for the string's destination buffer not being updated
    after the refactor in 2018 in edaaef60.
    
    This updates the internal logic of gf_vsnprintf to now use the str
    variable defined in the function signature.
    
    libgfortran/ChangeLog:
    
    2024-04-04  Ian McInerney  <i.mcinerney17@imperial.ac.uk>
    
    	* runtime/error.c (gf_vsnprintf): Fix compilation
    
    Signed-off-by: default avatarIan McInerney <i.mcinerney17@imperial.ac.uk>
    3bd3ca05
    History
    libgfortran: Fix compilation of gf_vsnprintf
    Ian McInerney authored
    
    The fallback function (gf_vsnprintf) to provide a vsnprintf function
    if the system library doesn't have one would not compile due to the
    variable name for the string's destination buffer not being updated
    after the refactor in 2018 in edaaef60.
    
    This updates the internal logic of gf_vsnprintf to now use the str
    variable defined in the function signature.
    
    libgfortran/ChangeLog:
    
    2024-04-04  Ian McInerney  <i.mcinerney17@imperial.ac.uk>
    
    	* runtime/error.c (gf_vsnprintf): Fix compilation
    
    Signed-off-by: default avatarIan McInerney <i.mcinerney17@imperial.ac.uk>