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