Increased buffersize for pull_fdlist
This commit is contained in:
parent
b04b54b3e1
commit
9d09a5c8f3
@ -4764,6 +4764,7 @@ v0.33.20 10-Feb-2002
|
||||
cleared to prevent later malformatted descriptions.
|
||||
The hatch and magic processors now scan the filenames to test
|
||||
using the regexp library, this should be more reliable.
|
||||
Increased the size of the buffer for filesort.
|
||||
|
||||
mbmsg:
|
||||
When creating non-existend message bases, the path is created
|
||||
|
@ -1,14 +1,13 @@
|
||||
/*****************************************************************************
|
||||
*
|
||||
* File ..................: mbfido/fsort.c
|
||||
* $Id$
|
||||
* Purpose ...............: File sort
|
||||
* Last modification date : 27-Nov-1999
|
||||
*
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1997-1999
|
||||
* Copyright (C) 1997-2002
|
||||
*
|
||||
* Michiel Broek FIDO: 2:2801/16
|
||||
* Beekmansbos 10 Internet: mbroek@ux123.pttnwb.nl
|
||||
* Michiel Broek FIDO: 2:280/2802
|
||||
* Beekmansbos 10
|
||||
* 1971 BV IJmuiden
|
||||
* the Netherlands
|
||||
*
|
||||
@ -123,7 +122,7 @@ int compfdate(fd_list **fdp1, fd_list **fdp2)
|
||||
*/
|
||||
char *pull_fdlist(fd_list **fdp)
|
||||
{
|
||||
static char buf[65];
|
||||
static char buf[PATH_MAX];
|
||||
fd_list *ta;
|
||||
|
||||
if (*fdp == NULL)
|
||||
|
@ -147,14 +147,13 @@ int CheckHatch(char *temp)
|
||||
}
|
||||
*q++ = '$';
|
||||
*q = '\0';
|
||||
Syslog('f', "Hatch mask \"%s\" -> \"%s\"", MBSE_SS(fn), MBSE_SS(mask));
|
||||
|
||||
if ((re_comp(mask)) == NULL) {
|
||||
tf = calloc(PATH_MAX, sizeof(char));
|
||||
while ((de = readdir(dp))) {
|
||||
if (re_exec(de->d_name)) {
|
||||
hatched = TRUE;
|
||||
Syslog('+', "Hatch %s in area %s", de->d_name, hatch.Name);
|
||||
Syslog('+', "Hatch \"%s\" in area %s", de->d_name, hatch.Name);
|
||||
sprintf(tf, "%s/%s", CFG.pinbound, MakeTicName());
|
||||
|
||||
if ((Tf = fopen(tf, "a+")) == NULL) {
|
||||
|
@ -137,8 +137,8 @@ int Tic()
|
||||
rc = 0;
|
||||
break;
|
||||
}
|
||||
Syslog('f', "Tic() ending with %s", fname);
|
||||
}
|
||||
Syslog('f', "Tic() finished all files");
|
||||
|
||||
if (!do_quiet) {
|
||||
printf("\r");
|
||||
|
Reference in New Issue
Block a user