aboutsummaryrefslogtreecommitdiff
path: root/file_io/os2
Commit message (Collapse)AuthorAge
...
* OS/2: Implement apr_file_mtime_set().Brian Havard2005-07-16
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@219295 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Using apr_file_rename() to replace one file with another doesn't workBrian Havard2005-06-29
| | | | | | | | | | | on some types of network drive as the file system driver returns a different error code when an attempt is made to rename to an existing file name. Allow for this error code, ERROR_ALREADY_EXISTS. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@202348 13f79535-47bb-0310-9956-ffa450edef68
* Bug #33844: OS/2: file opened with APR_CREATE would be truncated if APR_APPENDBrian Havard2005-06-04
| | | | | | | wasn't also given. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@180013 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-04
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* property cleanupAndré Malo2004-11-24
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@106483 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Add implementation of apr_dir_make_recursive().Brian Havard2004-11-24
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@106404 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.Joe Orton2004-11-18
| | | | | | | Tipped-of-by: Uwe Zeisberger git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@76269 13f79535-47bb-0310-9956-ffa450edef68
* Simplify excessive copies when the string isn't transformed to upper.William A. Rowe Jr2004-06-28
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65224 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: In apr_file_info_get(), flush any unwritten buffered data before queryingBrian Havard2004-05-22
| | | | | | | | the file's details to ensure the file size is correct. This matches the behaviour of the unix implementation & make subversion happy. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65111 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Fix incorrect return of APR_EOF when a 0 length read is requestedBrian Havard2004-05-22
| | | | | | | Found while porting subversion. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65109 13f79535-47bb-0310-9956-ffa450edef68
* Fix sign error in apr_file_seek().Jeff Trawick2004-05-04
| | | | | | | | Submitted by: Greg Hudson <ghudson MIT.EDU> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65086 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0Justin Erenkrantz2004-02-13
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
* First whack at switching to a single top-level make. This adds a dependencyGreg Stein2004-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* OS/2: Include APR_FINFO_LINK in the valid flags by default. As OS/2 doesn'tBrian Havard2003-11-19
| | | | | | | | have sym-links we can be sure the filename isn't one. This keeps the call to apr_stat() in apr_filepath_merge() happy instead of getting APR_INCOMPLETE. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64775 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Remove the apr_pollset_t from apr_file_t. File handles can't be polledBrian Havard2003-11-19
| | | | | | | on OS/2 so having it doesn't serve any purpose. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64774 13f79535-47bb-0310-9956-ffa450edef68
* With the removal of apr_poll(), the apr_wait_for_io_or_timeout() functionGreg Stein2003-11-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | needed to be rebuilt. Specifically, it needs a pollset, but we don't want to allocate that all the time. Thus, we need to create it once at socket or file creation time, and then reuse that pollset. NOTE: this makes the library compile, but some of the test programs may not. I have also not verified this work yet (in favor of just getting it to at least compile...) For the apr_arch_*.h files, I added a pollset member to the file and socket structures. For the various open/dup/etc functions, I added the creation of that pollset whenever a file or socket is created. (I may have missed some and will verify further) For the socket create and sendrecv function, I added the creation of the pollset. (again, may have missed some, but if everybody uses alloc_socket, then we should be okay) * support/unix/waitio.c: rebuild in terms of the pollset git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64759 13f79535-47bb-0310-9956-ffa450edef68
* Forward port from APR_0_9_BRANCH:Sander Striker2003-10-26
| | | | | | | | | | Add apr_os_pipe_put_ex(), which allows the caller to tell APR to establish a cleanup on the pipe. Submitted by: Jeff Trawick, Brad Nicholes git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64695 13f79535-47bb-0310-9956-ffa450edef68
* remove these interfaces:Jeff Trawick2003-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Include apr_temp_dir_get() in OS/2 build.Brian Havard2003-08-29
| | | | | | | One of TMP or TEMP will normally be defined on OS/2 so the code's fine as it is. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64598 13f79535-47bb-0310-9956-ffa450edef68
* Finish the new timestamp-setting API, thanks to helpful tips fromBen Collins-Sussman2003-07-08
| | | | | | | | | | | | | | | | Brane and Cliff. Hopefully this will go out in httpd-2.0.48, and then subversion can make use of it. * configure.in: use AC_CHECK_FUNCS to look for utimes() and utime(). * file_io/unix/filestat.c (apr_file_mtime_set): use the new constants. * file_io/netware/filestat.c (apr_file_mtime_set): add dummy placeholder. * file_io/os2/filestat.c (apr_file_mtime_set): add dummy placeholder. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64566 13f79535-47bb-0310-9956-ffa450edef68
* Added flag APR_FILE_ATTR_HIDDEN for manipulating the "hidden" fileBranko Čibej2003-05-24
| | | | | | | | | attribute on Windows and OS/2. Also changed the apr_file_attrs_set implementations to not make any syscalls if the requested attributes are not supported on the platform. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64510 13f79535-47bb-0310-9956-ffa450edef68
* apr_file_gets(): Return APR_SUCCESS if any characters areJeff Trawick2003-05-01
| | | | | | | | | | returned. Any I/O errors or EOF will be reported on the next call. Callers that are coded to expect returned data + APR_EOF when there is no final newline are affected by this change. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64498 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: apr_stat() fixesBrian Havard2003-03-31
| | | | | | | | - When a character device is stat'ed, fill in finfo.name if it was asked for. - return APR_INCOMPLETE when appropriate. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64463 13f79535-47bb-0310-9956-ffa450edef68
* Correct apr_file_gets() on OS2 and Win32 so that '\r's are no longerWilliam A. Rowe Jr2003-03-04
| | | | | | | | | | eaten, and apr_file_gets() -> apr_file_puts() moves the contents uncorrupted. Reviewed by bicholes and brane git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64396 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Don't return the apr_file_t if the open failed.Brian Havard2003-03-02
| | | | | | | This is consistent with the other platforms & is required to pass the file tests. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64390 13f79535-47bb-0310-9956-ffa450edef68
* Include filepath_util.c in OS/2 build.Brian Havard2003-02-26
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64384 13f79535-47bb-0310-9956-ffa450edef68
* rename apr_arch_fileio.h to apr_arch_file_io.h for consistencyThom May2003-01-07
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64275 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protection for include/arch/ header filesThom May2003-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* OS/2: Return APR_TIMEUP from apr_file_read() when a pipe times out.Brian Havard2003-01-02
| | | | | | | Was returning the "no data" error code. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64253 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Fill in finfo->fname, was being left uninitialized.Brian Havard2003-01-02
| | | | | | | This gets File Info test to pass. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64252 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.Thom May2003-01-01
| | | | | | | No functional changes git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Fix file open flag manipulation so that APR_EXCL actually works. ThisBrian Havard2002-12-26
| | | | | | | also fixes a number of other testfile failures. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64209 13f79535-47bb-0310-9956-ffa450edef68
* Brian, for your review. Start catching those scenarios which are UNKFILEWilliam A. Rowe Jr2002-12-17
| | | | | | | rather than NOFILE on OS2. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64184 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Add implementation of apr_os_pipe_put().Brian Havard2002-10-19
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63950 13f79535-47bb-0310-9956-ffa450edef68
* Missed one transformWilliam A. Rowe Jr2002-10-13
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63913 13f79535-47bb-0310-9956-ffa450edef68
* Prepare to eliminate a platform specificWilliam A. Rowe Jr2002-10-13
| | | | | | | | | #define APR_OS2_STATUS(e) (APR_FROM_OS_ERROR(e)) for the platform agnostic APR_FROM_OS_ERROR() macro. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63909 13f79535-47bb-0310-9956-ffa450edef68
* Add APR_BUFFERED support to apr_file_os_put() calls.Justin Erenkrantz2002-07-16
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63689 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Add implementation of apr_file_setaside().Brian Havard2002-07-10
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63596 13f79535-47bb-0310-9956-ffa450edef68
* Continue the Bill Rowe apr_size_t crusade.Victor J. Orlikowski2002-07-10
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63595 13f79535-47bb-0310-9956-ffa450edef68
* Introduce apr_table_do_callback_fn_t as a prototype declaration, andWilliam A. Rowe Jr2002-06-28
| | | | | | | | | consistify all broken APR_DECLARE() prototypes that were, in fact, always handled as APR_DECLARE_NONSTD() by the MSVC compiler. Unfortunately, no emit is raised when the compiler ignores our APR_DECLARE() semantic. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63527 13f79535-47bb-0310-9956-ffa450edef68
* Fix apr_file_seek() to unset the eof_hit flag.Cliff Woolley2002-06-19
| | | | | | | | Submitted by: Stas Bekman Concept reviewed by: jwoolley, rbb, wrowe git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63507 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Fix build breakage due to missing apr_dir_make_recursive().Brian Havard2002-06-11
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63489 13f79535-47bb-0310-9956-ffa450edef68
* Last for today (compiles clean on Win32, hope the same for the rest ofWilliam A. Rowe Jr2002-06-08
| | | | | | | | our builds.) Clean up inherit_[un]set and simplify win32 discrepancy with inherit.h git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63481 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Check more return codes when locking the file for appending.Brian Havard2002-05-23
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63428 13f79535-47bb-0310-9956-ffa450edef68
* Add .deps to cvsignore since APR may now generate .deps files.Justin Erenkrantz2002-04-22
| | | | | | | (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
* Allow VPATH builds to properly generate build dependencies. This requiresJustin Erenkrantz2002-04-22
| | | | | | | | | | | | 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
* Rename the "cntxt" members of the fileio structures to "pool".Sander Striker2002-03-20
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63164 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-13
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* Add the APR_FILE_NOCLEANUP flag to apr_file_open().Bill Stoddard2002-03-06
| | | | | | | | | | | Adding the flag will prevent the file from being closed when the pool passed in on apr_file_open() is destroyed. This feature is useful when using apr_os_file_get|put() to manage the apr_os_file_t in apr_file_t (ie, file handle caching in the HTTP server) [Bill Stoddard] git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63087 13f79535-47bb-0310-9956-ffa450edef68
* apr_file_attrs_set takes a new parameter, attr_mask, that defines whichBranko Čibej2002-02-11
| | | | | | | | | bits in the attributes are valid. Changed Unix, OS/2 and Win32 implementation to match. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62943 13f79535-47bb-0310-9956-ffa450edef68