summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* another style nit caught by C::Scandougm2001-02-021-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61180 13f79535-47bb-0310-9956-ffa450edef68
* be consistent with 'const char * const *' spacing (noticed when parsing the ↵dougm2001-02-022-3/+3
| | | | | | | | | | | | tree with C::Scan) PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61179 13f79535-47bb-0310-9956-ffa450edef68
* clean up gcc warningtrawick2001-02-011-14/+14
| | | | | | | (testfile.c:74: warning: missing braces around initializer for `vfi[0]') git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61178 13f79535-47bb-0310-9956-ffa450edef68
* Keep expecting header updates to fly with the source branch :-/wrowe2001-02-011-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61177 13f79535-47bb-0310-9956-ffa450edef68
* - refactored out the common APR_FINFO_MIN setup into a single fillinwrowe2001-02-012-158/+138
| | | | | | | | | | | | | | | | | | | | function for consistency [required a small, slightly ugly hack.] - reverted the protection change from earlier today. Apache no longer requests protections (unless they truly need it, say in mod_dav_fs), and no longer assumes that the protection member reflects existance. - Added the name member to apr_stat, such that if APR_FINFO_NAME is requested from apr_stat/lstat, the name in true case is returned. This patch prepares for canonical optmization of Apache. [The code chooses to FindFirstFile instead of GetFileAttributesEx iff that field is required.] - Remaining needs; return name from apr_getfileinfo if it is reasonable, return device/inode/nlink from stat/dir_read if reasonable. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61176 13f79535-47bb-0310-9956-ffa450edef68
* Absolutely explicit that finfo.filetype APR_NOFILE is 0 (or false).wrowe2001-01-311-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61175 13f79535-47bb-0310-9956-ffa450edef68
* apr_stat() in http_request.c only needs size, type, mtime, ctime & atime ↵stoddard2001-01-312-4/+14
| | | | | | | | | values from the file. Modify apr_stat() under windows to accomodate apr_stat( APR_FINFO_MIN) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61174 13f79535-47bb-0310-9956-ffa450edef68
* Fix the export list builder to understand more preprocessor constructstrawick2001-01-311-6/+10
| | | | | | | | | | (like those in apr_user.h). Submitted by: Brian Havard Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61173 13f79535-47bb-0310-9956-ffa450edef68
* get rid of the bzero() macro which we spit out on platformstrawick2001-01-311-4/+0
| | | | | | | | | | | | | where we didn't think bzero() was implemented; it turns out that on SVR4 it is implemented but we spit out the macro anyway and clashed with a system header file As APR doesn't need to guarantee the existence of bzero(), the macro is gone. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61172 13f79535-47bb-0310-9956-ffa450edef68
* More doc improvements.ben2001-01-292-2/+13
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61171 13f79535-47bb-0310-9956-ffa450edef68
* Get this working on beos again so we can serve pages!dreid2001-01-291-7/+9
| | | | | | | | Some of the code improvements were suggested by Carlos Hasan <chasan@acm.org>. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61170 13f79535-47bb-0310-9956-ffa450edef68
* This fixes a funky compile problem for me.stoddard2001-01-291-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61169 13f79535-47bb-0310-9956-ffa450edef68
* use a form of preprocessing which buildexports.awk can handle;trawick2001-01-291-2/+2
| | | | | | | | exports.c now compiles on Unix, as it no longer tries to reference the macros apr_compare_users() or apr_compare_groups() git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61168 13f79535-47bb-0310-9956-ffa450edef68
* Larger volume structures can have more than 2^16 hardlinks to a singlewrowe2001-01-291-1/+2
| | | | | | | | | | file [absurd? yes.] This patch eliminates emits for Win32, shouldn't harm other platforms, and optimizes structure alignment in any case. My first reaction was to simply call it an int, feel free to offer up that change if you agree. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61167 13f79535-47bb-0310-9956-ffa450edef68
* Refactor out the 'extras' [not returned by the atomic get info call]wrowe2001-01-295-205/+298
| | | | | | | | and implement protections. The only bit missing, according to testfile.c are the dir_read/stat inode/dev/nlink fields [these are in getfileinfo] git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61166 13f79535-47bb-0310-9956-ffa450edef68
* Document these here, where I should have put them in the first place &-/wrowe2001-01-281-0/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61165 13f79535-47bb-0310-9956-ffa450edef68
* Moving a small OS2'ism into APR, it's pw_dir excludes the username.wrowe2001-01-281-0/+5
| | | | | | | | Return the expected result. Also noted the headers/os2errno changes from early this morning. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61164 13f79535-47bb-0310-9956-ffa450edef68
* Get tests building, and actually checking for libapr.la revisions towrowe2001-01-285-25/+123
| | | | | | | | | save debugging agrivation. Shout if I broke it. Win32 users should find the aprtest.dsw DevStudio workspace a lovely little place to get work done. [No help from MS - notice the .pl Makefile.in rewriter :-] git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61163 13f79535-47bb-0310-9956-ffa450edef68
* User and Group goodness. If anyone objects to the non-typesafe unixwrowe2001-01-284-3/+57
| | | | | | | implementation of apr_compare_users/groups - feel free to add saftey. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61162 13f79535-47bb-0310-9956-ffa450edef68
* Ignore files saved by configure.ben2001-01-282-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61161 13f79535-47bb-0310-9956-ffa450edef68
* User and Group (which is nearly always 'None') now works.wrowe2001-01-281-33/+30
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61160 13f79535-47bb-0310-9956-ffa450edef68
* Good looking wether out there.rbb2001-01-281-1/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61159 13f79535-47bb-0310-9956-ffa450edef68
* Clean up an alien out of the win32 make file dependencieswrowe2001-01-282-98/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61158 13f79535-47bb-0310-9956-ffa450edef68
* Revert back to dsp6 format, and add several newer headers to thesewrowe2001-01-283-16/+36
| | | | | | | projects. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61157 13f79535-47bb-0310-9956-ffa450edef68
* OS2 was chasing os2errno.h which we hid in a private platform directory,wrowe2001-01-2831-303/+1576
| | | | | | | | | | | | 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
* Remove --with-optim option in favor of OPTIM env variable.fielding2001-01-282-2/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61155 13f79535-47bb-0310-9956-ffa450edef68
* Update the status file after that very subtle and oh so gentle reminderdreid2001-01-281-7/+9
| | | | | | | from OtherBill. Thanks :) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61154 13f79535-47bb-0310-9956-ffa450edef68
* Don't add libmm.la to the list of libraries to link if it's not gettingbjh2001-01-281-1/+3
| | | | | | | built. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61153 13f79535-47bb-0310-9956-ffa450edef68
* Revert last change and solve warning by explicit cast. The need wouldfielding2001-01-282-4/+4
| | | | | | | have been obvious if dependencies were in the Makefile. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61152 13f79535-47bb-0310-9956-ffa450edef68
* Time to clean my contacts.fielding2001-01-281-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61151 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate the APR_SIG* aliases for standard signal names,fielding2001-01-284-97/+9
| | | | | | | since they serve no useful purpose. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61150 13f79535-47bb-0310-9956-ffa450edef68
* Remove compiler warnings due to lack of string.h and bad const onfielding2001-01-282-5/+8
| | | | | | | | | 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: http://svn.apache.org/repos/asf/apr/apr/trunk@61149 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate another warning.fielding2001-01-281-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61148 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate warning and redundant exit conditions.fielding2001-01-281-7/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61147 13f79535-47bb-0310-9956-ffa450edef68
* Yeah, it was right, but this gets rid of some compiler warnings too as OS/2'sbjh2001-01-281-2/+2
| | | | | | | native fd type is an unsigned long. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61146 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate some missing prototype warnings.fielding2001-01-282-0/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61145 13f79535-47bb-0310-9956-ffa450edef68
* Return to a GetFileAttributesEx() call for WinNT stat() calls.wrowe2001-01-281-120/+219
| | | | | | | | | | | | | 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: http://svn.apache.org/repos/asf/apr/apr/trunk@61144 13f79535-47bb-0310-9956-ffa450edef68
* Clean up drivel, and handle both int and huge apr_off_t sizeswrowe2001-01-281-4/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61143 13f79535-47bb-0310-9956-ffa450edef68
* One more downwrowe2001-01-281-4/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61142 13f79535-47bb-0310-9956-ffa450edef68
* Get Unix building again.rbb2001-01-282-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61141 13f79535-47bb-0310-9956-ffa450edef68
* Some win32 user and group handling functionswrowe2001-01-285-1/+211
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61140 13f79535-47bb-0310-9956-ffa450edef68
* Enable for user/group win32 (as PSIDs) and fix a small typowrowe2001-01-282-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61139 13f79535-47bb-0310-9956-ffa450edef68
* Add groupinfo.c for apr_get_groupname... win32 commit to follow in awrowe2001-01-285-11/+113
| | | | | | | | | | | | | | | 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: http://svn.apache.org/repos/asf/apr/apr/trunk@61138 13f79535-47bb-0310-9956-ffa450edef68
* Get the new userinfo stuff to compile cleanly.rbb2001-01-284-7/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61137 13f79535-47bb-0310-9956-ffa450edef68
* Added apr_get_username to the former homedir.c (now userinfo.c).wrowe2001-01-284-96/+33
| | | | | | | | | 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: http://svn.apache.org/repos/asf/apr/apr/trunk@61136 13f79535-47bb-0310-9956-ffa450edef68
* This patch sets the server running once again, except in cases wherewrowe2001-01-276-124/+118
| | | | | | | | | | | | | | | | | | | | | | | | | 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: http://svn.apache.org/repos/asf/apr/apr/trunk@61135 13f79535-47bb-0310-9956-ffa450edef68
* Add apr_open_stdout. This mirrors apr_open_stderr, except it worksrbb2001-01-275-15/+45
| | | | | | | | on stdout. Submitted by: cmpilato@collab.net git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61134 13f79535-47bb-0310-9956-ffa450edef68
* Clean up some uglyness ... here's what the flags now mean:wrowe2001-01-271-12/+8
| | | | | | | | | | | 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: http://svn.apache.org/repos/asf/apr/apr/trunk@61133 13f79535-47bb-0310-9956-ffa450edef68
* And why these values, anyways... abstract them outwrowe2001-01-271-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61132 13f79535-47bb-0310-9956-ffa450edef68
* apr_put_os_file() expected the caller to have an existing file or init togstein2001-01-263-42/+16
| | | | | | | | | | | | | | 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: http://svn.apache.org/repos/asf/apr/apr/trunk@61131 13f79535-47bb-0310-9956-ffa450edef68