summaryrefslogtreecommitdiff
path: root/time
Commit message (Collapse)AuthorAgeFilesLines
* Solaris doesn't have (struct tm *)->tm_gmtoff, so the server logstrawick2001-06-221-13/+4
| | | | | | | | | | | | | | | | | | | | | were written in GMT regardess of the system timezone. (The well-known Solaris headache) The Solaris-kludge did exist and worked in 2.0.16 of srclib/apr/time/unix/time.c:apr_explode_localtime(), but the code was moved from apr_explode_localtime() to set_xt_gmtoff_from_tm() around version 1.38. So the attached patch will use tm_to_exp() (which calls set_xt_gmtoff_from_tm()) in apr_explode_localtime(), which fixed the problem. PR: 7902 Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp> Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61793 13f79535-47bb-0310-9956-ffa450edef68
* Something is still broken with the testtime, but this gets us building.wrowe2001-06-061-0/+13
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61718 13f79535-47bb-0310-9956-ffa450edef68
* help OS/390 recover from its post-Hackathon hangovergregames2001-04-191-0/+2
| | | | | | | | (don't use try to use tm_gmtoff if it doesn't exist, and neither does _POSIX_THREAD_SAFE_FUNCTIONS) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61542 13f79535-47bb-0310-9956-ffa450edef68
* Fix OS/2 build where we have no gmtime_r (or an *_r's for that matter) orbjh2001-04-171-1/+10
| | | | | | | tm_gmtoff. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61524 13f79535-47bb-0310-9956-ffa450edef68
* Fix detection of tm_gmtoff in struct tm, and remove some warnings.rbb2001-04-141-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61522 13f79535-47bb-0310-9956-ffa450edef68
* Daniel Padwa <daniel.padwa@gs.com> pointed out the last patch brokedreid2001-04-122-2/+10
| | | | | | | | | | | | the build on Solaris, so this patch is an attempt to get it building again. The eventual solution will be more general access functions for getting/setting the timezone from the different structures. I've made a partial start at it. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61519 13f79535-47bb-0310-9956-ffa450edef68
* Some adjustments to the time code that gets us working better with timezones.dreid2001-04-122-69/+54
| | | | | | | Also change the beos sleep to use snooze instead of select. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61515 13f79535-47bb-0310-9956-ffa450edef68
* REVIEW Req'd ... solve the implode/explode discrepancy, but I hacked thiswrowe2001-04-021-30/+19
| | | | | | | | at 40,000 ft, and my brain was not altogether there. This merits discuss at the Hackathon git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61431 13f79535-47bb-0310-9956-ffa450edef68
* Hmmm... on this (rare) point the castless caste looses :-/wrowe2001-03-311-1/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61407 13f79535-47bb-0310-9956-ffa450edef68
* Fix the hosed #ifdef APR_HAVE_FOO_H tests, the #if HAVE_ tests, andwrowe2001-02-252-6/+6
| | | | | | | also cleanup s/#ifdef HAVE_FOO_H/#if APR_HAVE_FOO_H/ whrere appropriate. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61303 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001fielding2001-02-165-5/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
* s/pupt/put/g typodougm2001-02-082-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61195 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakedougm2001-02-082-10/+10
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
* Win32: (IsLeapYear): New macro for quickly figgerin' out if a given year is astoddard2001-02-021-3/+17
| | | | | | | | | | | | | | leap year. (SystemTimeToAprExpTime): Perform the calculation of tm_yday. Also, negate the sign of the tm_gmtoff field to be consistent with Unix platforms and APR header file comments. ToDo: Perhaps the IsLeapYear macro is useful for other OSes. Submitted by: Mike Pilato Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61181 13f79535-47bb-0310-9956-ffa450edef68
* OS2 was chasing os2errno.h which we hid in a private platform directory,wrowe2001-01-281-4/+0
| | | | | | | | | | | | but apr_errno.h is public. It also called in <os.h> with possibly inappropriate headers, and if os2.h follows any other header's usual conventions, calling it the second time for more declarations can be dicey. Relocated <os2.h> into apr.h.in (accessable to all, since it's later leveraged by most), which simplifies a bunch of code, and relocate all of the os2errno values into apr_errno.h for APR_STATUS_IS_FOO tests. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61156 13f79535-47bb-0310-9956-ffa450edef68
* Add remaining APR_DECLARE()s to all headers. Conditionally addedwrowe2001-01-182-17/+25
| | | | | | | | | | | | | | | | | | | | APR_DECLARES() to the sources, based on compilation emits (there are many that should be changed eventually, but the compiler will emit errors if those sources are added for win32). This change also splits libapr from apr, so the two projects are compiled seperately. Both .dsp files must be kept up-to-date with source file revisions. Finally, libapr.def is no longer needed - so it is gone. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61072 13f79535-47bb-0310-9956-ffa450edef68
* Libtool-ize APR.gstein2001-01-092-24/+8
| | | | | | | | | | | | | | | | | To simplify the task, I also shifted the Makefiles to include a rules.mk (based on APRUTIL's with a few tweaks). Still needs some work to remove the INCLUDES setup in all the Makefiles (these can be shared). buildconf now does more work (and generates some output) aclocal.m4 is based on a number of M4 files, rather than standalone apr/test/ has been updated but is probably broken in a few ways. objs/ is now gone. we link directly from the .lo files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61037 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_private.h.in from the include directory to the arch/unixrbb2000-12-081-1/+2
| | | | | | | | | | | directory. This removes all temptation to include apr_private.h from outside of APR, because it just isn't available. This also highlighted a bunch of holes in our header file setup. Basically, just directories that were never migrated to the curret setup. Submitted by: Will Rowe and Ryan Bloom git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60919 13f79535-47bb-0310-9956-ffa450edef68
* This patch removes the dependencies from Makefile.in. Dependenciestrawick2000-11-151-41/+2
| | | | | | | | | | | | | | | | | will not be checked into CVS, as they are added to Makefile when the user runs "make depend." The exact mechanism for building dependencies is moved to a script called mkdep.sh in the APR helpers directory. Folks are free to make the mechanism more general (i.e., work on systems without gcc -MM), but for now it still requires gcc -MM. The patch also removes some commented out variable definitions and rules. BeOS- and OS/2-specific makefiles have not been updated. I'll post a patch to those or go ahead and commit them later, but David and Brian will get to test them. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60727 13f79535-47bb-0310-9956-ffa450edef68
* Move all of the time private header files to an arch directory underrbb2000-11-095-76/+4
| | | | | | | | | the include directory. All private header files for APR are being moved. This allows platforms that only implement some of the APR types to compile cleanly. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60661 13f79535-47bb-0310-9956-ffa450edef68
* add missing functiongstein2000-11-031-0/+4
| | | | | | | | Submitted by: Branko Cibej <brane@xbc.nu> Reviewed by: Greg Stein git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60628 13f79535-47bb-0310-9956-ffa450edef68
* Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbolswrowe2000-10-162-4/+4
| | | | | | | | | | for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper) and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE. All _VAR_ flavors changes to _DATA to be absolutely clear. Thank you Greg, for the most obvious suggestion. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
* Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...wrowe2000-08-065-70/+73
| | | | | | | | | | | | | see src/lib/apr/apr_compat.h for most details. Also a few minor nits to get Win32 to build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60481 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_dougm2000-08-026-65/+65
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
* torch some obsolete/unused functions.gstein2000-07-081-25/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60316 13f79535-47bb-0310-9956-ffa450edef68
* Update dependancies in APRrbb2000-07-071-2/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60315 13f79535-47bb-0310-9956-ffa450edef68
* Continuing the cleanup of beos code.dreid2000-06-171-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60214 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Fix problem with UTC offset not being correctly reported in thestoddard2000-06-161-4/+23
| | | | | | | access log. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60211 13f79535-47bb-0310-9956-ffa450edef68
* Update dependencies.ben2000-06-111-12/+14
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60173 13f79535-47bb-0310-9956-ffa450edef68
* Use OS/2 native call in ap_sleep().bjh2000-06-111-3/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60169 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_time_t to ap_interval_time_t for ap_sleep.rbb2000-06-081-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60152 13f79535-47bb-0310-9956-ffa450edef68
* Both of these need apr_private.h in order to include the correct headers.rbb2000-06-072-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60151 13f79535-47bb-0310-9956-ffa450edef68
* Add a new ap_sleep function for apr. This basically sleeps for a specifiedrbb2000-06-071-1/+7
| | | | | | | number of microseconds. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60150 13f79535-47bb-0310-9956-ffa450edef68
* We don't actually use anything in atime.h, so get rid of it, and includerbb2000-06-074-85/+25
| | | | | | | all of the headers in the .c files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60149 13f79535-47bb-0310-9956-ffa450edef68
* PR:wrowe2000-05-282-4/+4
| | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Fix the last of the tags APR_EXPORT_VAR and APR_IMPORT_VAR to the accepted APR_VAR_EXPORT and APR_VAR_IMPORT. This patch finally includes the apr.h.in file (newly added to my grepper). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60111 13f79535-47bb-0310-9956-ffa450edef68
* Fixup a couple of rename's missed APR_VAR_EXPORT->APR_EXPORT_VARrbb2000-05-272-4/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60110 13f79535-47bb-0310-9956-ffa450edef68
* PR:wrowe2000-05-272-4/+4
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Reverse out APR_EXPORT_VAR to APR_VAR_EXPORT from early this week, to maintain consistency with the Apache core project. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60109 13f79535-47bb-0310-9956-ffa450edef68
* Mass update of API_IMPORT/EXPORT symbols TO APR_ symbols.wrowe2000-05-262-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | APR is -NOT- the Apache server, so the import/export declations cannot use the same defined symbols. Other minor changes API_THREAD_PROC is now APR_THREAD_PROC. API_VAR_IMPORT/EXPORT are now APR_IMPORT/EXPORT_VAR, to allow easier grepping. The new compilation switches APR_STATIC and APR_EXPORT_SYMBOLS allow the builder to select either static linked or the creation of the export symbols for APR. The aprlib and aprlibdll .dsp projects now include the later symbol. More cleanups from recent commits are still needed, as well as a thorough review of the distinction between APR_EXPORT and APR_EXPORT_NONSTD. The later is used only for pure __cdecl required functions, such as variable arguments (not va array arguments, those are not an issue.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60101 13f79535-47bb-0310-9956-ffa450edef68
* Make `mm' an INCDIR in shmem/unix, so that the INCDIR rewriter cansascha2000-04-301-1/+0
| | | | | | | | | automatically adapt it for VPATH use. Remove $(OBJS): Makefile dependency to avoid unnecessary rebuilds. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59998 13f79535-47bb-0310-9956-ffa450edef68
* Update comment for depend target. The template makefiles are now calledsascha2000-04-301-1/+1
| | | | | | | Makefile.in, and Configure became configure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59996 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_config.h and apr_config.hw to apr_private.h and apr_private.hw.rbb2000-04-223-4/+4
| | | | | | | | 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
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesrbb2000-04-144-6/+6
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
* more documentation movementdgaudet2000-04-141-55/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59841 13f79535-47bb-0310-9956-ffa450edef68
* Fix some of the Windows APR time functions.stoddard2000-04-042-2/+4
| | | | | | | | Submitted by: William Rowe Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59786 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
* Update to Apache Software License version 1.1fielding2000-03-317-222/+216
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Last doc update.rbb2000-03-151-7/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59713 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:rbb2000-03-107-63/+63
| | | | | | | | | 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
* another unused warningdgaudet2000-03-021-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59672 13f79535-47bb-0310-9956-ffa450edef68
* Make some of the APR to Windows time conversion routines available to otherstoddard2000-02-011-5/+3
| | | | | | | APR functions. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59634 13f79535-47bb-0310-9956-ffa450edef68