summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* User and Group goodness. If anyone objects to the non-typesafe unixWilliam A. Rowe Jr2001-01-284-3/+57
| | | | | | | 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
* Ignore files saved by configure.Ben Laurie2001-01-282-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61161 13f79535-47bb-0310-9956-ffa450edef68
* User and Group (which is nearly always 'None') now works.William A. Rowe Jr2001-01-281-33/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61160 13f79535-47bb-0310-9956-ffa450edef68
* Good looking wether out there.Ryan Bloom2001-01-281-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61159 13f79535-47bb-0310-9956-ffa450edef68
* Clean up an alien out of the win32 make file dependenciesWilliam A. Rowe Jr2001-01-282-98/+0
| | | | git-svn-id: https://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 theseWilliam A. Rowe Jr2001-01-283-16/+36
| | | | | | | projects. git-svn-id: https://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,William A. Rowe Jr2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@61156 13f79535-47bb-0310-9956-ffa450edef68
* Remove --with-optim option in favor of OPTIM env variable.Roy T. Fielding2001-01-282-2/+4
| | | | git-svn-id: https://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 reminderDavid Reid2001-01-281-7/+9
| | | | | | | from OtherBill. Thanks :) git-svn-id: https://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 gettingBrian Havard2001-01-281-1/+3
| | | | | | | built. git-svn-id: https://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 wouldRoy T. Fielding2001-01-282-4/+4
| | | | | | | 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
* Time to clean my contacts.Roy T. Fielding2001-01-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61151 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate the APR_SIG* aliases for standard signal names,Roy T. Fielding2001-01-284-97/+9
| | | | | | | since they serve no useful purpose. git-svn-id: https://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 onRoy T. Fielding2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@61149 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate another warning.Roy T. Fielding2001-01-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61148 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate warning and redundant exit conditions.Roy T. Fielding2001-01-281-7/+9
| | | | git-svn-id: https://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'sBrian Havard2001-01-281-2/+2
| | | | | | | 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
* Eliminate some missing prototype warnings.Roy T. Fielding2001-01-282-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61145 13f79535-47bb-0310-9956-ffa450edef68
* Return to a GetFileAttributesEx() call for WinNT stat() calls.William A. Rowe Jr2001-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: https://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 sizesWilliam A. Rowe Jr2001-01-281-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61143 13f79535-47bb-0310-9956-ffa450edef68
* One more downWilliam A. Rowe Jr2001-01-281-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61142 13f79535-47bb-0310-9956-ffa450edef68
* Get Unix building again.Ryan Bloom2001-01-282-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61141 13f79535-47bb-0310-9956-ffa450edef68
* Some win32 user and group handling functionsWilliam A. Rowe Jr2001-01-285-1/+211
| | | | git-svn-id: https://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 typoWilliam A. Rowe Jr2001-01-282-3/+3
| | | | git-svn-id: https://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 aWilliam A. Rowe Jr2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@61138 13f79535-47bb-0310-9956-ffa450edef68
* Get the new userinfo stuff to compile cleanly.Ryan Bloom2001-01-284-7/+10
| | | | git-svn-id: https://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).William A. Rowe Jr2001-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: https://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 whereWilliam A. Rowe Jr2001-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: https://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 worksRyan Bloom2001-01-275-15/+45
| | | | | | | | 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
* Clean up some uglyness ... here's what the flags now mean:William A. Rowe Jr2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@61133 13f79535-47bb-0310-9956-ffa450edef68
* And why these values, anyways... abstract them outWilliam A. Rowe Jr2001-01-271-3/+3
| | | | git-svn-id: https://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 toGreg Stein2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@61131 13f79535-47bb-0310-9956-ffa450edef68
* Replaced use of unsupported function MoveFileEx() with MoveFile() forWilliam A. Rowe Jr2001-01-251-4/+24
| | | | | | | | | | 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
* * open.c (apr_open): Fixed deferencing of potentially NULL pointerWilliam A. Rowe Jr2001-01-251-1/+1
| | | | | | | | | | (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
* Oh, and add it to cvsignore...David Reid2001-01-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61128 13f79535-47bb-0310-9956-ffa450edef68
* Add a small test program for testing the new socket options code.David Reid2001-01-252-0/+224
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61127 13f79535-47bb-0310-9956-ffa450edef68
* Add code to allow APR to track the socket options it has set. ThisDavid Reid2001-01-256-34/+132
| | | | | | | | | 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
* Get OS/2 dir & stat code working with current API.Brian Havard2001-01-252-39/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61125 13f79535-47bb-0310-9956-ffa450edef68
* Get dependencies working again after change to libtool. The targets need to beBrian Havard2001-01-251-1/+1
| | | | | | | the .lo files now. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61124 13f79535-47bb-0310-9956-ffa450edef68
* Fix an error check logic which was broken with 1.43. This causedJeff Trawick2001-01-241-1/+1
| | | | | | | 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
* Transpose the order of evaluation for APR_LNK on win32William A. Rowe Jr2001-01-241-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61122 13f79535-47bb-0310-9956-ffa450edef68
* get filestat.c to compile againJeff Trawick2001-01-241-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61121 13f79535-47bb-0310-9956-ffa450edef68
* get the wording and formatting of a couple of messages more consistentJeff Trawick2001-01-241-2/+2
| | | | | | | with other configure messages git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61120 13f79535-47bb-0310-9956-ffa450edef68
* Fix someone else's typo in UnixWilliam A. Rowe Jr2001-01-241-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61119 13f79535-47bb-0310-9956-ffa450edef68
* Solve a break, now that we don't do anything with INODE from a readdirWilliam A. Rowe Jr2001-01-241-1/+1
| | | | | | | | | 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
* The last patch to unix/filestat.c added the APR_INCOMPLETE. This patchWilliam A. Rowe Jr2001-01-241-3/+18
| | | | | | | | | 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
* The csize solution does solve BeOS R4.5, so back that out of all unixWilliam A. Rowe Jr2001-01-242-8/+11
| | | | | | | | | | | | 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
* get rid of the extra semicolon, as it leads to a bazillionJeff Trawick2001-01-241-1/+1
| | | | | | | warnings on tru64 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61115 13f79535-47bb-0310-9956-ffa450edef68
* add a general-failure error code, for when a more specific code doesn'tGreg Stein2001-01-241-2/+3
| | | | | | | apply or isn't defined. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61114 13f79535-47bb-0310-9956-ffa450edef68
* Use a typesafe function for access objects' pools.Greg Stein2001-01-247-18/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61113 13f79535-47bb-0310-9956-ffa450edef68