- Jun 26, 2023
-
-
Rob Swindell authored
This macro hasn't done anything meaningful since we stopped using really old versions of Borland compilers (and std libraries) where strerror() returned a string terminated with a line-feed (\n) character.
-
- May 08, 2023
-
-
Rob Swindell authored
The old "illegal header length increase" error goes away and now smb_putmsghdr() will re-allocate a header if needs to be moved to accommodate new header fields or header fields with increase data lengths. We can consider getting rid of the MsgBase "expand_fields" concept now. This fixes issue #404
-
- Feb 19, 2023
-
-
Rob Swindell authored
[s]printf format fix-ups
-
Rob Swindell authored
Likely a part 4 coming next after building with GCC.
-
- Jun 02, 2022
-
-
Rob Swindell authored
On Win32, an off_t is 64-bits while a long is still a measly 32-bits.
-
- Mar 02, 2022
-
-
Rob Swindell authored
-
- Sep 24, 2021
-
-
Rob Swindell authored
write() chsize()
-
- Apr 04, 2021
-
-
Rob Swindell authored
This won't impact Synchronet as it has a separate signal handling thread, but we still need to behave properly for processes that don't. I'm also saying that ENOMEM does not indicate a disconnection, though it may be better to pretend it was disconnected...
-
- Nov 05, 2020
-
-
Rob Swindell authored
-
- Aug 16, 2020
-
-
Rob Swindell authored
-
- Apr 11, 2019
-
-
rswindell authored
-
- Jul 17, 2018
-
-
rswindell authored
so remove 'errno' value (and corresponding error strings) from generated /logged error messages. fseek(), read(), write(), open(), etc. do set errno to a meaningful value, so we still log errno/strerror() in those failure cases.
-
- Nov 21, 2017
-
-
rswindell authored
and smb_incmsg_dfields(), now lock and unlock the SMB header. This shouldprevent some mail base corruption as well as this error: -203 (smb_incmsgdat 13 'Permission denied' reading allocation record at offset 795568) incrementing data allocation units
-
- Nov 16, 2017
-
-
rswindell authored
-
rswindell authored
mode, a freeing of header or data storage at the end of the file will now result in the file (the allocation file *and* the data/hdr file) being truncated - saving potentially many megabytes of disk space for non-maintained msg bases (e.g. the mail base). Previously, self-packing and fast-alloc msg-bases would never shrink without running smbutil m, but that's now no longer true. Something similar could be done for hyper-alloc msgbases, but I'm not sure that's really needed since the email base can never be hyper-allocated and this change was really for the email msgbase where allocation files are a must due to the multiple-recipients/headers per msg data feature.
-
- Nov 29, 2016
- Dec 06, 2015
-
-
rswindell authored
If the specified or detected net_type is not Internet, only store the address portion of the email address in the *NETADDR hfield. If the net_type argument is a NULL pointer, automatically add the *NETTYPE hfield too. New functions: - smb_netaddr_type() - returns the string/name of a specified net_type. - smb_get_net_type_by_addr() - parses just the network address field. Change short/ushort's to int16_t/uint16_t's. Remove date from copyright.
-
- Jul 10, 2007
-
-
deuce authored
The CRC headers now include gen_defs.h
-
- Sep 30, 2005
-
-
rswindell authored
same as SMB_SUCCESS).
-
- Dec 15, 2004
-
-
rswindell authored
-
- Sep 17, 2004
-
-
rswindell authored
(or any useful error number). It just returns a "non-zero" value, the same "non-zero" value regardless of the cause of failure. Still not positive if fread() sets errno in any/all CRTLs or not. :-(
-
- Sep 13, 2004
-
-
rswindell authored
This allows a single version of smb.lib to be linked with either single or multi-threaded applications.
-
- Sep 11, 2004
-
-
rswindell authored
and allow for selective linking of objects from library archives.
-