Compare commits
4 Commits
b060bf5d39
...
3efea8aa10
Author | SHA1 | Date |
---|---|---|
|
3efea8aa10 | |
|
8e9260b52d | |
|
5105f0adf3 | |
|
a5c4d344cc |
|
@ -1145,6 +1145,7 @@
|
||||||
// Attempt to detect line draw characters in Webmail (50)
|
// Attempt to detect line draw characters in Webmail (50)
|
||||||
// Fix sending ampr.org mail when RMS is not enabled (51)
|
// Fix sending ampr.org mail when RMS is not enabled (51)
|
||||||
// Send forwarding info to packetnodes.spots.radio database (51)
|
// Send forwarding info to packetnodes.spots.radio database (51)
|
||||||
|
// Fix bug in WP Message processing (56)
|
||||||
|
|
||||||
#include "bpqmail.h"
|
#include "bpqmail.h"
|
||||||
#include "winstdint.h"
|
#include "winstdint.h"
|
||||||
|
|
27
LinBPQ.c
27
LinBPQ.c
|
@ -371,8 +371,28 @@ BOOL CtrlHandler(DWORD fdwCtrlType)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#include <execinfo.h>
|
||||||
|
#include <signal.h>
|
||||||
|
|
||||||
|
|
||||||
// Linux Signal Handlers
|
// Linux Signal Handlers
|
||||||
|
|
||||||
|
|
||||||
|
static void segvhandler(int sig)
|
||||||
|
{
|
||||||
|
void *array[10];
|
||||||
|
size_t size;
|
||||||
|
|
||||||
|
// get void*'s for all entries on the stack
|
||||||
|
size = backtrace(array, 10);
|
||||||
|
|
||||||
|
// print out all the frames to stderr
|
||||||
|
fprintf(stderr, "Error: signal %d:\n", sig);
|
||||||
|
backtrace_symbols_fd(array, size, STDERR_FILENO);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static void sigterm_handler(int sig)
|
static void sigterm_handler(int sig)
|
||||||
{
|
{
|
||||||
syslog(LOG_INFO, "terminating on SIGTERM\n");
|
syslog(LOG_INFO, "terminating on SIGTERM\n");
|
||||||
|
@ -554,6 +574,8 @@ extern int POP3Timer;
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define _getch getchar
|
#define _getch getchar
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -738,6 +760,8 @@ char HelpScreen[] =
|
||||||
|
|
||||||
int Redirected = 0;
|
int Redirected = 0;
|
||||||
|
|
||||||
|
static void segvhandler(int sig);
|
||||||
|
|
||||||
int main(int argc, char * argv[])
|
int main(int argc, char * argv[])
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -767,6 +791,9 @@ int main(int argc, char * argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
// signal(SIGSEGV, segvhandler);
|
||||||
|
|
||||||
setlinebuf(stdout);
|
setlinebuf(stdout);
|
||||||
struct sigaction act;
|
struct sigaction act;
|
||||||
openlog("LINBPQ", LOG_PID, LOG_DAEMON);
|
openlog("LINBPQ", LOG_PID, LOG_DAEMON);
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define KVers 6,0,24,55
|
#define KVers 6,0,24,56
|
||||||
#define KVerstring "6.0.24.55\0"
|
#define KVerstring "6.0.24.56\0"
|
||||||
|
|
||||||
#ifdef CKernel
|
#ifdef CKernel
|
||||||
|
|
||||||
|
|
|
@ -946,6 +946,9 @@ VOID ProcessWPMsg(char * MailBuffer, int Size, char * FirstRLine)
|
||||||
|
|
||||||
WPLen = ptr2 - ptr1;
|
WPLen = ptr2 - ptr1;
|
||||||
|
|
||||||
|
if (WPLen > 128)
|
||||||
|
return;
|
||||||
|
|
||||||
if ((memcmp(ptr1, "On ", 3) == 0) && (WPLen < 200))
|
if ((memcmp(ptr1, "On ", 3) == 0) && (WPLen < 200))
|
||||||
{
|
{
|
||||||
char * Date;
|
char * Date;
|
||||||
|
@ -1030,7 +1033,7 @@ it will not be replaced. This flag will be used in case the WP update messages a
|
||||||
WPDate -= (time_t)_MYTIMEZONE;
|
WPDate -= (time_t)_MYTIMEZONE;
|
||||||
TypeString = strlop(Call, '/');
|
TypeString = strlop(Call, '/');
|
||||||
|
|
||||||
if (strlen(Call) < 3 || strlen(Call) > 9)
|
if (strlen(Call) < 3 || strlen(Call) > 6)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (TypeString)
|
if (TypeString)
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
linbpq (6.0.24.56+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
|
||||||
|
|
||||||
|
* New Upstream
|
||||||
|
|
||||||
|
-- Dave Hibberd <hibby@debian.org> Mon, 06 Jan 2025 21:37:44 +0000
|
||||||
|
|
||||||
linbpq (6.0.24.55+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
|
linbpq (6.0.24.55+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
|
||||||
|
|
||||||
* New Upstream
|
* New Upstream
|
||||||
|
@ -9,8 +15,8 @@ linbpq (6.0.24.55+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
|
||||||
linbpq (6.0.24.54+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
|
linbpq (6.0.24.54+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
|
||||||
|
|
||||||
* New Upstream
|
* New Upstream
|
||||||
* Drop AGW Patch
|
* Drop AGW Patch
|
||||||
* Drop Spelling Patch
|
* Drop Spelling Patch
|
||||||
* Drop Dynamic Links patch
|
* Drop Dynamic Links patch
|
||||||
|
|
||||||
-- Dave Hibberd <hibby@debian.org> Tue, 17 Dec 2024 16:46:05 +0000
|
-- Dave Hibberd <hibby@debian.org> Tue, 17 Dec 2024 16:46:05 +0000
|
||||||
|
|
Loading…
Reference in New Issue