summaryrefslogtreecommitdiffstats
path: root/os (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Include strings.h for strcasecmp(), strncasecmp(), and bzero().Jeff Trawick2000-06-281-0/+3
| | | | | | | | | | Include time.h for time(). This removes a bunch of compiler warnings with gcc -Wall on AIX. Submitted by: Jeff Trawick, Victor Orlikowski git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85723 13f79535-47bb-0310-9956-ffa450edef68
* blast the old names for the status codesGreg Stein2000-06-241-18/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85686 13f79535-47bb-0310-9956-ffa450edef68
* Get Win32 building after yesterday's patch to make MPM's explainAllan K. Edwards2000-06-221-0/+2
| | | | | | | where to change compiled-in limits. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85660 13f79535-47bb-0310-9956-ffa450edef68
* Remove unixd_detach function, because it is provided by APR as ap_detach.Ryan Bloom2000-06-202-73/+0
| | | | | | | | This also modifies the ap_detach function to look like unixd_detach. Finally all calls to unixd_detach are changed to ap_detach. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85635 13f79535-47bb-0310-9956-ffa450edef68
* Make unixd_config.user_name const char * instead of char * to avoidJeff Trawick2000-06-182-2/+2
| | | | | | | | a warning when the set-user-name command handler saves the address of the arg from the config file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85606 13f79535-47bb-0310-9956-ffa450edef68
* Time for these to be gone? I'd say it's long past :)William A. Rowe Jr2000-06-172-120/+0
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85603 13f79535-47bb-0310-9956-ffa450edef68
* More consification, correct command initialisation.Ben Laurie2000-06-172-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85599 13f79535-47bb-0310-9956-ffa450edef68
* Protect system header files with the appropriate macros.Ryan Bloom2000-06-133-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85558 13f79535-47bb-0310-9956-ffa450edef68
* Clean up a big chunk of ap_config.h. This basically stops ap_config.h fromRyan Bloom2000-06-121-0/+2
| | | | | | | | | | | | | including any files. Because of this change, other files must include their own headers. I also cleaned up a couple of other bugs in some modules because I had to compile them all. I expect this to break multiple platforms, but this will be fixed over time. The massive configure cleanup is almost done. I will go through the files one more time after this commit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85553 13f79535-47bb-0310-9956-ffa450edef68
* Fix Win32 compile break caused by Ryan's stat cleanup.Bill Stoddard2000-06-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85544 13f79535-47bb-0310-9956-ffa450edef68
* Remove the final vestiges of stat.h from Apache 2.0. All calls are now toRyan Bloom2000-06-122-3/+0
| | | | | | | | ap_stat. This also adds the new function ap_lstat(). This function is analogous to lstat. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85535 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup more of the Apache configuration. This removes all of the sharedRyan Bloom2000-06-101-1/+0
| | | | | | | | | | memory checks, because Apache relies completely on APR for shared memory support. In doing this, we also need to know how APR/MM are providing our shared memory (ie file or memory) that requires the change made to APR's configure script that was just committed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85501 13f79535-47bb-0310-9956-ffa450edef68
* Remove a bunch of string functions from Apache. These are basicallyRyan Bloom2000-06-091-7/+0
| | | | | | | | | | | standard string functions like strstr, strcasecmp, etc that Apache used to define for platforms that don't have them. These functions and the feature tests have moved down to APR where they really belong. In doing this, I am also able to remove a bunch of tests from the Apache configure process. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85487 13f79535-47bb-0310-9956-ffa450edef68
* Remove all occurances of strerror from Apache. ap_strerror works justRyan Bloom2000-06-093-5/+8
| | | | | | | | fine with standard errno values, and it is more portable. This also allows me to remove the check for strerror from Apache's configure script. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85486 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup APR header files a bit. Basically, this splits ap_table_t relatedRyan Bloom2000-06-081-1/+0
| | | | | | | | | functions into their own header file, away from apr_pools.h. At the same time as I was doing this, I removed a couple of definitions that aren't used anywhere anymore, like ap_child_info_t. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85473 13f79535-47bb-0310-9956-ffa450edef68
* Remove all occurances of gettimeofday. Replace it with ap_now whichRyan Bloom2000-06-081-1/+0
| | | | | | | provides the same function but works cross-paltform. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85463 13f79535-47bb-0310-9956-ffa450edef68
* Fix Win32 bug when pathname length exactly equals MAX_PATH.Allan K. Edwards2000-06-081-1/+1
| | | | | | | | This bug caused directory index to be displayed rather than returning an error. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85461 13f79535-47bb-0310-9956-ffa450edef68
* Fix some bad (1.3 style) parmlists to ap_log_error() which were introducedJeff Trawick2000-06-071-3/+3
| | | | | | | with the reintroduction of resource limiting logic. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85456 13f79535-47bb-0310-9956-ffa450edef68
* Add the resource limiting code back to Apache 2.0. This only works onRyan Bloom2000-06-062-1/+65
| | | | | | | | | | Unix because I can't find any other platforms with rlimit. If there are other platforms that need this code, then some of the code needs to move. This has just barely been tested, so it could probably use some good testing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85449 13f79535-47bb-0310-9956-ffa450edef68
* PR:William A. Rowe Jr2000-06-062-0/+20
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Just two quick fixes for the ApacheCore/ApacheCoreDll.dsp project split. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85438 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-05-271-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch corrects the issues from the AP_EXPORT and linkage specification arguments to the ap_hooks.h declarations. As with the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR, and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR. I will be happy to revert the inclusion of ap_config.h from httpd.h if this bothers anyone. More individual modules need to be patched if we do so. The API_EXPORTs all moved into central storage in the ap_config.h header. Without WIN32 or API_STATIC compile time declarations, these macros remain no-ops. This patch also moves the following data from http_main to http_config: const char *ap_server_argv0; const char *ap_server_root; ap_array_header_t *ap_server_pre_read_config; ap_array_header_t *ap_server_post_read_config; ap_array_header_t *ap_server_config_defines; And the following variables had already moved into ap_hooks.c: ap_pool_t *g_pHookPool; (initialized now in http_config) int g_bDebugHooks; (out of http_config) const char *g_szCurrentHookName; (out of http_config) The changes to http_main.c are in preparation for that module to move out to a seperate .exe for win32. Other platforms will be unaffected, outside of these changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85309 13f79535-47bb-0310-9956-ffa450edef68
* PR:William A. Rowe Jr2000-05-261-11/+13
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Just cleaning up API_EXPORT... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85306 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-05-191-0/+80
| | | | | | | | | | | | | | | | Fixes to allow Apache to run as a Win95 service... highlights main_win32.h : Moved delarations to a header, by request ap_listen.h : References types declared in http_config.h http_main.h : Add the Win32 flavor entry point declaration apr.hw : Cleanup the redundancy department of redundancy win32/proc.c : Double null termination was required here Everything else should be obvious and isolated to Win32. Build files will be committed seperately. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85253 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-05-171-1/+6
| | | | | | | | | Cleanup ap_config.h fallout for Win32. Only a few very minor changes to ap_config.h and util.c, but they might hurt someone... please watch those two carefully. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85237 13f79535-47bb-0310-9956-ffa450edef68
* PR:William A. Rowe Jr2000-05-171-1/+1
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Just a plain old screwup. If someone can give me syntax to backout a change rather than reverse it, I'd be much obliged git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85236 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Radical overhaul of the Apache-2.0/Win32 mpm <-> service schema. 1) Services and Registry are not part of the core Apache operations, so registry.c and service.c are moved into Apache.exe - assuring the service control layers of NT and 95 are truly isolated. 2) Isolation can't be complete, we need to know when the mpm is fully initialized. A new pointer to a no-arg function returning void is provided for this purpose, ap_mpm_init_complete. It is only called if overridden with a non-NULL value prior to invoking apache_main. 3) Control+C, Control+Break are handled on both WinNT and Win9x. 4) The window close, logoff and shutdown events are handled on WinNT. 5) The beginnings of a Win95 service startup are provided, -k startservice but this is horribly incomplete since Win95 will NOT report shutdown. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85235 13f79535-47bb-0310-9956-ffa450edef68
* Remove the dso code from the os/unix directory. These functions are notRyan Bloom2000-05-162-55/+1
| | | | | | | used in Apache anymore because they are part of apr. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85219 13f79535-47bb-0310-9956-ffa450edef68
* PR:William A. Rowe Jr2000-05-111-1/+0
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: A leftover I noticed cleaning up based addresses for 1.3.x git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85188 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-05-061-0/+5
| | | | | | | | | pcre lives and dies on the _WIN32 define, rather than WIN32... Adjusted os/win32/os.h to always declare _WIN32, and fixed up some goodies. Win32 now serves pages. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85163 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-05-012-8/+7
| | | | | | | | | | | | | | | Significantly shorten the Win32 build and shrink symbol tables for precompiled headers and debugging by eliminating large chunks of the windows.h declarations, especially the graphical user interface declarations. Also eliminates redundant inclusion of winsock and windows headers. As the GUI sections can be included by adding the windows.h include prior to any apr headers, these includes now imply something completely different. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85117 13f79535-47bb-0310-9956-ffa450edef68
* Add VPATH support to Apache:Sascha Schumann2000-04-302-7/+6
| | | | | | | | | | | | | | | os/$(OS_DIR) is now equivalent to the old $(OS_DIR) Necessary include paths are added only in VPATH mode. Dependencies are stored in the build directory now. They contain paths which depend on the current build, and therefore they are not general. Fixed two dependencies in main/Makefile.in. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85113 13f79535-47bb-0310-9956-ffa450edef68
* We want to build in the build dir, not the src dir.Sascha Schumann2000-04-301-1/+1
| | | | | | | s/top_srcdir/top_builddir/ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85109 13f79535-47bb-0310-9956-ffa450edef68
* Overall UNIX build system improvements:Sascha Schumann2000-04-304-20/+0
| | | | | | | | | | | | | | | | | * Makefile header is now completely dynamic * Absolute paths everywhere (fixes Tru64 support) * Get rid of LTLIBRARY_SHARED_NAME rule in library.mk (fixes Irix support, untested) * VPATH does not contain variables anymore (fixes UnixWare support) * Remove inclusion of program.mk in support/Makefile.in (PROGRAM_NAME is empty => breaks Irix and others) * Call REENTRANCY_FLAGS earlier, so that flags are passed to header checks (might fix OpenBSD pthread.h-detection, untested) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85102 13f79535-47bb-0310-9956-ffa450edef68
* PR:William A. Rowe Jr2000-04-281-4/+5
| | | | | | | | | | | Obtained from: Submitted by: William Rowe Reviewed by: First round of .cvsignore changes for Win32's droppings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85086 13f79535-47bb-0310-9956-ffa450edef68
* back out APR_ prefix for TRUE,FALSEDoug MacEachern2000-04-282-26/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85081 13f79535-47bb-0310-9956-ffa450edef68
* prefix TRUE,FALSE with APR_Doug MacEachern2000-04-282-26/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85074 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-04-281-0/+4
| | | | | | | | | | Replace ERROR constant with TODO_ERROR to flag these for review. ERROR is a Windows.h constant of 0, or success, and is unrelated to the error codes! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85071 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-04-281-3/+7
| | | | | | | | | | Replace ERROR constant with TODO_ERROR to flag these for review. ERROR is a Windows.h constant of 0, or success, and is unrelated to the error codes! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85070 13f79535-47bb-0310-9956-ffa450edef68
* Increase the default NumSIG value from 32 to 33 on behalf ofJeff Trawick2000-04-262-35/+38
| | | | | | | | OS/390. unix_siglist_init() will now blow up via ap_assert() if NumSIG is too low. (This is no fun to debug!) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85047 13f79535-47bb-0310-9956-ffa450edef68
* First cut at a file handle cache. It serves on Windows and should work onBill Stoddard2000-04-231-0/+1
| | | | | | | | | | Unix systems that implement sendfile. It is still very rough around the edges (compile warnings, does an unnecessary stat, not completely Unix friendly, leftover mod_mmap_static code, etc.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85020 13f79535-47bb-0310-9956-ffa450edef68
* Add ApacheModAuthDigest to apache.dsw. Get rid of compile warnings.Bill Stoddard2000-04-221-10/+10
| | | | | | | | Submitted by: William Rowe Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85014 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Get mod_auth_digest compiling and added to the WindowsBill Stoddard2000-04-221-1/+1
| | | | | | | | build environment. Not tested and I'd be suprised if it actually works. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85012 13f79535-47bb-0310-9956-ffa450edef68
* Revamp the Win32 make environment. Makefiles have been removed andBill Stoddard2000-04-201-0/+24
| | | | | | | | | | | | Apache.dsw created to bring together all the pieces. Create new file os/win32/BaseAddr.ref to define module base addresses (to prevent dll relocation at start-up). Submitted by: William Rowe Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85004 13f79535-47bb-0310-9956-ffa450edef68
* Win32: First cut at getting mod_isapi working under 2.0Bill Stoddard2000-04-152-272/+284
| | | | | | | Submitted by: William Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84976 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesRyan Bloom2000-04-146-15/+15
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84963 13f79535-47bb-0310-9956-ffa450edef68
* Fix minor configuration & platform dependenciesMartin Kraemer2000-04-142-5/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84962 13f79535-47bb-0310-9956-ffa450edef68
* Under OS/2 (well actually EMX gcc) libraries don't have a 'lib' prefix. InBrian Havard2000-04-041-1/+4
| | | | | | | main code libtool handles it. This deals with APR. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84905 13f79535-47bb-0310-9956-ffa450edef68
* ap_os_kill isn't being used now as it's in APR, so remove it!David Reid2000-04-041-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84902 13f79535-47bb-0310-9956-ffa450edef68
* Start cleaning up the beos directory. DSO stuff is now in APR.David Reid2000-04-043-70/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84901 13f79535-47bb-0310-9956-ffa450edef68
* Get APR DSO code working under WindowsBill Stoddard2000-04-031-11/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84898 13f79535-47bb-0310-9956-ffa450edef68