| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
implementation of apr_compare_users/groups - feel free to add saftey.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61162 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61161 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61160 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61159 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61158 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
projects.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61157 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: https://svn.apache.org/repos/asf/apr/apr/trunk@61156 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61155 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
from OtherBill. Thanks :)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61154 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
built.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61153 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
have been obvious if dependencies were in the Makefile.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61152 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61151 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
since they serve no useful purpose.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61150 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
the second argument of iconv (the Linux man pages show an incorrect
prototype -- the header files and single Unix spec say that there
is no const).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61149 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61148 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61147 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
native fd type is an unsigned long.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61146 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61145 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Next patch will reintroduce the stat()-by-open() - but only after
we optimize it to do so when -required- (for inode, dev, or nlink).
But not tonight.
Adds User and Group results as PSID data. This is only meaningful
through the apr/user package, which right now only returns names.
apr/user still needs (minimally) a compare function.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61144 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61143 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61142 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61141 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61140 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61139 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
moment.
Note: I have no clue if getgrgid_r is implemented by anyone anywhere,
it was a best guess at a threadsafe flavor.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61138 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61137 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
HAVE_GETPWNAM_R is likely the wrong test for HAVE_GETPWUID_R, but I have
no clue if that featuretest is already compiled. Unix folk, please
adjust accordingly.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61136 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it still expects APR_SUCCESS responses to an APR_FINFO_NORM apr_stat.
Most of those are gone, those that remain are hiding in the modules.
Radically refactored apr_stat/lstat/getfileinfo/dir_read for Win32
to assure we are retrieving what we expect to retrieve, and reporting
the correct result (APR_SUCCESS or APR_INCOMPLETE). The potential
for a bit more optimization still remains.
While we have the future opportunity to cache the apr_stat'ed file
handle for a very fast open (dup handle) on Win32, patched to close
that file after a stat always. Needs a new semantic before we leave
handles dangling when the user intends to rm.
Correct Win32 apr_stat/lstat/getfileinfo/dir_read to all zero out
the finfo buffer on success (or incomplete success).
Fix Win32/Unix apr_lstat to throw the .valid bit APR_FINFO_LINK to
indicate we attempted to open the link. Only the .filetype APR_LNK
reflects if the file found was, in fact, a link.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61135 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
on stdout.
Submitted by: cmpilato@collab.net
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61134 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
info->type & APR_FINFO_LINK - ok, we looked for a link
info->filetype == APR_LNK - yup, we got a link
This is likely why unix users were reporting 'unexpected'
APR_INCOMPLETE return values.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61133 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61132 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NULL. using an existing file doesn't normally work: where would you get a
blank file to shove an FD into? expecting the user to assign to NULL is
error-prone (mod_isapi didn't).
*) always create and return a new file from apr_put_os_file()
*) reimplement apr_open_stderr() in terms of apr_put_os_file()
[ except for win32... some issues there ]
*) remove some (obsolete) inits to NULL
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61131 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
pre-Windows NT (Win95/98) OS levels. This may require a look-see in
the future, but adds functionality where none was present.
Submitted by: Mike Pilato <cmpilato@collab.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61130 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
(and incorrect logic, at any rate) in call to
CreateFileA( ).
Submitted by: Mike Pilato <cmpilato@collab.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61129 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61128 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61127 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
code aims to minimise the number of syscalls required to determine the
state of a socket. The next step is to change the os_cork/os_uncork
code to use basic apr calls and hence make use of this ability.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61126 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61125 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
the .lo files now.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61124 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
apr_dir_read() to fail for builds which use readdir_r().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61123 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61122 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61121 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
with other configure messages
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61120 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61119 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
call on unix.
Reported by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61118 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
teaches apr_dir_read to respect that result and return it itself.
Proposed by: Greg Stein
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61117 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
paths until some better logic (al la libtool) is coded.
The asize field is insufficiently defined, so it is removed.
Submitted by: Sam TH <sam@uchicago.edu>
Reviewed by: Greg Stein, Will Rowe
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61116 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
warnings on tru64
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61115 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
apply or isn't defined.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61114 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61113 13f79535-47bb-0310-9956-ffa450edef68
|