----- Original Message ----- From: "Mladen Turk" <[EMAIL PROTECTED]> To: "'Tomcat Developers List'" <[EMAIL PROTECTED]> Sent: Saturday, August 30, 2003 2:46 AM Subject: RE: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_uri_worker_map.h jk_uri_worker_map.c
> > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > Log: > > iSeries C compiler didn't like cast between const and non const. > > > > > > IMO the function prototype should stay const char* or modified to char** > if the pointer needs to be changed, but since it isn't it should stay > const char *. > > The problem is later in the code where the function param is assigned > with local char * (uri = clean_uri;), and that is what should be > changed, not the function call itself. Further more all the functions > protos should be changed to const char *, that are now char *. > This one is a special case, due to the fact that in mod_jk, the jk_pools aren't thread-safe. Adding a sync to the jk_pool just for this function doesn't make a lot of sense, so (as discussed on the list) it was decided to change this function from const char * to char *, and handle the duplicating logic in the server-specific code. Henri was just cleaning up a file I forgot to change. > MT. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]