Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sidplayfp for openSUSE:Factory checked in at 2026-02-16 13:11:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sidplayfp (Old) and /work/SRC/openSUSE:Factory/.sidplayfp.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sidplayfp" Mon Feb 16 13:11:12 2026 rev:19 rq:1333186 version:2.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/sidplayfp/sidplayfp.changes 2026-01-07 16:01:48.732109898 +0100 +++ /work/SRC/openSUSE:Factory/.sidplayfp.new.1977/sidplayfp.changes 2026-02-16 13:17:37.786806147 +0100 @@ -1,0 +2,6 @@ +Sun Feb 15 11:10:54 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 2.16.1 + * Parse float arguments as locale independent (#118). + +------------------------------------------------------------------- Old: ---- sidplayfp-2.16.0.tar.gz New: ---- sidplayfp-2.16.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sidplayfp.spec ++++++ --- /var/tmp/diff_new_pack.s3MHNI/_old 2026-02-16 13:17:38.470835352 +0100 +++ /var/tmp/diff_new_pack.s3MHNI/_new 2026-02-16 13:17:38.470835352 +0100 @@ -18,7 +18,7 @@ Name: sidplayfp -Version: 2.16.0 +Version: 2.16.1 Release: 0 Summary: SID chip music module player License: GPL-2.0-or-later ++++++ sidplayfp-2.16.0.tar.gz -> sidplayfp-2.16.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/AUTHORS new/sidplayfp-2.16.1/AUTHORS --- old/sidplayfp-2.16.0/AUTHORS 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/AUTHORS 2026-02-15 12:02:27.000000000 +0100 @@ -3,7 +3,7 @@ Copyright (c) 2000 Simon White Copyright (c) 2007-2010 Antti Lankila -Copyright (c) 2010-2025 Leandro Nini +Copyright (c) 2010-2026 Leandro Nini This version of the freely available sidplayfp player source code contains the following contributed or derived work. In the order they first diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/Makefile.am new/sidplayfp-2.16.1/Makefile.am --- old/sidplayfp-2.16.0/Makefile.am 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/Makefile.am 2026-02-15 12:02:27.000000000 +0100 @@ -91,7 +91,6 @@ $(LIBICONV) \ $(AUDIO_LDFLAGS) \ $(SIDPLAYFP_LIBS) \ -$(BUILDERS_LDFLAGS) \ $(ALSA_LIBS) \ $(PULSE_LIBS) \ $(OUT123_LIBS) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/Makefile.in new/sidplayfp-2.16.1/Makefile.in --- old/sidplayfp-2.16.0/Makefile.in 2025-12-23 16:12:12.000000000 +0100 +++ new/sidplayfp-2.16.1/Makefile.in 2026-02-15 12:02:30.000000000 +0100 @@ -504,7 +504,6 @@ $(LIBICONV) \ $(AUDIO_LDFLAGS) \ $(SIDPLAYFP_LIBS) \ -$(BUILDERS_LDFLAGS) \ $(ALSA_LIBS) \ $(PULSE_LIBS) \ $(OUT123_LIBS) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/NEWS new/sidplayfp-2.16.1/NEWS --- old/sidplayfp-2.16.0/NEWS 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/NEWS 2026-02-15 12:02:27.000000000 +0100 @@ -1,3 +1,9 @@ +2.16.1 2026-02-15 +* Parse float arguments as locale independent (#118) +* Use secure version of getenv on Windows + + + 2.16.0 2025-12-23 * Add USBSID support (#84) * Display the actual used SID model(s) (#79) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/README new/sidplayfp-2.16.1/README --- old/sidplayfp-2.16.0/README 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/README 2026-02-15 12:02:27.000000000 +0100 @@ -8,7 +8,7 @@ Copyright (c) 2000 Simon White Copyright (c) 2007-2010 Antti Lankila -Copyright (c) 2010-2025 Leandro Nini <[email protected]> +Copyright (c) 2010-2026 Leandro Nini <[email protected]> stilview diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/configure new/sidplayfp-2.16.1/configure --- old/sidplayfp-2.16.0/configure 2025-12-23 16:12:12.000000000 +0100 +++ new/sidplayfp-2.16.1/configure 2026-02-15 12:02:29.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for sidplayfp 2.16.0. +# Generated by GNU Autoconf 2.71 for sidplayfp 2.16.1. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, @@ -608,8 +608,8 @@ # Identity of this package. PACKAGE_NAME='sidplayfp' PACKAGE_TARNAME='sidplayfp' -PACKAGE_VERSION='2.16.0' -PACKAGE_STRING='sidplayfp 2.16.0' +PACKAGE_VERSION='2.16.1' +PACKAGE_STRING='sidplayfp 2.16.1' PACKAGE_BUGREPORT='' PACKAGE_URL='https://github.com/libsidplayfp/sidplayfp/' @@ -1367,7 +1367,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures sidplayfp 2.16.0 to adapt to many kinds of systems. +\`configure' configures sidplayfp 2.16.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1438,7 +1438,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of sidplayfp 2.16.0:";; + short | recursive ) echo "Configuration of sidplayfp 2.16.1:";; esac cat <<\_ACEOF @@ -1566,7 +1566,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -sidplayfp configure 2.16.0 +sidplayfp configure 2.16.1 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1842,7 +1842,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by sidplayfp $as_me 2.16.0, which was +It was created by sidplayfp $as_me 2.16.1, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3332,7 +3332,7 @@ # Define the identity of the package. PACKAGE='sidplayfp' - VERSION='2.16.0' + VERSION='2.16.1' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -11269,7 +11269,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by sidplayfp $as_me 2.16.0, which was +This file was extended by sidplayfp $as_me 2.16.1, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -11338,7 +11338,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -sidplayfp config.status 2.16.0 +sidplayfp config.status 2.16.1 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/configure.ac new/sidplayfp-2.16.1/configure.ac --- old/sidplayfp-2.16.0/configure.ac 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/configure.ac 2026-02-15 12:02:27.000000000 +0100 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([sidplayfp], [2.16.0], [], [], [https://github.com/libsidplayfp/sidplayfp/]) +AC_INIT([sidplayfp], [2.16.1], [], [], [https://github.com/libsidplayfp/sidplayfp/]) AC_CONFIG_SRCDIR([src/main.cpp]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/doc/en/sidplayfp.1 new/sidplayfp-2.16.1/doc/en/sidplayfp.1 --- old/sidplayfp-2.16.0/doc/en/sidplayfp.1 2025-12-23 16:12:15.000000000 +0100 +++ new/sidplayfp-2.16.1/doc/en/sidplayfp.1 2026-02-15 12:02:35.000000000 +0100 @@ -55,7 +55,7 @@ .\" ======================================================================== .\" .IX Title "SIDPLAYFP 1" -.TH SIDPLAYFP 1 2025-12-23 "perl v5.38.2" "User Programs" +.TH SIDPLAYFP 1 2026-02-15 "perl v5.38.2" "User Programs" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/doc/en/sidplayfp.ini.5 new/sidplayfp-2.16.1/doc/en/sidplayfp.ini.5 --- old/sidplayfp-2.16.0/doc/en/sidplayfp.ini.5 2025-12-23 16:12:15.000000000 +0100 +++ new/sidplayfp-2.16.1/doc/en/sidplayfp.ini.5 2026-02-15 12:02:35.000000000 +0100 @@ -55,7 +55,7 @@ .\" ======================================================================== .\" .IX Title "SIDPLAYFP.INI 5" -.TH SIDPLAYFP.INI 5 2025-12-23 "perl v5.38.2" "File formats" +.TH SIDPLAYFP.INI 5 2026-02-15 "perl v5.38.2" "File formats" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/doc/en/stilview.1 new/sidplayfp-2.16.1/doc/en/stilview.1 --- old/sidplayfp-2.16.0/doc/en/stilview.1 2025-12-23 16:12:15.000000000 +0100 +++ new/sidplayfp-2.16.1/doc/en/stilview.1 2026-02-15 12:02:35.000000000 +0100 @@ -55,7 +55,7 @@ .\" ======================================================================== .\" .IX Title "STILVIEW 1" -.TH STILVIEW 1 2025-12-23 "perl v5.38.2" "User Programs" +.TH STILVIEW 1 2026-02-15 "perl v5.38.2" "User Programs" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/src/args.cpp new/sidplayfp-2.16.1/src/args.cpp --- old/sidplayfp-2.16.0/src/args.cpp 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/src/args.cpp 2026-02-15 12:02:27.000000000 +0100 @@ -1,7 +1,7 @@ /* * This file is part of sidplayfp, a console SID player. * - * Copyright 2011-2025 Leandro Nini + * Copyright 2011-2026 Leandro Nini * Copyright 2000-2001 Simon White * * This program is free software; you can redistribute it and/or modify @@ -21,6 +21,8 @@ #include "player.h" +#include "dataParser.h" + #include <iostream> #include <cstring> @@ -427,7 +429,7 @@ } else { - m_fcurve = atof(&argv[i][9]); + m_fcurve = dataParser::parseDouble(&argv[i][9]); } } #ifdef FEAT_FILTER_RANGE @@ -439,7 +441,7 @@ } else { - m_frange = atof(&argv[i][9]); + m_frange = dataParser::parseDouble(&argv[i][9]); } } #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/src/dataParser.h new/sidplayfp-2.16.1/src/dataParser.h --- old/sidplayfp-2.16.0/src/dataParser.h 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/src/dataParser.h 2026-02-15 12:02:27.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 Leandro Nini + * Copyright (C) 2014-2026 Leandro Nini * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,20 +22,18 @@ #include <sstream> #include <cstring> -#include "ini/types.h" - class dataParser { public: class parseError {}; private: - template<typename T> - static T convertString(const TCHAR* data) + template<typename T, typename U> + static T convertString(const U* data) { T value; - SID_STRINGTREAM stream(data); + std::basic_stringstream<U> stream(data); stream >> std::boolalpha >> value; if (stream.fail()) { throw parseError(); @@ -44,9 +42,12 @@ } public: - static double parseDouble(const TCHAR* data) { return convertString<double>(data); } - static int parseInt(const TCHAR* data) { return convertString<int>(data); } - static bool parseBool(const TCHAR* data) { return convertString<bool>(data); } + template<typename U> + static double parseDouble(const U* data) { return convertString<double>(data); } + template<typename U> + static int parseInt(const U* data) { return convertString<int>(data); } + template<typename U> + static bool parseBool(const U* data) { return convertString<bool>(data); } }; #endif // DATAPARSER_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/src/main.cpp new/sidplayfp-2.16.1/src/main.cpp --- old/sidplayfp-2.16.0/src/main.cpp 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/src/main.cpp 2026-02-15 12:02:27.000000000 +0100 @@ -66,7 +66,8 @@ #ifndef _WIN32 // Configure terminal to allow direct access to key events - keyboard_enable_raw (); + if (player.isInteractive()) + keyboard_enable_raw(); #endif // Play loop @@ -77,7 +78,8 @@ } #ifndef _WIN32 - keyboard_disable_raw (); + if (player.isInteractive()) + keyboard_disable_raw(); #endif // Restore default signal error handlers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/src/player.h new/sidplayfp-2.16.1/src/player.h --- old/sidplayfp-2.16.0/src/player.h 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/src/player.h 2026-02-15 12:02:27.000000000 +0100 @@ -296,6 +296,8 @@ void stop (void); player_state_t state (void) const { return m_state; } + + bool isInteractive() const { return !m_driver.file; } }; #endif // PLAYER_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sidplayfp-2.16.0/src/utils.cpp new/sidplayfp-2.16.1/src/utils.cpp --- old/sidplayfp-2.16.0/src/utils.cpp 2025-12-23 16:12:09.000000000 +0100 +++ new/sidplayfp-2.16.1/src/utils.cpp 2026-02-15 12:02:27.000000000 +0100 @@ -28,9 +28,9 @@ # include <shlwapi.h> #ifdef UNICODE -# define _tgetenv _wgetenv +# define _tgetenv_s _wgetenv_s #else -# define _tgetenv getenv +# define _tgetenv_s getenv_s #endif SID_STRING utils::getExecPath() @@ -50,8 +50,10 @@ if (SHGetFolderPath(NULL, CSIDL_APPDATA|CSIDL_FLAG_CREATE, NULL, 0, szPath)!=S_OK) { - TCHAR *path = _tgetenv(TEXT("USERPROFILE")); - if (!path) + TCHAR path[MAX_PATH]; + size_t pReturnValue; + errno_t res = _tgetenv_s(&pReturnValue, path, TEXT("USERPROFILE")); + if (res != 0) throw error(); returnPath.append(path).append(TEXT("\\Application Data")); }
