Re: [BUG?] apr_strnatcasecmp with space/blank

2012-02-16 Thread Laurent Charmet
strcasecmp macro is perfect. Perhaps a documentation update will be interesting to avoid confusion. Thx a lot Laurent On 02/16/2012 02:45 PM, Philip Martin wrote: > apr_general.h appears to ensure that strcasecmp is available, > providing one if the system does not. Perhaps you could use that?

[BUG?] apr_strnatcasecmp with space/blank

2012-02-16 Thread Laurent Charmet
Hi all, I have an issue with the function apr_strnatcasecmp(). Take a look at gdb output: 5719if (apr_strnatcasecmp(type_str, p_list[i].name) == 0) { (gdb) 5720service = (DEDUP_SERVICE_TYPE_T) (p_list[i].type & 0xFF); (gdb) p typ

Netware support

2009-11-13 Thread Laurent Charmet
Dear all, I wish to know if Apr 1.3.x compile on Netware, or if a .nlm is available, or a faq/wiki to compile Apr for Netware. We use Apr on many platforms with success, but some customers want a port of our product on Netware. It's not easy because we use a windows cross compiler targeting Netwar

Re: simple way to match error code value with error code define ?

2009-07-17 Thread Laurent Charmet
Dan Poirier wrote: > Laurent Charmet writes: > > >> On linux when filesystem is full, apr_file_write return 28 and windows >> return 720112 >> >> >> What is the right way to do that ? Is there an APR_STATUS_IS_FSFULL() >> macro for example

simple way to match error code value with error code define ?

2009-07-16 Thread Laurent Charmet
Hi, On linux when filesystem is full, apr_file_write return 28 and windows return 720112 I don't want to write this code: res = apr_file_write(...); if (res != APR_SUCCESS) { if (res == 28 || res == 720112) { /* manage fs full */ } } What is the right way to do that ? Is there an APR_ST