Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 54662 invoked by uid 500); 9 Sep 2001 06:26:01 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 54543 invoked from network); 9 Sep 2001 06:26:00 -0000 Errors-To: Message-ID: <00cd01c138f7$dc0de420$93c0b0d0@roweclan.net> From: "William A. Rowe, Jr." To: , References: <20010909060305.63363.qmail@icarus.apache.org> Subject: Re: cvs commit: apr/threadproc/win32 proc.c signals.c Date: Sun, 9 Sep 2001 01:22:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > wrowe 01/09/08 23:03:05 > > Modified: . CHANGES > file_io/netware filesys.c > file_io/os2 filesys.c > file_io/unix filepath.c > file_io/win32 filepath.c filesys.c > include apr_file_info.h apr_thread_proc.h > include/arch/os2 fileio.h > include/arch/win32 fileio.h threadproc.h > test testmmap.c > threadproc/win32 proc.c signals.c > Log: > Fix the apr_proc_create for win32. In order to do so, this patch > introduces a flags arg for apr_filepath_get(), like apr_filepath_merge(), > that allows the APR_FILEPATH_NATIVE result format. > > This launches win32 processes with the Unicode semantics (although it > runs sbcs apps equally well) and changes the default to 'not detached', > in sync with the unix default. > > Finally, assures apr_filepath_get() uses the '/' semantics on OS2 by > default. Footnote; This patch breaks all except .exe cgi's for win32, since we are passing multiple arguments via the run_cgi_child call's command argument, instead of properly filling in argv. Since that's a bug, I've gone ahead and committed proper code for win32's apr functions, and I'll go back to deal with the cgi issue tommorow. Ryan pointed out that you can't pass multiple args for 'command'. This turns out to be probably untrue. _But_ suexec won't handle them, so it's probably safest to do this 'the proper way', always. Bill