• src/xpdev/genwrap.c

    From Deucе@VERT to Git commit to main/sbbs/master on Wednesday, January 08, 2025 20:48:18
    https://gitlab.synchro.net/main/sbbs/-/commit/4439557bfaef6655d2979e78
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    Seconds not milliseconds.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wednesday, January 08, 2025 20:59:08
    https://gitlab.synchro.net/main/sbbs/-/commit/97434544be0ea793c297bd42
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    Actually, CLOCK_SECOND is better than CLOCK_MONOTONIC_FAST

    It's basically CLOCK_REALTIME with tv_nsec set to zero.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wednesday, January 08, 2025 21:02:08
    https://gitlab.synchro.net/main/sbbs/-/commit/cd8e57212957a107d820d7f2
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    If we're older than Vista, use GetTickCount()

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wednesday, January 08, 2025 21:08:43
    https://gitlab.synchro.net/main/sbbs/-/commit/68dffbe20c3e00ea9c37b61c
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    Check _WIN32_WINNT, not WINVER

    Borland hates WINVER

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wednesday, January 08, 2025 21:15:40
    https://gitlab.synchro.net/main/sbbs/-/commit/b02975d7b18d659f1ad0fef3
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    Hard-code the _WIN32_WINNT_VISTA value.

    Maybe Borland is also using pre-vista headers?

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Monday, January 13, 2025 09:43:01
    https://gitlab.synchro.net/main/sbbs/-/commit/8f919a6c118cd86c5b672030
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    More fixups for clock selection.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, February 04, 2025 19:16:47
    https://gitlab.synchro.net/main/sbbs/-/commit/46e28f8d2a3862ae429d59bb
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    When building for Windows Vista+, use GetTickCount64() through-out

    At one point while migrating off the Windows XP compatible WinSDK and toolset, I was getting nice deprecation warnings in this file about uses of GetTickCount() and the 49 day roll-over isuse. I stopped getting those deprecation warnings (not sure when/why), but I'm still doing the right thing here/now and using the newer Win32 API function when it's available (always, for the versions of Windows we're building Synchronet and friends for).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, February 04, 2025 19:16:47
    https://gitlab.synchro.net/main/sbbs/-/commit/30c26a25035221d8e115bd9e
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    Fix common typo in comments

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, February 04, 2025 19:16:47
    https://gitlab.synchro.net/main/sbbs/-/commit/3971fd18f4da0f75b390c17d
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    Use strlcpy instead of strncpy to insure termination, suppress MSVC warning

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net