Re: [GSoC][PATCH 1/3] dir-iterator: add pedantic option to dir_iterator_begin

2019-02-24 Thread Thomas Gummerer
On 02/24, Matheus Tavares Bernardino wrote: > On Sun, Feb 24, 2019 at 5:35 AM Christian Couder > wrote: > > On Sat, Feb 23, 2019 at 10:37 PM Thomas Gummerer > > wrote: > > > > int dir_iterator_advance(struct dir_iterator *dir_iterator) > > > > @@ -71,6 +78,8 @@ int dir_iterator_advance(struct d

Re: [GSoC][PATCH 1/3] dir-iterator: add pedantic option to dir_iterator_begin

2019-02-24 Thread Matheus Tavares Bernardino
On Sun, Feb 24, 2019 at 5:35 AM Christian Couder wrote: > > On Sat, Feb 23, 2019 at 10:37 PM Thomas Gummerer wrote: > > > > On 02/23, Matheus Tavares wrote: > > > Add the pedantic option to dir-iterator's initialization function, > > > dir_iterator_begin. When this option is set to true, > > > di

Re: [GSoC][PATCH 1/3] dir-iterator: add pedantic option to dir_iterator_begin

2019-02-24 Thread Christian Couder
On Sat, Feb 23, 2019 at 10:37 PM Thomas Gummerer wrote: > > On 02/23, Matheus Tavares wrote: > > Add the pedantic option to dir-iterator's initialization function, > > dir_iterator_begin. When this option is set to true, > > dir_iterator_advance will immediately return ITER_ERROR when failing to >

Re: [GSoC][PATCH 1/3] dir-iterator: add pedantic option to dir_iterator_begin

2019-02-23 Thread Thomas Gummerer
On 02/23, Matheus Tavares wrote: > Add the pedantic option to dir-iterator's initialization function, > dir_iterator_begin. When this option is set to true, > dir_iterator_advance will immediately return ITER_ERROR when failing to > fetch the next entry. When set to false, dir_iterator_advance will

[GSoC][PATCH 1/3] dir-iterator: add pedantic option to dir_iterator_begin

2019-02-23 Thread Matheus Tavares
Add the pedantic option to dir-iterator's initialization function, dir_iterator_begin. When this option is set to true, dir_iterator_advance will immediately return ITER_ERROR when failing to fetch the next entry. When set to false, dir_iterator_advance will emit a warning and keep looking for the