summaryrefslogtreecommitdiff
path: root/misc/win32/start.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notices for 2005.jorton2005-06-141-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.1.x@190596 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0jerenkrantz2004-02-131-49/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
* rename apr_arch_fileio.h to apr_arch_file_io.h for consistencythommay2003-01-071-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64275 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protection for include/arch/ header filesthommay2003-01-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aix/dso.h -> -> aix/apr_arch_dso.h beos/dso.h -> beos/apr_arch_dso.h beos/proc_mutex.h -> beos/apr_arch_proc_mutex.h beos/thread_cond.h -> beos/apr_arch_thread_cond.h beos/thread_mutex.h -> beos/apr_arch_thread_mutex.h beos/threadproc.h -> beos/apr_arch_threadproc.h beos/thread_rwlock.h -> beos/apr_arch_thread_rwlock.h netware/dso.h -> -> netware/apr_arch_dso.h netware/fileio.h -> -> netware/apr_arch_fileio.h netware/global_mutex.h -> netware/apr_arch_global_mutex.h netware/internal_time.h -> netware/apr_arch_internal_time.h netware/networkio.h -> netware/apr_arch_networkio.h netware/pre_nw.h -> netware/apr_arch_pre_nw.h netware/proc_mutex.h -> netware/apr_arch_proc_mutex.h netware/thread_cond.h -> netware/apr_arch_thread_cond.h netware/thread_mutex.h -> netware/apr_arch_thread_mutex.h netware/threadproc.h -> netware/apr_arch_threadproc.h netware/thread_rwlock.h -> netware/apr_arch_thread_rwlock.h os2/dso.h -> os2/apr_arch_dso.h os2/fileio.h -> os2/apr_arch_fileio.h os2/networkio.h -> os2/apr_arch_networkio.h os2/os2calls.h -> os2/apr_arch_os2calls.h os2/proc_mutex.h -> os2/apr_arch_proc_mutex.h os2/thread_cond.h -> os2/apr_arch_thread_cond.h os2/thread_mutex.h -> os2/apr_arch_thread_mutex.h os2/threadproc.h -> os2/apr_arch_threadproc.h os2/thread_rwlock.h -> os2/apr_arch_thread_rwlock.h os390/dso.h -> os390/apr_arch_dso.h unix/dso.h -> unix/apr_arch_dso.h unix/fileio.h -> unix/apr_arch_fileio.h unix/global_mutex.h -> unix/apr_arch_global_mutex.h unix/inherit.h -> unix/apr_arch_inherit.h unix/internal_time.h -> unix/apr_arch_internal_time.h unix/misc.h -> unix/apr_arch_misc.h unix/networkio.h -> unix/apr_arch_networkio.h unix/proc_mutex.h -> unix/apr_arch_proc_mutex.h unix/shm.h -> unix/apr_arch_shm.h unix/thread_cond.h -> unix/apr_arch_thread_cond.h unix/thread_mutex.h -> unix/apr_arch_thread_mutex.h unix/threadproc.h -> unix/apr_arch_threadproc.h unix/thread_rwlock.h -> unix/apr_arch_thread_rwlock.h win32/atime.h -> win32/apr_arch_atime.h win32/dso.h -> win32/apr_arch_dso.h win32/fileio.h -> win32/apr_arch_fileio.h win32/inherit.h -> win32/apr_arch_inherit.h win32/misc.h -> win32/apr_arch_misc.h win32/networkio.h -> win32/apr_arch_networkio.h win32/proc_mutex.h -> win32/apr_arch_proc_mutex.h win32/thread_cond.h -> win32/apr_arch_thread_cond.h win32/thread_mutex.h -> win32/apr_arch_thread_mutex.h win32/threadproc.h -> win32/apr_arch_threadproc.h win32/thread_rwlock.h -> win32/apr_arch_thread_rwlock.h win32/utf8.h -> win32/apr_arch_utf8.h git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64271 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.thommay2003-01-011-1/+1
| | | | | | | No functional changes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* As pointed out by Marcel Mann <Marcel.Mann@dbaudio.com>, we werewrowe2002-11-251-0/+6
| | | | | | | | | | returning 0xfffffffe (the pseudo-handle) for the current thread. Stash the real apr_thread_t and recover it for apr_os_thread_current(). We were also missing thread_compare so I dropped that in while I was at it. The test is simple with the above behavior. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64085 13f79535-47bb-0310-9956-ffa450edef68
* Kill a small and mostly insignificant leak.wrowe2002-09-151-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63869 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug reported as PR 11854.wrowe2002-08-201-3/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63822 13f79535-47bb-0310-9956-ffa450edef68
* Continue the Bill Rowe apr_size_t crusade.orlikowski2002-07-101-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63595 13f79535-47bb-0310-9956-ffa450edef68
* Hadn't saved the file complete when committing. apr_oslevel_get will nowrowe2002-07-091-1/+1
| | | | | | | longer take a pool* arg. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63593 13f79535-47bb-0310-9956-ffa450edef68
* apr_oslevel_get() is an internal function. Correct it to no longer passwrowe2002-07-091-6/+6
| | | | | | | | | the pool* arg (which it never used), and call it before we begin with the apr_allocator cruft which would force a mutex (since WinNT v.s. 9x hadn't been determined), rather than a critical section on the global pool. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63592 13f79535-47bb-0310-9956-ffa450edef68
* Correct const'ification of apr_app_initialize and internal relatedwrowe2002-04-131-6/+9
| | | | | | | | | functions, as pointed out by GStein. Also fix a -very- significant bug in win32/apr_app_initialize() where we misassigned the new env memory to env rather than *env as required. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63260 13f79535-47bb-0310-9956-ffa450edef68
* For CommandLineFromArgvW() if WinNT is defined.wrowe2002-03-171-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63148 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-131-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* Ok, unix users should be pleased, we are eliminating start.c win32 cruftwrowe2002-02-181-0/+242
| | | | | | | | | | | | | | from the misc/unix branch. This also relocates apr_app_initialize() from the apr_app.c win32 specific code into a 'common' module. That same stub (an effective noop) shall soon appear in other apps. The difference between apr_app_initialize and apr_initialize is this; the former addresses command arguments and is used -only- for an app. The later is still required if apr will be used by a library that is potentially consumed by a non-apr app. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63011 13f79535-47bb-0310-9956-ffa450edef68
* Merging windows and Unix common misc files.rbb2000-05-171-180/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60059 13f79535-47bb-0310-9956-ffa450edef68
* Create a true misc.c for ap_get_oslevel and ap_load_dll_func,wrowe2000-05-121-80/+0
| | | | | | | and clean up the naming of the entire LoadLateDll declaration. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60040 13f79535-47bb-0310-9956-ffa450edef68
* Fix various return code problems in APR on Win32. For most oftrawick2000-05-011-12/+1
| | | | | | | | | | | these, APR was returning APR_EEXIST instead of GetLastError()/ WSAGetLastError(). There are still a few remaining places where APR_EEXIST is returned on Win32. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60007 13f79535-47bb-0310-9956-ffa450edef68
* back out APR_ prefix for TRUE,FALSEdougm2000-04-281-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59983 13f79535-47bb-0310-9956-ffa450edef68
* prefix TRUE,FALSE with APR_dougm2000-04-281-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59975 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate redundant calls to initialize the Winsock.stoddard2000-04-271-15/+16
| | | | | | | Submitted by: Tim Costello git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59960 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_config.h and apr_config.hw to apr_private.h and apr_private.hw.rbb2000-04-221-1/+1
| | | | | | | | This should make the fact that this is a private header file more obvious. This also updates all of the references to apr_config.h git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59924 13f79535-47bb-0310-9956-ffa450edef68
* APR_ENOCONT doesn't make any sense without contexts. Replaced them all withrbb2000-04-191-2/+2
| | | | | | | APR_ENOPOOL git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59892 13f79535-47bb-0310-9956-ffa450edef68
* Get Windows compiling after the ap_context_t --> ap_pool_t changestoddard2000-04-141-9/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59857 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesrbb2000-04-141-7/+7
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
* Win32: A few more tweaks to the late binding code as suggested by Greg Steinstoddard2000-04-131-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59835 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Small tweak to the late binding codestoddard2000-04-131-3/+4
| | | | | | | | Submitted by: William Rowe Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59834 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Add code to perform latebinding on functions that maystoddard2000-04-131-0/+22
| | | | | | | | | | | | | not exist on all levels of Windows where Apache runs. This is needed to allow Apache to start-up on Win95/98. All calls to non portable functions should be protected with ap_oslevel checks to prevent runtime segfaults. Submitted by: William Rowe Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59833 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Fix a bug in ap_get_oslevel which causes GetVersionEx() tostoddard2000-04-071-1/+33
| | | | | | | | | | | | | | | | | always fail. Need to initialise the dwOSVersionInfoSize member of the OSVERSIONINFO struct before calling GetVersionEx, so GetVersionEx always fails. The patch also enhances ap_get_oslevel (and the associated enum) to handle selected service packs for NT4, and adds recognition for Windows 2000. This is useful, eg. if we can recognise NT4 SP2 then we can use ReadFileScatter and WriteFileGather in readwrite.c. Submitted by: Tim Costello Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59813 13f79535-47bb-0310-9956-ffa450edef68
* Finish the APR naming cleanup. This removes the struct's fromrbb2000-04-031-2/+2
| | | | | | | | apr_variable declarations. This works on Unix, but a test compile on other platforms would be a good idea. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59773 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate apr_win.h and apr_winconfig.h (and the ugly #ifdefs they cause).stoddard2000-04-031-1/+1
| | | | | | | | | | | Now, apr.h and apr_config.h are generated from apr.hw and apr_config.hw at build time. At this point, the server will not compile on Windows because of the recent DSO commits. Fixing those next. Submitted by: Bill Rowe & Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59770 13f79535-47bb-0310-9956-ffa450edef68
* fix the rest of the struct foo_t to struct ap_foo_t. Next is removing therbb2000-04-031-2/+2
| | | | | | | struct's where possible. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59769 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1fielding2000-03-311-32/+31
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Tweaked APR initialization and termination so that the lifetimetrawick2000-03-281-2/+9
| | | | | | | | of memory management mutexes is longer than the lifetime of managed memory. APR apps must now call ap_terminate(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59746 13f79535-47bb-0310-9956-ffa450edef68
* Fix indentingstoddard2000-03-141-22/+22
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59702 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:rbb2000-03-101-9/+9
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59688 13f79535-47bb-0310-9956-ffa450edef68
* Make APR compile on Windows again. The changes that I introduced forrbb1999-12-091-1/+1
| | | | | | | | | autoconf had the undesirable effect of killing the Windows build. This still generates a few warnings, but at least it provides us with working code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59511 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Windows compile breaksstoddard1999-11-291-2/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59490 13f79535-47bb-0310-9956-ffa450edef68
* Plug some memory leaks, and eliminate a little redundant code.manoj1999-11-051-7/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59457 13f79535-47bb-0310-9956-ffa450edef68
* Make sure to use ap_null_cleanup instead of NULL when setting an emptymanoj1999-10-121-1/+1
| | | | | | | child_cleanup. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59321 13f79535-47bb-0310-9956-ffa450edef68
* Bring the misc code up to the APR parameter order spec. This also fixes a fewrbb1999-10-081-3/+4
| | | | | | | files I missed when doing the locks argument ordering fixes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59294 13f79535-47bb-0310-9956-ffa450edef68
* First patch to re-order function parameters. This one gets the low hangingrbb1999-10-041-2/+2
| | | | | | | | | | fruit, and moves most of the result parameters to the first argument. Future patches in this series will move the rest of the result parameters to the beginning of the list, and will move the context's to the end of the list git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59259 13f79535-47bb-0310-9956-ffa450edef68
* More syncing with the unix tree. There really should be a 'common' treestoddard1999-09-221-19/+49
| | | | | | | to put much of this stuff. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59232 13f79535-47bb-0310-9956-ffa450edef68
* Update argument liststoddard1999-09-221-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59231 13f79535-47bb-0310-9956-ffa450edef68
* Changed pools to contexts. Tested with prefork and pthread mpm's. I'llrbb1999-08-311-3/+3
| | | | | | | check this out tomorrow and make sure everything was checked in correctly. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59183 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation bugs in APR. Move compiled libraries into a common libsrbb1999-08-271-26/+0
| | | | | | | directory after building. Removed (signal|cancel)_safe flags from context. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59170 13f79535-47bb-0310-9956-ffa450edef68
* Initial revisionrbb1999-08-171-0/+212
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68