diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7496b13f5c..5cbeee0a4e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -112,7 +112,7 @@ jobs: echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH_${{ matrix.arch }}" >> $GITHUB_ENV echo "CFLAGS=$CFLAGS_${{ matrix.arch }}" >> $GITHUB_ENV echo "LDFLAGS=$LDFLAGS_${{ matrix.arch }}" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: sudo scripts/install_xrdp_build_dependencies_with_apt.sh ${{ matrix.feature_set }} ${{ matrix.arch }} --allow-downgrades --allow-remove-essential --allow-change-held-packages - run: ./bootstrap - run: ./configure $CONF_FLAGS @@ -135,9 +135,9 @@ jobs: id: os run: echo "image=$ImageOS" >>$GITHUB_OUTPUT shell: bash - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache cppcheck - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-cppcheck with: @@ -164,9 +164,9 @@ jobs: id: os run: echo "image=$ImageOS" >>$GITHUB_OUTPUT shell: bash - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache astyle - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-astyle with: diff --git a/common/os_calls.c b/common/os_calls.c index dd0122e153..af1b0ded55 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -381,6 +381,7 @@ g_tcp_socket(void) { switch (errno) { + case EPROTONOSUPPORT: /* if IPv6 is supported, but don't have an IPv6 address */ case EAFNOSUPPORT: /* if IPv6 not supported, retry IPv4 */ LOG(LOG_LEVEL_INFO, "IPv6 not supported, falling back to IPv4"); rv = (int)socket(AF_INET, SOCK_STREAM, 0); diff --git a/configure.ac b/configure.ac index 7b90a2c24d..ffff1ebea5 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,7 @@ AC_PREREQ(2.65) AC_INIT([xrdp], [0.9.25.1], [xrdp-devel@googlegroups.com]) +AC_DEFINE([VERSION_YEAR], 2024, [Copyright year]) AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in) AM_INIT_AUTOMAKE([1.7.2 foreign]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/sesman/sesman.c b/sesman/sesman.c index 1155154f82..b8300d86a3 100644 --- a/sesman/sesman.c +++ b/sesman/sesman.c @@ -567,8 +567,9 @@ print_version(void) { g_writeln("xrdp-sesman %s", PACKAGE_VERSION); g_writeln(" The xrdp session manager"); - g_writeln(" Copyright (C) 2004-2020 Jay Sorg, " - "Neutrino Labs, and all contributors."); + g_writeln(" Copyright (C) 2004-%d Jay Sorg, " + "Neutrino Labs, and all contributors.", + VERSION_YEAR); g_writeln(" See https://github.com/neutrinolabs/xrdp for more information."); g_writeln("%s", ""); diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c index 60d805d211..9231051e60 100644 --- a/xrdp/xrdp.c +++ b/xrdp/xrdp.c @@ -55,8 +55,9 @@ print_version(void) { g_writeln("xrdp %s", PACKAGE_VERSION); g_writeln(" A Remote Desktop Protocol Server."); - g_writeln(" Copyright (C) 2004-2020 Jay Sorg, " - "Neutrino Labs, and all contributors."); + g_writeln(" Copyright (C) 2004-%d Jay Sorg, " + "Neutrino Labs, and all contributors.", + VERSION_YEAR); g_writeln(" See https://github.com/neutrinolabs/xrdp for more information."); g_writeln("%s", ""); diff --git a/xrdp/xrdp.ini.in b/xrdp/xrdp.ini.in index 3b6340f813..6260bab920 100644 --- a/xrdp/xrdp.ini.in +++ b/xrdp/xrdp.ini.in @@ -205,7 +205,6 @@ drdynvc=true cliprdr=true rail=true xrdpvr=true -tcutils=true ; for debugging xrdp, in section xrdp1, change port=-1 to this: #port=/tmp/.xrdp/xrdp_display_10 diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c index 28748676a1..5df3232701 100644 --- a/xrdp/xrdp_login_wnd.c +++ b/xrdp/xrdp_login_wnd.c @@ -1312,8 +1312,6 @@ load_xrdp_config(struct xrdp_config *config, const char *xrdp_ini, int bpp) LOG(LOG_LEVEL_DEBUG, "tcp_keepalive: %d", globals->tcp_keepalive); LOG(LOG_LEVEL_DEBUG, "tcp_send_buffer_bytes: %d", globals->tcp_send_buffer_bytes); LOG(LOG_LEVEL_DEBUG, "tcp_recv_buffer_bytes: %d", globals->tcp_recv_buffer_bytes); - LOG(LOG_LEVEL_DEBUG, "new_cursors: %d", globals->new_cursors); - LOG(LOG_LEVEL_DEBUG, "allow_multimon: %d", globals->allow_multimon); LOG(LOG_LEVEL_DEBUG, "grey: %d", globals->grey); LOG(LOG_LEVEL_DEBUG, "black: %d", globals->black);