summaryrefslogtreecommitdiff
path: root/test/testargs.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright to 2001fielding2001-02-161-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakedougm2001-02-081-2/+2
| | | | | | | | | | | 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
* Get testfile.c to compile when APR_FILES_AS_SOCKETS is defined.trawick2001-01-231-1/+1
| | | | | | | Clean up gcc warnings on the closeapr() atexit function. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61108 13f79535-47bb-0310-9956-ffa450edef68
* Commit a bunch of cleanups to get win32 going again. Note the apr.dspwrowe2001-01-231-1/+6
| | | | | | | | built in debug mode is required to actually make these build. There are still todo's for win32 (need cl debug flags, for one). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61100 13f79535-47bb-0310-9956-ffa450edef68
* Add an extra const into the getopt functions. We never attempt to modify anygstein2000-11-291-1/+1
| | | | | | | | of the data, so the const is proper. This also allows clients to pass const data in. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60812 13f79535-47bb-0310-9956-ffa450edef68
* add a "default:" case, just to be sure.gstein2000-11-251-7/+20
| | | | | | | | print out any additional arguments. factor out the maybe_arg() functionality. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60793 13f79535-47bb-0310-9956-ffa450edef68
* Fix the Win32 linker .def for APR (for my last several commits), andwrowe2000-08-091-5/+12
| | | | | | | | | | | | provide the first real 'test' of the new apr_initopt/apr_getopt. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60492 13f79535-47bb-0310-9956-ffa450edef68
* Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...wrowe2000-08-061-3/+3
| | | | | | | | | | | | | 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-021-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesrbb2000-04-141-2/+2
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
* call ap_initialize() and ap_terminate()trawick2000-04-031-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59763 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1fielding2000-03-311-32/+31
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Update the test programs so they work with ap_getopt again.rbb2000-03-151-1/+1
| | | | | | | Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59709 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:rbb2000-03-101-9/+9
| | | | | | | | | 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
* Fix the logic in blocking vs non-blocking pipes to children. It onlyrbb1999-12-031-1/+1
| | | | | | | | makes sense to change the blocking attributes of a pipe if we actually are successful in creating the pipe. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59501 13f79535-47bb-0310-9956-ffa450edef68
* Clean up the getopt stuff a bit. Basically, I am removing the #define's,rbb1999-11-221-4/+3
| | | | | | | | and changing the names in the getopt.c file so that we are sure there is no namespace collision between regular getopt's, and APR's getopt. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59483 13f79535-47bb-0310-9956-ffa450edef68
* With the removal of the signalling logic, this should have gone away too.rbb1999-11-221-1/+0
| | | | | | | We no longer try to compile a test program for functions we don't have. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59482 13f79535-47bb-0310-9956-ffa450edef68
* Under Linux, I always got amartin1999-11-201-0/+1
| | | | | | | | | | | | "libc.so.6: Warning: definition of 'optarg' overriding common libapr(getopt.o): warning: common is here" To make matters cleaner, I added an apr_getopt.h to go with the various copies of getopt.c in the os subdirectories. In this header, I renamed all getopt-API functions to "apr_<apiname>". This avoids name clashes with system libraries. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59481 13f79535-47bb-0310-9956-ffa450edef68
* First patch to re-order function parameters. This one gets the low hangingrbb1999-10-041-1/+1
| | | | | | | | | | fruit, and moves most of the result parameters to the first argument. Future patches in this series will move the rest of the result parameters to the beginning of the list, and will move the context's to the end of the list git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59259 13f79535-47bb-0310-9956-ffa450edef68
* A change to how APR uses user data. Now, user data is a linked list thatrbb1999-09-141-1/+1
| | | | | | | | | | | | | is retreivable using a char string. Basically, you provide a string that will be used as a key when you store the data. If the key was used before, we will overwrite the old data. When you want to retreive your data, pass in the same key, and we will find the data you care about. This also makes it harder to put user data in when creating a context, so that option has disappeared. It is also impossible to inherit user data from parent contexts. This option may be added in later. I will be documenting this VERY soon. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59223 13f79535-47bb-0310-9956-ffa450edef68
* Initial revisionrbb1999-08-171-0/+95
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68