aboutsummaryrefslogtreecommitdiffstats
path: root/extension/inplace.c
Commit message (Collapse)AuthorAgeFilesLines
* Typo fix in extension/inplace.c.Arnold D. Robbins2019-02-151-1/+1
|
* Squashed merge of feature/namespaces. Add code and doc.Arnold D. Robbins2019-01-111-22/+22
|
* Update copyright years that should have been updated before 4.2.1 release.Arnold D. Robbins2018-03-131-1/+1
|
* Remove incorrect * on ext_id in extensions and in doc.Arnold D. Robbins2018-01-111-1/+1
|
* Fix a message in extension/inplace.c.Arnold D. Robbins2017-04-031-1/+1
|
* Fix the MinGW build and sync its tests with mainline,Eli Zaretskii2017-01-211-1/+1
|
* Fix lint stuff, arg checking. Add a data pointer. Pass finfo to functions.Arnold D. Robbins2016-12-141-4/+4
|
* Add min_required and max_expected arg counts to API.Arnold D. Robbins2016-12-061-2/+2
|
* Remove trailing whitespace everywhere. Fix Unicode into ASCII.Arnold D. Robbins2016-10-231-5/+5
|
* Minor portability fixes in some of the extensions.Arnold D. Robbins2016-07-011-0/+1
|
* Update copyright years in extension files.Arnold D. Robbins2015-04-081-1/+1
|
* Fix a compiler warning.Arnold D. Robbins2015-03-171-2/+2
|
* Fix compile problems and warnings on current GCC (4.9.2).Arnold D. Robbins2014-11-231-2/+6
|
* Minor cleanup in extension/inplace.c.Arnold D. Robbins2014-10-081-3/+2
|
* Update copyright years on files changed in 2014.Arnold D. Robbins2014-03-311-1/+1
|
* Add memory allocation functions to gawk API.Andrew J. Schorr2014-03-081-3/+3
|
* Fix extension portability for AIX.Arnold D. Robbins2013-10-241-2/+6
|
* Clean up some -Wextra compile warnings in extensions.Arnold D. Robbins2013-08-221-0/+2
|
* Fix building, installing, and testing extensions on MS-Windows.Eli Zaretskii2013-05-141-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test/Makefile.in (mpfr-tests, shlib-tests): Add a blank character between ' and /FOO/ in Gawk command lines, for the benefit of testing under MSYS Bash. test/filefuncs.awk (BEGIN): Call 'stat' on gawkapi.o, not on gawk, which does not exist on systems that produce gawk.exe. README_D/README.pc: Update the pc build and test instructions. pc/Makefile.tst (AWK): Set AWKLIBPATH so extensions could be found. (LS): New variable. (check): Add back shlib-tests and shlib-msg-end. (readdir): Add a warning regarding inode reporting by ls.exe. (fts, fork, fork2): Add message about expected failure on MinGW. pc/Makefile (install): Install the extensions. (install-strip): Likewise. pc/Makefile.ext: New file. io.c (devopen) [__EMX__ || __MINGW32__]: Produce EISDIR on MinGW when an attempt to open() a directory fails. (two_way_open) [__EMX__ || __MINGW32__]: When trying to open() a directory fails with EISDIR, assign FAKE_FD_VALUE to the file descriptor and attributes of a directory to its mode bits. This is needed to support the readdir extension. gawkapi.h (FAKE_FD_VALUE): New macro, used in io.h and in extension/gawkdirfd.h. extension/rwarray.c [__MINGW32__]: Include winsock2.h instead of arpa/inet.h. extension/readdir.c [__MINGW32__]: Include windows.h. Include gawkapi.h before gawkdirfd.h, since the former defines FAKE_FD_VALUE needed by the latter. (ftype): Accept an additional argument, the directory that is being read. Callers changed. [!DT_BLK]: Produce the file's type by calling 'stat' on it, if the dirent structure doesn't provide that. (get_inode): New function, to produce inode values on MS-Windows. (dir_get_record): Use it. extension/inplace.c (chown, link) [__MINGW32__]: Redirect to existing library functions. (mkstemp) [__MINGW32__]: New function, for MinGW, which doesn't have it in its library. (do_inplace_end) [__MINGW32__]: Remove the old file before renaming the new, since 'rename' on Windows cannot overwrite existing files. extension/gawkdirfd.h (ENOTSUP): Define to ENOSYS if not already defined. (DIR_TO_FD): If not defined yet, define to FAKE_FD_VALUE. extension/filefuncs.c (get_inode) [_WIN32]: New function, produces the file index used on Windows as its inode. (fill_stat_array) [_WIN32]: Use it.
* More portability.Arnold D. Robbins2013-01-221-0/+3
|
* Improve portability.Arnold D. Robbins2013-01-221-0/+4
|
* Fix some problems from warning tools, etc.Arnold D. Robbins2013-01-181-1/+3
|
* Remove an unused variable.Arnold D. Robbins2013-01-151-1/+0
|
* Add tests for inplace extension.Andrew J. Schorr2013-01-101-3/+5
|
* Add inplace file editing extension.Andrew J. Schorr2013-01-081-0/+241