apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject [PATCH] apr-iconv
Date Fri, 30 Mar 2001 16:42:04 GMT
Hi Bill,

I have made some process with apr-iconv (Now it builds and util/iconv runs on
It is still not finished (dlopen for example).
Find enclosed the patch to get it running.

I have some questions:

I am not very happy about the following code, any hints to improve it:
+/* To be processed by configure */                                           
+#define ICONV_DEFAULT_PATH "/usr/local/lib/iconv"                              
+#define EFTYPE -1234                                                           
+/* To be processed by configure */                                             
+/* apr additions */                                                            
+#define issetugid() 0                                                          
+/* apr additions */                                                            

The default ICONV_DEFAULT_PATH should be a subdirectory of the APR install
What will be the default install directory of APR?

What to do with issetugid()?

I have removed the iconv_warnx(), there is no logging possible in APR, so only
the "errno" and return code are usefull, is this Ok?

In iconv.c I have put a #ifndef HAVE_ICONV, in case this code gets more
integrated in APR, should this be extented to all other C source files to
prevent names collisions?


View raw message