| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
apr_time_exp_*() on Windows: Fix error in the tm_yday field of
apr_time_exp_t for times within leap years.
PR: 53175
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1372027 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
time/win32/timestr.c: all of r892188
include/arch/win32/apr_arch_file_io.h: part of r892386
misc/win32/rand.c: all of r892426
misc/win32/misc.c: part of r892177
misc/win32/internal.c: all of r892390
poll/unix/pollset.c: part of r892386
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1084310 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
to resolve some gcc warnings and dead code on Windows
(the testlfsabi change from r1083183 is omitted, as the testcases
aren't in this branch)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083869 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@649022 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
PR: 42953
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@558902 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the conversion of an APR time to an expanded local time. The APR code did have
fallback code for Win9x which did not call this function. The fallback code had
the deficiency of using the current offset for daylight savings time, not the
offset at the specified time.
PR: 39856
Submitted by: Curt Arnold <carnold apache.org>
Reviewed by: Davi Arnaut
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@543340 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
implemented on WinCE. The Unix implementation of this function is a no-op. The
attached patch makes the implementation a no-op for WinCE.
PR: 39857
Submitted by: Curt Arnold <carnold apache.org>
Reviewed by: Davi Arnaut
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@543337 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Originally titled: [patch 10/17] include path prefix win32/
Submitted by: John Mark Vandenberg
Reviewed by: Will Rowe (concept), Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@421349 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@219295 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
sizes in apr_size_t
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@170469 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for struct tm members tm_gmtoff and __tm_gmtoff (the check for
__tm_gmtoff seemed to be missing!).
* time/unix/time.c: Define NO_GMTOFF_IN_STRUCT_TM if neither member is found.
(get_offset, apr_os_exp_time_get, apr_os_exp_time_put): Use new macro names.
(apr_unix_setup_time): Use NO_GMTOFF_IN_STRUCT_TM.
* time/unix/timestr.c (apr_strftime): Use new macro names.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@125058 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Tipped-of-by: Uwe Zeisberger
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@76269 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2038, use apr_time_t to avoid overflow.
* time/win32/time.c (apr_time_exp_get): ditto
* test/testtime.c (test_2038): Add regression test.
Submitted by: Philip Martin <philip@codematters.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65026 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
upon Python at packaging time, but not at end-user config/build time. As far
as I can tell, the build continues to function properly. (out-of-dir
config/make not tested, and apr-iconv prolly needs some work)
The buildconf scripts now generate a build-outputs.mk file which is included
by the root's Makefile (via the build/gen-build.py script). bulid-outputs.mk
specifies all of the various files present in the distribution.
The top-level Makefiles were simplified to use an $(OBJECTS) symbol rather
than 'find'ing them. Similarly, a $(HEADERS) symbol is used for the exports.
The corresponding delete-* targets were eliminated since we have a precise
set of inputs.
The subdirs' Makefiles were removed since they are no longer called/used.
The apr-util/uri Makefile was responsible for compiling a C program to
generate the uri_delims.h file. That process was replaced by a Python script
to generate the header (called by buildconf). The .c and .dsp were left for
the Windows build to continue, but that should be revamped.
build/apr_rules.mk was revamped somewhat to avoid recursion, but a lot of
cleanup is still needed. Much of the recursive/local/x- logic is no longer
needed and can be elimianated. rules.mk was created for inclusion by N
makefiles, but that isn't really true any more, so it could probably be
tossed (caveat: test/Makefile). Saved for a phase 2.
Some additional work was added to properly clean up files in */build/,
rather than relying on a makefile in there.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64891 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_compare_groups
apr_compare_users
apr_current_userid
apr_explode_localtime
apr_explode_time
apr_filename_of_pathname
apr_get_groupid
apr_get_groupname
apr_get_home_directory
apr_get_userid
apr_get_username
apr_group_name_get
apr_implode_gmt
apr_lstat
FNM_NOMATCH
FNM_NOESCAPE
FNM_PATHNAME
FNM_PERIOD
FNM_CASE_BLIND
change the function args to this interface:
apr_mmap_dup
this function's args changed in a previous commit, so
mention that in CHANGES
apr_socket_create
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64607 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
of SystemTimeToTzSpecificLocalTime() for Win9x. Get the code building
cleanly until that happens.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64310 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DST (ok, this is Win9x, don't laugh to hard), then even 'Time Now' will
be in the wrong timezone. (NT code doesn't suffer from this problem,
although changing the -time zone- wouldn't affect the running instance
of Apache, which would remain on the old timezone.)
Solving this might be a puzzle for the parent process to pick up such
system config change notifications, and cycle over to a new child.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64309 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
The 9x code is just wrong, so this change doesn't make worse.
Anyone with interest in helping tear away this problem, please speak up.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64308 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64307 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Reintroduce the broken is_dst exported value for Win9x/ME until a better
solution is found. This clears up a segfault for Win9x attempting to
unpack times, while preserving the *good* behavior for WinNT in divining
the correct DST flag.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64306 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
given date, we need to change our strategy altogether from the old
FileTimeToLocalFileTime to the SystemTimeToTzSpecificLocalTime API.
We also need to leave the responsibility of mapping tm_gmtoff and
tm_isdst to the caller, because this isn't the function that can best
guess at the gyrations.
This code tests out fine after introducing %R to the win32 extra
translations. However, there is still the time zone disparity since
the existing tests only succeed on PST machines.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64286 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: https://svn.apache.org/repos/asf/apr/apr/trunk@64271 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
No functional changes
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64141 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_filename_of_pathname -> apr_filepath_name_get
apr_get_groupid -> apr_gid_get
apr_get_groupname -> apr_gid_name_get
apr_compare_groups -> apr_gid_compare
apr_parse_addr_port -> apr_port_addr_parse
apr_shutdown -> apr_socket_shutdown
apr_bind -> apr_socket_bind
apr_listen -> apr_socket_listen
apr_accept -> apr_socket_accept
apr_connect -> apr_socket_connect
apr_send -> apr_socket_send
apr_sendv -> apr_socket_sendv
apr_sendto -> apr_socket_sendto
apr_implode_gmt -> apr_time_exp_gmt_get
apr_get_home_directory -> apr_uid_homepath_get
apr_get_userid -> apr_uid_get
apr_current_userid -> apr_uid_current
apr_compare_users -> apr_uid_compare
apr_get_username -> apr_uid_name_get
apr_recvfrom -> apr_socket_recvfrom
apr_sendfile -> apr_socket_sendfile
apr_recv -> apr_socket_recv
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64043 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63793 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
patch defines a general API for doing so if the platform supports
toggling the clock resolution. Don't recommend doing so for HTTPD,
but flood and ab should appreciate it.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63792 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63485 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
since the first indirect APR release [APACHE_2_0_35]. Fortunately,
these appear to be the only bogusness detected between _35 and _36, and
_37 must follow suit with stubs for newly deprecated symbols.
Of course all stubs fall out with 1.0.0, which I picture Apache adopting
with stronger version controls in APACHE_2_1_x, but we will see what
concensus each project adopts between now and then.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63475 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
discrepancy with the Unix implementations. The second patch applies
to Unix implementations, no? gmtoff is independent of isdst, since
gmtoff must be relocatable to another calendar month when dst is
in it's other state [on/off boolean.]
Reported by: Jon Travis <jtravis@covalent.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63422 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(somehow CVS ignored updating these on the last commit.)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63287 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
srcdir to always be available in a Makefile, so we need to stop adding
this only when we use VPATH.
Change the dependency generation to use .deps instead of appending to
the Makefile. This makes us consistent with the dependency style of
httpd-2.0.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63286 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
(Justin made a few whitespace corrections.)
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63264 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Thom May <thom@planetarytramp.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63256 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Solaris, and HP-UX. It still seems to work fine on Linux
and FreeBSD :)
When we calculated server_gmt_offset at startup, we left it
vague about whether or not the GMT time passed to mktime()
was in d.s.t. mode. Since it is GMT it clearly is not
d.s.t. Apparently libc was trying to be clever and figuring
out whether or not it was d.s.t.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63230 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
caught ;)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63176 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Thom May <thom@planetarytramp.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63175 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Thom May <thom@planetarytramp.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63147 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_exploded_time_t.
PR:
Obtained from:
Submitted by: Thom May <thom@planetarytramp.org>
Reviewed by: Ian Holsman
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63090 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
now have gettimeofday() on NetWare. Also added a redefinition of the
timezone macro.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63080 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
for the WinCE port.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62968 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
didn't agree. Submitted by Mladen Turk <mturk@mappingsoft.com>
for his WinCE port.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62950 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: John K. Sterling <sterling@covalent.net>CVS: ----------------------------------------------------------------------CVS: PR:CVS: If this change addresses a PR in the problem report trackingCVS: database, then enter the PR number(s) here.CVS: Obtained from:CVS: If this change has been taken from another system, such as NCSA,CVS: then name the system in this line, otherwise delete it.CVS: Submitted by:CVS: If this code has been contributed to Apache by someone else; i.e.,CVS: they sent us a patch or a new module, then include their name/emailCVS: address here. If this is your work then delete this line.CVS: Reviewed by:CVS: If we are doing pre-commit code reviews and someone else hasCVS: reviewed your changes, include their name(s) here.CVS: If you have not had it reviewed then delete this line.CVS: ----------------------------------------------------------------------
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62853 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
offsets.
Submitted by: Jon Travis <jtravis@covalent.net>
Reviewed by: Justin, Brian, David
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62744 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62696 13f79535-47bb-0310-9956-ffa450edef68
|