2012-04-10  Reuben Thomas <rrt@sc3d.org>

	* strlcpy.c: Replace LGPLed strlcpy with BSD licensed strlcpy, from

	http://opensource.apple.com/source/OpenSSH/OpenSSH-7.1/openssh/bsd-strlcpy.c

2012-04-08  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix memory leaks introduced by fix to cope with
	arbitrary-length paths.

2012-04-05  Reuben Thomas <rrt@sc3d.org>

	* tests-posix.lua: Add tests for dirname and basename.

2012-04-05  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Work with arbitrary-length paths.

2012-04-03  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove XSR errno.h codes (thanks Enrico Tassi).

2012-03-26  Reuben Thomas <rrt@sc3d.org>

	* bootstrap.conf: Don't use gnulib sigaction module, as its license
	is incompatible; don't want COPYINGv3.

2012-03-26  Reuben Thomas <rrt@sc3d.org>

	* README: Back to using only a double fork of lunit.

2012-03-25  Reuben Thomas <rrt@sc3d.org>

	* README: README: Update URL to lunit: for now need my version.

2012-03-25  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: tell lunit which Lua interpreter to use.

2012-03-25  Reuben Thomas <rrt@sc3d.org>

	* tests-fcntl.lua: tests-fcntl.lua: make them work with Lua 5.2.

2012-03-25  Reuben Thomas <rrt@sc3d.org>

	* README: Improve documentation for use with Lua 5.2.

2012-03-25  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: Bump version to 5.1.18.

2012-03-25  Reuben Thomas <rrt@sc3d.org>

	* posix.lua: posix.lua: make Lua 5.2-compatible.

2012-03-25  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: Make configure accept Lua 5.2.

2012-03-25  Reuben Thomas <rrt@sc3d.org>

	* COPYING, README: Add correct license, and refer to it in README.

2012-02-29  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: Bump version to 5.1.17.

2012-02-29  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Return old C handler from signal, so it can be chained;
	fix masking of signals during Lua handler.

2012-02-21  Reuben Thomas <rrt@sc3d.org>

	* curses.lua, lcurses.c, lua52compat.h: Make curses module work with
	Lua 5.2 module system (patch by StarWing).

2012-02-18  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: update woger call.

2012-02-18  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: Update woger call.

2012-02-18  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: add lua52compat.h to EXTRA_DIST.

2012-02-12  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #28 from likema/HEAD~~ Use AC_SEARCH_LIBS instead of AC_CHECK_LIBS in configure.ac.

2012-02-11  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix bug in chmod (closes issue #55).

2012-02-11  Reuben Thomas <rrt@sc3d.org>

	* m4/ax_with_curses.m4: Update ax_with_curses.m4.

2012-02-03  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove some non-POSIX features.

2012-02-03  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove non-standard memrchr.

2012-02-02  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix signal handling so all signals are handled, one at a
	time.

2012-02-01  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: lposix.c: overhaul time struct functions; add mktime.

2012-02-01  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: lposix.c: fix whitespace typo.

2012-02-01  Reuben Thomas <rrt@sc3d.org>

	* lcurses.c, lposix.c: Overhaul use of numeric types going to Lua.  Use lua_pushinteger rather than lua_pushnumber where it makes sense.  In lcurses, use lua_pushboolean for all boolean quantities, and
	always return Lua booleans, not C booleans. Remove some unused
	function macros.

2012-02-01  Reuben Thomas <rrt@sc3d.org>

	* posix.lua: Fix a docstring mistake: refer to os.execute, not
	os.system.

2012-01-31  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: Remove setting _POSIX_C_SOURCE on Darwin, as
	apparently this only restricts APIs, or instates obsolescent APIs.  Remove some pointless quotes.

2012-01-31  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove SIGPROF and SIGPOLL, which are marked
	obsolescent.

2012-01-27  Reuben Thomas <rrt@sc3d.org>

	* lcurses.c, m4/ax_with_curses.m4: curses: update ax_with_curses.m4
	to latest version.

2012-01-17  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: In strftime, make isdst optional like all other fields.

2012-01-17  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add strptime.

2012-01-17  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Simplify a lua_pushlstring call to a lua_pushstring
	call.

2012-01-17  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Simplify hostid, making it return a number, not a
	string.

2012-01-17  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #23 from hishamhm/master Add support of octal stat modes in mode_munch

2011-12-29  Hisham Muhammad <hisham@gobolinux.org>

	* lposix.c: Add support of octal stat modes in mode_munch

2011-12-28  Reuben Thomas <rrt@sc3d.org>

	* README: Update and make precise the versions of Lua catered to.

2011-12-28  Reuben Thomas <rrt@sc3d.org>

	* lcurses.c, lposix.c, lua52compat.h: Move Lua 5.2 compatibility
	into a separate file; use it in lcurses.c.  Change version check to be “== 502” rather than “> 501” now
	that 5.2 is released and we have no idea what 5.3 or later will
	bring.

2011-12-28  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove unused lua_setenv macro.

2011-12-28  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add memrchr.

2011-12-28  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add a comment explaining that posix.signal has sensible
	semantics.

2011-12-26  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix an egregious bug in the previous commit which only
	updated a Lua handler when the previous handler was also a Lua
	function.

2011-12-26  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #22 from
	gvvaughan/pull-request/expose-use_default_colors Pull request/expose use default colors

2011-12-27  Gary V. Vaughan <gary@gnu.org>

	* lcurses.c: curses: expose use_default_colors to lua.  * lcurses.c (Cuse_default_colors): Marshalling for
	use_default_colors.  (curseslib): Add it.

2011-12-27  Gary V. Vaughan <gary@gnu.org>

	* lcurses.c: refactor: use lposix-style macro splicing in lcurses.  Make the style of lcurses.c more like lposix.c, with the aid of
	splice and stringify macros, and judicious renaming to make their
	usage pattern the same too.  * lcurses.c (LCURSES_SPLICE, LCURSES_STR, LCURSES_STR_1): Analagous
	to LPOSIX_SPLICE, LPOSIX_STR and LPOSIX_STR_1 respectively.  (LC_NUMBER, LC_NUMBER2, LC_STRING, LC_STRING2, LC_BOOL) (LC_BOOL2, LC_BOOLOK, LC_BOOLOK2): Change prefix of generated
	functions from `lc_' to `C' so that LCURSES_STR_1 can be used
	idiomatically.  (LCW_BOOLOK): Likewise, only changing from `lcw_' to `W' prefix.  (LCW_BOOLOK2): New macre used when the curses symbol and the lua api
	have different names.  (lcw_new, lcw_get, lcw_check, lc_checkch, lc_optch): Rename from
	these...  (lc_newwin, lc_getwin, lc_checkwin, checkch, optch): ...to these,
	respectively, no need to namespace static symbols so carefully.
	Adjust all callers.  (CC2): Remove.  (CF): New macro for generating FN key exports into lua. Use it to
	export all 64 valid FN keys.  (LCW_WIN2): New macro.  (Wsyncup, Wcursyncup, Wsyncdown): Use it to define these functions.  (LCW_WIN2YX): New macro.  (Wgetyx, Wgetparyx, Wgetbegyx, getmaxyx): Use it to define these
	functions.  (LC_ATTROK): New macro.  (Cslk_attron, Cslk_attroff, Cslk_attrset): Use it to define these
	functions.  (LC_TOGGLEOK): New macro.  (Ccbreak, Cecho, Craw, Cnl): Use it to define these functions.  (LCW_WINBOOLOK): New macro.  (Wintrflush, Wmeta, Wnodelay, Widlok, Wleaveok, Wscrollok): Use it
	to define these functions.  (LCW_WININTOK): New macro.  (Wattroff, Wattron, Wattrset): Use it to define these functions.  (chstrlib, windowlib, curseslib): Much simplified by naming
	implementation functions more carefully, and defining temporary
	MENTRY macro to expand and splice arguments that populate the
	tables.

2011-12-26  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: signal: Cope with C handler functions.  Fix a bug in setting symbolic (SIG_IGN/DFL) handlers.  Make setting handler to nil indistinguishable from setting to
	SIG_DFL.

2011-12-24  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Explain why we don’t use an upvalue in an obvious
	situation.

2011-12-24  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Redo signal API to be more conventional, allowing signal
	handlers to be reset (no __newindex nonsense).

2011-12-24  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Use LPOSIX_STR_1 to prevent premature expansion of
	signal handler macro names.

2011-12-24  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #20 from
	gvvaughan/pull-request/use-cpp-to-keep-symbols-in-sync refactor: use macro splicing for more tabulation.

2011-12-23  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Allow signal handlers to be set to nil (unset), as well
	as a function or macro.

2011-12-23  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: Bump version to 5.1.16.

2011-12-23  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Clarify a NULL pointer.

2011-12-23  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove non-POSIX SIG_IGN and SIG_HOLD.

2011-12-23  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix some deviant indentation.

2011-11-18  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #19 from spbnick/master Fix corner cases in Pread and Pgetgroups. Thanks to Nikolai
	Kondrashov.

2011-11-17  Nikolai Kondrashov <nkondrashov@nvidia.com>

	* lposix.c: Handle and report Pread allocation errors properly Report Pread buffer allocation errors with pusherror, account for
	allocation functions which don't modify errno.  Handle allocation of
	zero bytes in Pread properly: don't consider returned NULL an error.
	Add some "air" into Pread formatting.

2011-10-27  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #18 from ittner/fix-unused-var Remove unused variable (thanks, Alexandre Ittner).

2011-10-27  Alexandre Erwin Ittner <alexandre@ittner.com.br>

	* lposix.c: Remove unused variable in the poll interface

2011-10-27  Alexandre Erwin Ittner <alexandre@ittner.com.br>

	* lposix.c, tests-posix.lua: Add function fnmatch() According to

	http://pubs.opengroup.org/onlinepubs/9699919799/functions/fnmatch.htmlplus GNU extensions (if available)

2011-10-25  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #16 from spbnick/master Add full poll(2) interface

2011-10-06  Alexander V. Nikolaev <avn@daemon.hole.ru>

	* lposix.c: Don't leave status uninitialized SUSv4 states that &status is undefined if WNOHANG option is passed
	to waitpid and no processes are ready to be collected at the time of
	call.

2011-10-06  Alexander V. Nikolaev <avn@daemon.hole.ru>

	* lposix.c, tests-posix.lua: Fix bug -- posix.read returns wrong
	value Pread() is documented to return a single value, and pushed only one
	return value to stack, but it told Lua that it returns two values.  Note that this change may existing workarounds and should be
	explicitly mentioned in release notes.

2011-10-10  Reuben Thomas <rrt@sc3d.org>

	* lposix.c, tests-fcntl.lua: Expose new fcntl function (oops!) and
	rewrite tests to use it.

2011-10-09  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: tests: Call fcntl tests with lunit (fixes issue #13);
	thanks Mikhail Gusarov.

2011-10-09  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Rewrite fcntl support.  * Remove fcntl table and special handlers for F_GET/SETFL.  * Add instead a single fcntl functions, with constants for all the   standard commands except for the file-locking commands (this would   require support for struct flock).

2011-09-29  Reuben Thomas <rrt@sc3d.org>

	* luaposix.rockspec.in: rockspec: move distribution & home page to
	github

2011-09-29  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: update to latest woger

2011-09-29  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: Bump version to 5.1.15.

2011-09-29  Reuben Thomas <rrt@sc3d.org>

	* test_fcntl.lua, tests-fcntl.lua: tests: rename test_fcntl.lua ->
	tests-fcntl.lua for consistency

2011-09-29  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: tests: fix Lua paths and xargs usage to run tests
	correctly

2011-09-23  Reuben Thomas <rrt@sc3d.org>

	* bootstrap.conf: Fix license.

2011-09-29  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #11 from avnik/feature-pipe-and-dup2 Add dup, pipe & more, from avnik. Thanks!

2011-09-25  Alexander V. Nikolaev <avn@daemon.hole.ru>

	* lposix.c: Add setfl/getfl Access to functionality of fcntl(fd, F_GETFL) and fcntl(fd, F_SETFL,
	arg)

2011-09-20  Alexander V. Nikolaev <avn@daemon.hole.ru>

	* lposix.c: Export WNOHANG to lua and pass options to wait

2011-09-17  Alexander V. Nikolaev <avn@daemon.hole.ru>

	* lposix.c, tests-posix.lua: Add pipe() and test

2011-09-17  Alexander V. Nikolaev <avn@daemon.hole.ru>

	* lposix.c: Add dup/dup2 functions

2011-09-23  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: replace literal name of package with
	$(PACKAGE) once more.

2011-09-19  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: fix deps of the rockspec.

2011-09-19  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: make release message shorter and more
	precise.

2011-09-19  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Use $PACKAGE instead of luaposix.

2011-09-19  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Fix distribution of rockspec source.

2011-09-19  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: Bump version to 5.1.14.

2011-09-19  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Make some symbolic constants case-insensitive in Lua.

2011-09-19  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: configure.ac: use $PACKAGE rather than spelling out
	the name.

2011-09-19  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: actually make rockspec on release

2011-09-17  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Makefile.am: fixes for building with rockspec.  Don’t put the fully expanded rockspec in EXTRA_DIST, as this
	creates a recursive dependency (on the distribution archive).  Fix the extraction of the summary description from the rockspec.  Whitespace fixes to reminder output at end of make release.

2011-09-17  Reuben Thomas <rrt@sc3d.org>

	* luaposix.rockspec.in: rockspec: Find a remaining non-parametrized
	reference to the package name.

2011-09-17  Reuben Thomas <rrt@sc3d.org>

	* .gitignore, Makefile.am, configure.ac, luaposix.rockspec.in: 
	rockspec: auto-generate (except for part of download URL, argh).

2011-09-16  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: Bump version to 5.1.13.

2011-09-16  Reuben Thomas <rrt@sc3d.org>

	* tests-posix.lua: tests-posix.lua: Fix glob test again; we seem to
	have no .o files, so use .la files.

2011-09-13  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am, configure.ac: Don't build or install useless static
	libs or versioned symlinks.

2011-09-11  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am, make_lcurses_doc.pl: Update curses documentation for
	luaposix integration.

2011-09-10  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am, README, configure.ac: configury: don’t try to guess
	install paths.  Remove machinery for guessing non-standardized install paths, and
	instead expand documentation so it covers the standard Debian/Ubuntu
	case.

2011-09-09  Reuben Thomas <rrt@sc3d.org>

	* .gitignore: .gitignore: Add distribution tarball.

2011-09-09  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #10 from
	gvvaughan/pull-request/refactor-lookup_symbol-mappings refactor: lookup_symbol mappings with macro splicing

2011-09-09  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am, tests-posix.lua: Makefile.am: fix make distcheck.

2011-09-09  Reuben Thomas <rrt@sc3d.org>

	* .gitignore: .gitignore: Add *.html and ChangeLog.

2011-09-09  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Distribute tests.

2011-09-09  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am: Distribute strlcpy.c.

2011-09-09  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am, configure.ac: configury: Make building curses
	optional.

2011-09-09  Reuben Thomas <rrt@sc3d.org>

	* .gitignore, AUTHORS, Makefile.am, README, configure.ac,
	curses.lua, lcurses.c, m4/ax_with_curses.m4, m4/ax_with_prog.m4,
	make_lcurses_doc.pl, strlcpy.c, tests-curses.lua, tests-posix.lua,
	tests.lua, tree.lua: Merge lcurses into luaposix.

2011-09-08  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #9 from
	gvvaughan/pull-request/tabulate-lookup_symbol-mappings bugfix: tabulate lookup_symbol mappings

2011-09-08  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #8 from
	gvvaughan/pull-request/add-libcrypt-if-required configury: add libcrypt if required

2011-09-08  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #6 from
	gvvaughan/pull-request/need-dummy-incase-gnulib-has-no-objects configury: need dummy module incase gnulib has no other objects

2011-09-08  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #4 from
	gvvaughan/pull-request/darwin-has-no-o-rsync-definition portability: darwin has no O_RSYNC definition

2011-09-08  Gary V. Vaughan <gary@vaughan.pe>

	* lposix.c: portability: darwin has no O_RSYNC definition

2011-09-08  Gary V. Vaughan <gary@vaughan.pe>

	* bootstrap.conf: configury: need dummy module incase gnulib has no
	other objects It's only safe to use --avoid=dummy when there will never be a
	libgnu.a built, i.e there are no other modules with C code, and thus
	the parent project is never linked with libgnu.

2011-09-08  Gary V. Vaughan <gary@vaughan.pe>

	* .gitignore, bootstrap.conf, lib/.gitignore, m4/.gitignore: 
	configury: let bootstrap.conf manage gnulib .gitignore No need to check these files in when bootstrap.conf has functions to
	manage them automatically without creating merge conflicts.  For this changeset to work properly, you'll need to `git clean -f -x
	-d` and then rerun bootstrap to generate a proper set of .gitignore
	files.

2011-09-08  Gary V. Vaughan <gary@vaughan.pe>

	* configure.ac: configury: no m4 quotes in configure.ac Also, for the sake of forming good habits, keep the lvalua on the
	left of a comparison, and avoid the potential for uname returning
	something that test might interpret as an argument.

2011-09-07  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: lposix.c: Include config.h.

2011-09-07  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Rename luaopen function to match new library name.

2011-09-07  Reuben Thomas <rrt@sc3d.org>

	* configure.ac: Add missing quotes.

2011-09-07  Reuben Thomas <rrt@sc3d.org>

	* Makefile.am, configure.ac: Replace previous machinery for
	detecting extra cc and ld flags.

2011-09-07  Reuben Thomas <rrt@sc3d.org>

	* .gitignore, AUTHORS, Makefile, Makefile.am, NEWS, bootstrap,
	bootstrap.conf, configure.ac, lib/.gitignore, lposix.c,
	m4/.gitignore, m4/ax_lua.m4, posix.lua, test.lua, tests.lua: 
	autotoolize the build system.

2011-09-07  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add read and write.

2011-09-07  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add open and close.  Generalise get_rlimit_const to lookup_symbol, and use it for open
	flags.  Add a FIXME.

2011-09-06  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Tidy up whitespace and comments a bit for consistency.

2011-06-20  Reuben Thomas <rrt@sc3d.org>

	* : Merge pull request #3 from jdegges/master Add nanosleep.

2011-06-04  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove unneeded shim for luaL_register; Lua 5.2 still
	has compatibility code for this.

2011-05-11  Reuben Thomas <rrt@sc3d.org>

	* lposix.c, test.lua: Remove pushfile, which uses undocumented
	tricks which don’t work on LuaJIT, and hence dup, fdopen and pipe.

2011-05-11  Reuben Thomas <rrt@sc3d.org>

	* test.lua: Reformat test.lua a bit more consistently.

2011-05-11  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Separate out Lua 5.2 compatibility.

2011-05-10  David Favro <lua@meta-dynamic.com>

	* lposix.c: Ported to 5.2.0-alpha.   * Lightly tested.   * Conditional compilation, so remains backwards-compatible with
	 5.1.  Signed-off-by: David Favro <lua@meta-dynamic.com>

2011-05-10  David Favro <lua@meta-dynamic.com>

	* Makefile: Makefile fix/enhancement.   * Fixed incorrect version string in library.   * Compiles with -O2 rather than no optimization.   * Added 'debug' target.  This may not work for non-GNU makes.  Signed-off-by: David Favro <lua@meta-dynamic.com>

2011-05-10  David Favro <lua@meta-dynamic.com>

	* lposix.c: Fixed bugs in dup().   * Fixed bug: segfault (null pointer dereference) in dup(x,nil).   * Fixed bug: non-conforming mode "rw" changed to "w+".  POSIX
	   specifies "w+" or "r+" for read/write open.  "rw" is incorrect and
	   fails to open for writing on GNU libc's fdopen().  Signed-off-by: David Favro <lua@meta-dynamic.com>

2011-05-10  David Favro <lua@meta-dynamic.com>

	* test.lua: Updated test.lua and added new tests.   * Removed deprecated constructs foreach(), getn().   * Added --no-times command-line option since that test is a bear to
	 wait for.  * Added new tests: dup(), fdopen().  Signed-off-by: David Favro <lua@meta-dynamic.com>

2011-04-27  Reuben Thomas <rrt@sc3d.org>

	* Makefile: Bump version to 5.1.11.

2011-04-27  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix a typo which caused a buffer overrun.

2011-04-27  Reuben Thomas <rrt@sc3d.org>

	* Makefile: Bump version to 5.1.10.

2011-04-27  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix typo in Pmkstemp.

2011-04-27  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix possibly dangerous typos in mode_munch.

2011-04-27  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Update maintainer and bump copyright year.

2011-04-27  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix typo in error mesage.

2011-04-27  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add mkstemp.

2011-04-03  Gary V. Vaughan <gary@gnu.org>

	* lposix.c: lposix.c: Widen the _XOPEN_REALTIME guards around
	CLOCK_MONOTONIC et.al.  Several constants that are only defined with _XOPEN_REALTIME were
	referenced even when _XOPEN_REALTIME is -1.

2011-04-03  Gary V. Vaughan <gary@gnu.org>

	* Makefile: Makefile: Darwin needs -D_POSIX_C_SOURCE in order to
	define SIGPOLL

2011-03-30  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Make sure _XOPEN_REALTIME is defined before testing its
	value.

2011-03-30  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove non-POSIX rlimit resources, and as missing
	RLIMIT_AS.

2011-03-29  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Test _XOPEN_REALTIME correctly (!= -1, not merely
	defined).

2011-03-24  Reuben Thomas <rrt@sc3d.org>

	* ChangeLog.old, README: Update maintainer and git repo location.

2011-03-24  Reuben Thomas <rrt@sc3d.org>

	* Makefile: Bump version to 5.1.9.

2011-03-22  Reuben Thomas <rrt@sc3d.org>

	* Makefile: Fix some Darwin problems.

2011-03-22  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Guard realtime functions with _XOPEN_REALTIME, and
	remove a bogus debug line.

2011-03-06  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add getgroups.

2011-03-05  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add set_errno.

2011-02-26  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add _exit.

2011-02-26  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add signals support.

2010-11-21  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Use lua_setfield where possible.

2011-03-22  Natanael Copa <ncopa@alpinelinux.org>

	* Makefile: release 5.1.8

2010-11-12  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add getopt_long.

2010-11-05  Reuben Thomas <rrt@sc3d.org>

	* README: Update maintainer and documentation information.

2010-10-26  Natanael Copa <ncopa@alpinelinux.org>

	* lposix.c: isgraph/isprint: use function pointer to save a few
	bytes

2010-10-26  Natanael Copa <ncopa@alpinelinux.org>

	* test.lua: test: use execp instead of exec when testing fork
	(cherry picked from commit 42ec4caff2d4895577298f6f26156b80beacdaa6) Conflicts: 	test.lua

2010-10-23  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add isprint and isgraph.

2010-10-23  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add errno and stdio.h constants.

2010-10-22  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add abort and raise.

2010-10-22  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add some comments.

2010-10-22  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove excess white space to aid readability, and fix
	some indenting.

2010-10-22  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove Lua 5.0 compatibility.

2010-10-22  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Add copyright notices for new contributors and tidy up
	old ones.

2010-10-22  Reuben Thomas <rrt@sc3d.org>

	* Makefile, lposix.c, modemuncher.c: Fold modemuncher.c into
	lposix.c, removing modesel array (same as lposix.c's M array).

2010-10-22  Reuben Thomas <rrt@sc3d.org>

	* lposix.c, modemuncher.c: Use pushmode in Pumask, and hence remove
	modechopper from modemuncher.c.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* ChangeLog.old: Put old ChangeLog in correct date order; remove
	non-ChangeLog format EOF marker.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* modemuncher.c: Tidy up modemuncher.c.  Remove never-compiled debug code. This code is fairly well tested
	now.  Fix whitespace and indentation.  Remove camelCase name of modeLookup struct and typedef, which is
	only used once, and use an anonymous struct instead.  Rename the only remaining camelCase identifier in the entire file to
	a non-camelCase one.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* Makefile: Remove unnecessary phony targets.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* Makefile: Fix building with glibc (support for crypt).

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* lposix.c, test.lua: Remove non-POSIX gecos field of struct passwd.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Improve a comment.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Fix inconsistent indentation.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove support for obsolete timezone argument of
	gettimeofday.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Remove declaration of crypt; it's a build system
	problem.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* .gitignore: Add .gitignore file.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Compile syslog functions on any system with new-enough
	POSIX.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* lposix.c: Clean up whitespace.

2010-10-19  Reuben Thomas <rrt@sc3d.org>

	* Makefile: Remove bogus whitespace.

2010-10-26  Natanael Copa <ncopa@alpinelinux.org>

	* test.lua: Revert "test: use execp instead of exec when testing
	fork" This reverts commit 42ec4caff2d4895577298f6f26156b80beacdaa6.  reverting so i can apply patchset

2010-10-23  Natanael Copa <ncopa@alpinelinux.org>

	* test.lua: test: use execp instead of exec when testing fork

2010-09-15  Natanael Copa <natanael.copa@gmail.com>

	* lposix.c: use integers for gettimeofday so it works for platforms that uses float for lua numbers.

2009-08-12  Natanael Copa <natanael.copa@gmail.com>

	* ChangeLog.old: Add note to ChangeLog that we moved to git

2009-08-12  Natanael Copa <natanael.copa@gmail.com>

	* ChangeLog, ChangeLog.old, README: rename ChangeLog to
	ChangeLog.old We will only use git to provide the history from now on.

2009-08-12  Natanael Copa <natanael.copa@gmail.com>

	* lposix.c: fix bug in setrlimit

2010-08-12  Natanael Copa <ncopa@alpinelinux.org>

	* Makefile: release 5.1.7

2010-08-11  Tim Niemueller <niemueller@kbsg.rwth-aachen.de>

	* lposix.c: Make clock_* arguments optional With the last change the clock id argument was no longer optional as
	intended.

2010-08-11  Natanael Copa <ncopa@alpinelinux.org>

	* Makefile: set LIBVERSION=6 should have been done before the 5.1.5 release :-(

2010-08-10  Tim Niemueller <niemueller@kbsg.rwth-aachen.de>

	* lposix.c: Make clock_get* functions take string argument For consistency with existing functions.

2010-08-10  Natanael Copa <ncopa@alpinelinux.org>

	* lposix.c: added function definitions for 'make show-funcs'

2010-08-09  Tim Niemueller <niemueller@kbsg.rwth-aachen.de>

	* lposix.c: Use realtime clock by default in clock_get*

2010-08-09  Tim Niemueller <niemueller@kbsg.rwth-aachen.de>

	* lposix.c: Added strftime

2010-08-09  Tim Niemueller <niemueller@kbsg.rwth-aachen.de>

	* lposix.c: Add localtime, gmtime and time

2010-08-09  Tim Niemueller <niemueller@kbsg.rwth-aachen.de>

	* lposix.c: Compilation fixes + Fix compilation warnings (uninitialized values, signed vs.
	unsigned) + if VERSION macro is not passed on command line, set to
	  "unknown", allows to integrate source file into other buildsystems
	more easily

2010-08-09  Tim Niemueller <niemueller@kbsg.rwth-aachen.de>

	* Makefile, lposix.c: Add gettimeofday, clock_getres, clock_gettime

2010-03-29  Natanael Copa <ncopa@alpinelinux.org>

	* Makefile: release 5.1.5

2010-03-29  Natanael Copa <ncopa@alpinelinux.org>

	* Makefile, lposix.c: use git describe to generate version string and use cgit do distribute tarball so we dont need the tar stuff in
	makefile

2009-08-11  Natanael Copa <natanael.copa@gmail.com>

	* lposix.c: luafication of getrlimit/setrlimit Use strings as parameters to select resource rather than integer
	constants.

2009-08-11  Enrico Tassi <gares@fettunta.org>

	* lposix.c: set/getrlimit, set/getuid and setlogmask bindings Hi,   while packagin the jabber server "prosody" for Debian, I noticed
	  that it was using a custom binding of some posix function not
	available in luaposix. After asking prosody author, I wrote a patch
	for luaposix that adds the missing functionalities prosody is
	actually shipping in a custom .so.  The attached patch binds the following functions: set/getrlimit,
	set/getuid and setlogmask.  I'd like it to be integrated in a future release of luaposix, if
	posible.  Cheers -- Enrico Tassi

2008-07-18  Natanael Copa <natanael.copa@gmail.com>

	* Makefile: Set LIBVERSION=4 for release 5.1.4.

2008-07-18  Natanael Copa <natanael.copa@gmail.com>

	* ChangeLog, Makefile, lposix.c: support for crypt() from openwrt.
	https://dev.openwrt.org/cgi-bin/trac.fcgi/browser/packages/lang/luaposix/patches/200-crypt.patch?rev=11585

2008-07-18  Natanael Copa <natanael.copa@gmail.com>

	* lposix.c: ignore POLLHUP and POLLNVAL since they are only for
	output http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491257

2008-06-03  Natanael Copa <natanael.copa@gmail.com>

	* ChangeLog, README: updated readme and changelog

2008-06-03  Natanael Copa <natanael.copa@gmail.com>

	* lposix.c: use luaL_register

2008-06-03  Natanael Copa <natanael.copa@gmail.com>

	* Makefile: From: 	Felix Fietkau <nbd@openwrt.org> here's a small patch that fixes luaposix compile on Darwin / Mac OS
	X

2008-01-29  Natanael Copa <natanael.copa@gmail.com>

	* lposix.c: added fdopen()

2008-01-29  Natanael Copa <natanael.copa@gmail.com>

	* ChangeLog: updated changelog

2008-01-29  Natanael Copa <natanael.copa@gmail.com>

	* Makefile: version 5.1.2

2008-01-29  Natanael Copa <natanael.copa@gmail.com>

	* lposix.c: added syslog funcs dup() takes and returns lua files.
	added fileno() exec renamed to execp and new exec func uses execv(3)
	rather than execvp(3)

2008-01-28  Natanael Copa <natanael.copa@gmail.com>

	* Makefile: dont run test by default

2008-01-28  Natanael Copa <natanael.copa@gmail.com>

	* lposix.c, posix.lua: sorted #includes, removed dead code,
	whitspacefixes

2008-01-25  Natanael Copa <natanael.copa@gmail.com>

	* Makefile: cleaned up Makefile

2008-01-25  Natanael Copa <natanael.copa@gmail.com>

	* modemuncher.c: avoid warning on 64 bit hosts

2008-01-24  Natanael Copa <natanael.copa@gmail.com>

	* lposix.c: added poll() from
	http://lua-users.org/lists/lua-l/2007-11/msg00346.html

2008-01-24  Natanael Copa <natanael.copa@gmail.com>

	* Makefile, README, lposix.c, test.lua, tree.lua: included stuff
	from http://lua-users.org/lists/lua-l/2006-10/msg00448.html

2008-01-24  Natanael Copa <natanael.copa@gmail.com>

	* Initial revision

