home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 48105 
 Deucе to Git commit to main/sbbs/master 
 src/tith/GNUmakefile base64.c nodelist.c 
 14 Nov 25 11:42:47 
 
TZUTC: -0800
MSGID: 53521.syncprog@1:103/705 2d7d8d48
PID: Synchronet 3.21a-Linux master/88b423313 Sep 29 2025 GCC 12.2.0
TID: SBBSecho 3.31-Linux master/d39e01091 Nov 03 2025 GCC 12.2.0
BBSID: VERT
CHRS: UTF-8 4
FORMAT: flowed
https://gitlab.synchro.net/main/sbbs/-/commit/9816527184efa37027df73d0
Modified Files:
	src/tith/GNUmakefile base64.c nodelist.c tith-client.c tith-common.c
tith-common.h tith-config.c tith-config.h tith-file.c tith-file.h
tith-server.c tith.c tith.h
Log Message:
Fix up alloc/free usage

Since this is being designed so it can be used by third-party software,
and since we no longer call exit() on errors, we need to actually
free all memory that we allocate... we can't just bail and let the
OS clean it up.

So, the current command and the config are now thread-local globals
which are automatically clean up on termination, and ephemeral allocs
now go onto a thread-local stack.

You need to pushAlloc() anything that's allocated (which checks if
the allocation failed), then popAlloc() when the value is free()d
or returned.

With that, we can clean up all the allocations and longjmp() out
on errors.
--- SBBSecho 3.31-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 10/0 1 102/401 103/1 705 105/81 106/201 124/5016 128/187
SEEN-BY: 129/14 153/7715 154/110 214/22 218/0 1 215 610 700 810 226/30
SEEN-BY: 227/114 229/110 206 317 400 426 428 470 700 705 266/512 280/464
SEEN-BY: 291/111 301/1 320/219 322/757 342/200 396/45 460/58 633/280
SEEN-BY: 712/848 902/26 5075/35
PATH: 103/705 218/700 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca