Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

<wiggy> bwah, vodka in my mouse


dovenet / Synchronet Programming / src/sbbs3/main.cpp

SubjectAuthor
o src/sbbs3/main.cppRob Swindell (on Windows 11)

1
src/sbbs3/main.cpp

<65FE5A55.49366.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=3384&group=DOVE-Net.Synchronet_Programming#3384

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: rob.swindell.(on.windows.11)@VERT (Rob Swindell (on Windows 11))
To: Git commit to main/sbbs/master
Subject: src/sbbs3/main.cpp
Message-ID: <65FE5A55.49366.syncprog@vert.synchro.net>
Date: Fri, 22 Mar 2024 21:28:05 -0700
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/c3e46719e Mar 2 2024 GCC 12.2.0
X-FTN-MSGID: 49366.syncprog@1:103/705 2a64512b
X-FTN-CHRS: CP437 2
WhenImported: 20240322212805-0700 c1e0
WhenExported: 20240329040315-0700 c1e0
ExportedFrom: VERT syncprog 49366
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Rob Swindell (on Win - Sat, 23 Mar 2024 04:28 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/be8603b11bd6cf12c6f74256
Modified Files:
src/sbbs3/main.cpp
Log Message:
Replace (and auto-upgrade) ctrl/time.dab with time.ini

This will allow us to change scfg_t.event[].last to a time_t value (from
time32_t) whenever we abandon Borland C/C++ in the future.

Now it's trival for sysops to view/edit when their timed events 'last run'
values. And there's no more endianness concerns. Bad .dab files, bad, go away.

After I wrote this change, I found the original conversion code in v4upgrade.c
which is almost exactly the same (except I was going to write to different
filename). Finally actually implemented this. Next up: qnet.dab

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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor