[Bacula-users] RE: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-17 Thread Robert Nelson
At first I was somewhat confused about what the current behaviour is, both by this thread, the documentation and my experience with file matching algorithms used by other programs such as the various shells. Judging from your example below I believe you may be confused about the current behaviour

[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-16 Thread Kern Sibbald
On Sunday 16 April 2006 11:52, Robert Nelson wrote: > But I think the behaviour would be very intuitive. If you look at how it > is used below in the example from the Windows FileSet I think it is fairly > obvious. I also think it is much clearer and easier to maintain than the > corresponding re

[Bacula-users] RE: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-16 Thread Robert Nelson
But I think the behaviour would be very intuitive. If you look at how it is used below in the example from the Windows FileSet I think it is fairly obvious. I also think it is much clearer and easier to maintain than the corresponding regex would be. The code change was minimal and didn't requir

[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-16 Thread Kern Sibbald
On Sunday 16 April 2006 00:21, Robert Nelson wrote: > Couldn't you handle both cases transparently. If the pattern has a "/" in > it then pass the full name, otherwise just pass the basename to fnmatch(). > That way you get both behaviours without breaking existing examples and > configs. > > Iron

[Bacula-users] RE: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-15 Thread Robert Nelson
Couldn't you handle both cases transparently. If the pattern has a "/" in it then pass the full name, otherwise just pass the basename to fnmatch(). That way you get both behaviours without breaking existing examples and configs. Ironically the Windows example FileSet in the manual expects the ab

[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-13 Thread Kern Sibbald
Thanks, I corrected the ones I found ... On Monday 10 April 2006 15:07, Martin Simmons wrote: > > On Mon, 10 Apr 2006 14:09:03 +0200, Kern Sibbald <[EMAIL PROTECTED]> > > said: > > > > On Monday 10 April 2006 13:15, Martin Simmons wrote: > > > > On Mon, 10 Apr 2006 12:22:59 +0200, Kern

[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Martin Simmons
> On Mon, 10 Apr 2006 14:09:03 +0200, Kern Sibbald <[EMAIL PROTECTED]> said: > > On Monday 10 April 2006 13:15, Martin Simmons wrote: > > > On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald <[EMAIL PROTECTED]> > > > said: > > > > > > Hello, > > > > > > It seems that it is becoming more

[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 13:15, Martin Simmons wrote: > > On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald <[EMAIL PROTECTED]> > > said: > > > > Hello, > > > > It seems that it is becoming more frequent (probably because of the > > increasing number of Bacula users) that users submit support

[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 13:15, Martin Simmons wrote: > > On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald <[EMAIL PROTECTED]> > > said: > > > > Hello, > > > > It seems that it is becoming more frequent (probably because of the > > increasing number of Bacula users) that users submit support

[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Martin Simmons
> On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald <[EMAIL PROTECTED]> said: > > Hello, > > It seems that it is becoming more frequent (probably because of the > increasing > number of Bacula users) that users submit support questions to the bugs > database. This morning a user submitted