File: ChangeLog

package info (click to toggle)
lua-posix 31-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,604 kB
  • ctags: 1,346
  • sloc: sh: 14,309; ansic: 4,794; perl: 76; makefile: 41
file content (2013 lines) | stat: -rw-r--r-- 63,229 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2013-09-09  Gary V. Vaughan  <gary@gnu.org>

	Release version 31
	* NEWS: Record release date.

	slingshot: sync with upstream.
	* slingshot: Update to latest version for recent bootstrap fixes,
	among others.
	* bootstrap: Regenerate.

	maint: update NEWS.
	* NEWS: Update with user visible changes since previous release.

	posix: fix a typo in tc[gs]etattr constant definitions.
	* ext/posix/posix.c (VTOP): Changed spelling from this...
	(VSTOP): ...to this.

	maint: bump revision to 31.
	* configure.ac (AC_INIT): Bump release revision to 31.

	maint: remove trailing spaces added by previous merge.
	* ext/posix/posix.c (Ptcsetattr, Ptcgetattr): Remove trailing
	whitespace.

2013-09-07  Gary V. Vaughan  <gary@vaughan.pe>

	Merge pull request #116 from zevv/termios-cc-flags
	Added missing termios cc flags

2013-09-04  Ico Doornekamp  <ico@pruts.nl>

	all termios c_cc flags available are now used in tcgetattr() and tcsetattr(), even though no symbols may be available for each flag. this makes sure a tcsetattr() after a tcgetattr() preserves all flags, even the non POSIX cmplient ones

2013-09-03  Ico Doornekamp  <ico@pruts.nl>

	Added missing termios cc flags

2013-08-29  Gary V. Vaughan  <gary@gnu.org>

	maint: post-release administrivia.
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* ./local.mk (old_NEWS_hash): Auto-update.

	Release version 30
	* NEWS: Record release date.

	maint: update NEWS.
	* NEWS: Update with user visible changes since previous release.

	boostrap: sync with upstream.
	This version fixes some cosmetic and CLI inconsistencies, as
	well as improving portability to BSDs.
	* bootstrap: sync with upstream.

	configury: don't nuke the lib subdirectory.
	Now that we've made use of lib for Lua library files, make sure
	not to let gnulib-tool scribble in it.
	* bootstrap.conf (source_base): Tell gnulib-tool to put its empty
	library directory somewhere harmless.
	(luaposix_remove_empty_lib): And then remove that.

	maint: reorganise sources into subdirectories.
	Rather than dump everything into the project root directory
	indiscriminately, move extension modules into subdirectories
	of a new 'ext/' subdirectory, Lua libraries into 'lib/'. And
	adjust the build system to work with that layout.
	* lua52compat.h: Move from here...
	* ext/include/lua52compat.h: ...to here.
	* local.mk (AM_CPPFLAGS): Add -I ext/include.
	* lcurses.c, strlcpy.c, curses.lua: Move from here...
	* ext/curses/curses.c, ext/curses/strlcpy.c, lib/curses.lua:
	...to here.
	* lposix.c, posix.lua: Move from here...
	* ext/posix/posix.c, lib/posix.lua: ...to here.
	* configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects for future
	compatibility with Automake 2.0.
	(WANTEDLIBS, WANTEDLUA): Adjust paths.
	* local.mk (std_cpath, std_path, EXTRA_LTLIBRARIES, lib_LTLIBRARIES)
	(dist_data_DATA, dist_doc_DATA, EXTRA_DIST): Likewise.
	* tree.lua: Move from here...
	* examples/tree.lua: ...to here.
	* make_lcurses_doc.pl, config.ld: Move from here...
	* build-aux/make_lcurses_doc.pl, ext/posix/config.ld: ...to here,
	and adjust for relative path changes.
	* dummy.c: No longer used. Remove.
	* build-aux/sanity-cfg.mk: Remove references to dummy.c.
	Adjust for relative path changes.
	* .gitignore: Update.

	examples: error messages are not capitalized.
	* examples/lock.lua: Don't capitalize error messages.
	Discovered by 'make syntax-check'

2013-08-27  Gary V. Vaughan  <gary@gnu.org>

	posix: remember to register Pshutdown function.
	* lposix.c (R): Add Pshutdown MENTRY.

	posix: remove unused variables.
	* lposix.c (Precvfrom): Remove unused host and serv variables.
	(Paccept): Likewise, and remove unused r as well.

	posix: mark unused parameters for gcc.
	* lposix.c (UNUSED): New macro, expands to __unused__ with GNU C.
	(FgetID, Fsysconf, Pcloselog, Psync): Use it to mark unused
	function parameters.

	posix: report correct bad option number.
	* lposix.c (badoption): Report the passed option number as being
	the bad option.

2013-08-27  Gary V. Vaughan  <gary@vaughan.pe>

	Merge pull request #114 from GranPC/patch-1
	Fix repeated "Test ipv4" instead of "Test ipv6"

2013-08-27  Gary V. Vaughan  <gary@gnu.org>

	docs: fix typo in chdir ldoc comments.
	* lposix.c (Pchdir): Supply a valid usage example.
	Closes issue #113.
	Reported by Craig Barnes.

2013-08-26  Gary V. Vaughan  <gary@vaughan.pe>

	Merge pull request #112 from craigbarnes/master
	Fix and clean up Markdown formatting in README

2013-08-26  Enrico Tassi  <gareuselesinge@debian.org>

	posix: port getcwd to Hurd.
	* lposix.c (Pgetcwd): Use get_current_dir_name function on Hurd.

2013-08-26  Gary V. Vaughan  <gary@gnu.org>

	maint: git ignore build-aux/compile.
	* build-aux/.gitignore: Add compile.

	configury: don't use unicode characters in shell comments.
	* configure.ac: Replace unicode apostrophes with ASCII equivalents.

	typo: set the configure package version correctly.
	* configure.ac (AC_INIT): The correct release number is 30.

	posix: improve portability of constant definitions.
	Rather than try to catalog what compiler/OS releases supply what
	constant symbols in their headers with a rats nest of `#if __BSD`
	etc, wrap all of the contentious preprocessor defines in matching
	`#ifdefs` so that they are only provided by luaposix in the
	environments that define them.  This should provide much better
	future portability to new compiler/OS combinations.
	* lposix.c (lua_open_posix_c): Simplify the declarations by using
	a consistent MENTRY definition.
	Except for extremely well-known groups of symbols, and groups
	that are already inside _POSIX_VERSION >= 200112L guards, wrap
	each constant declaration in a matching `#ifdef`.

2013-08-12  GranPC  <gran.pc@gmail.com>

	Fix repeated "Test ipv4" instead of "Test ipv6"

2013-08-10  Alexander V. Nikolaev  <avn@daemon.hole.ru>

	Merge pull request #111 from markgurevich/mg/2625/file-locks-v2
	Lock or unlock files with fcntl()

2013-08-08  Craig Barnes  <cr@igbarn.es>

	Fix and clean up Markdown formatting in README.md

2013-07-24  Mark Gurevich  <markgurevichster@gmail.com>

	Lock or unlock files with fcntl()

2013-06-28  Gary V. Vaughan  <gary@gnu.org>

	typo: fix target URL of Travis badge link in README.md.
	* README.md: Fix target URL of Travis badge link.

	maint: post-release administrivia.
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* ./local.mk (old_NEWS_hash): Auto-update.
	* configure.ac (AC_INIT): Bump revision to 30.

	Release version 29
	* NEWS: Record release date.

	configury: distribute config.ld.
	* local.mk (EXTRA_DIST): Add config.ld, and various example files.

	slingshot: update.
	* slingshot: Update to version with spurious gitmodule output
	from sanity checks fixed, and improved release branch cleanup.

	configury: run automake without --foreign flag.
	* configure.ac (AM_INIT_AUTOMAKE): Remove foreign.
	* bootstrap.conf (luaposix_force_changelog, luaposix_finish):
	Remove.  Bootstrap handles this automatically.
	(luaposix_force_readme): Distribute README file.
	* .gitignore: Add README.

	curses: remove trailing whitespace.
	* lcurses.c (Wresize): Remove trailing whitespace.

	NEWS: update.

2013-06-28  Gary V. Vaughan  <gary@vaughan.pe>

	Merge pull request #105 from aeron005/master
	Added wresize binding in curses library

2013-06-28  Gary V. Vaughan  <gary@gnu.org>

	slingshot: update.
	* slingshot: Update to version with ax_lua.m4 cross compilation
	fix.
	Reported by Reuben Thomas.

	Closes #98.

2013-06-27  Gary V. Vaughan  <gary@gnu.org>

	sync, fsync, fdatasync, nice, lseek: a bunch of new calls.
	* lposix.c (Psync, Pfsync, Pfdatasync): Wrap disk synchronisation
	calls.
	(Pnice): New call. Change process priority.
	(Plseek): New call. Move current position of a file discriptor.
	* specs/posix_spec.yaml (sync, fsync, fdatasync): New pending
	expectations.
	(nice, lseek): Specify basic behaviour of these new calls.
	Submitted by zevv@github.com, from a patch by Ico Doornekamp.

	Closes #93.

2013-06-27  Gary V. Vaughan  <gary@gnu.org>

	specs: convert socket tests from issue #92 to specl.
	* specs/posix_spec.yaml (socket handling): New spec, not working
	on Mountain Lion, at least :(
	Awaiting feedback, see issue #92.
	Reported by zevv@github, from a patch by Ico Doornekamp.

	specs: replace racy posix.times specs with more robust implementation.
	* specs/posix_spec.yaml (time accounting): Note the inconsistency
	between posix.times() and posix.times (...all keys...) from
	issue #107, and replace racy spec for posix.times().

2013-06-27  Gary V. Vaughan  <gary@gnu.org>

	docs: fix typo in clock_gettime ldoc comments.
	* lposix.c (Pclock_gettime): Fix a cut-n-paste duplication typo.
	Reported by Steve Donovan.

	Closes #104.

2013-06-27  Gary V. Vaughan  <gary@gnu.org>

	slingshot: update.
	* slingshot: Update.
	* configure.ac (SS_CONFIG_TRAVIS): Remove luafilesystem now that
	slingshot takes care of ldoc prerequisites.
	* .travis.yml: Regenerate.
	* .gitignore: Ignore doc directory rather than docs, as latest
	ldoc seems to be putting files in the former now.

	travis: regenerate .travis.yml.
	.travis.yml: Regenerate.

	configury: travis builds with 5.2 require luafilesystem rock.
	* configure.ac (SS_CONFIG_TRAVIS): Add luafilesystem to extra
	rocks list.

	configury: bump SPECL_MIN to 8.
	* configure.ac (SPECL_MIN): Bump to 8, because we're using the
	Specl 8 hell.spawn APIs now.

	typo: the documentation directory is called doc, not docs!
	* local.mk (dist_doc_DATA, MAINTAINERCLEANFILES): Use correctly
	spelled 'doc' instead of previous typo, 'docs'.

	specl: update to Specl 8 changes in hell.spawn.
	* specs/posix_spec.yaml: Specl 8 no longer copies table entries
	from require results into environments automatically, so make sure
	we capture the table, and then use qualified access to spawn.

	slingshot: update.
	* slingshot: Update.
	* bootstrap.slingshot: Install latest revision.

2013-05-23  aeron005  <mitchell.burdette@gmail.com>

	Added binding for wresize to curses library

2013-05-09  Gary V. Vaughan  <gary@gnu.org>

	Revert "Release version 29"
	This reverts commit bfce2bc28a5a5f675e4b6f7ef790bcdbfba15aad.

	syntax-check: remove trailing whitespace.
	* build-aux/sanity-cfg.mk (error-message-uppercase): Exclude
	examples/socket.lua, which otherwise triggers false positives.
	* NEWS, examples/socket.lua, examples/termios.lua, lposix.c:
	Remove trailing whitespace.

	Release version 29
	* NEWS: Record release date.

	configury: distribute INSTALL for autotools instructions.
	* bootstrap.conf (gnulib_non_module_files): Add doc/INSTALL.

	typo: use correct spelling of prefix in README.md.
	* README.md: s/perfix/prefix/g

2013-05-09  Gary V. Vaughan  <gary@vaughan.pe>

	Merge pull request #99 from zevv/fix-dir-example
	Fixed dir example for 5.2

	Merge pull request #96 from zevv/fix-glob-example
	Fixed glob example

	Merge pull request #100 from zevv/add-b57600
	Added missing 57k6 baudrate to termios table

	Merge pull request #95 from zevv/fix-poll
	I broke poll with commit 8deb0ebd041ab6d4761f86a7a906dd850111bae7

	Merge pull request #94 from zevv/fix-poll-example
	Fix poll example, open failed due to wrong 2nd argument type

2013-05-09  Gary V. Vaughan  <gary@gnu.org>

	specs: add pending guards to weird Travis failures.
	* specs/posix_spec.yaml: Mark pending those examples inexplicably
	failing on Travis, per github issue #102.

	configury: bump release version to 29.
	* configure.ac (AC_INIT): Bump release version to 29.
	The '5.1.' prefix is a misnomer now tha we support Lua 5.2, and
	bumping the prefix to '5.2.' would be no better, since we support
	Lua 5.1 simultaneously, and 5.3 will be along one of these days.

	sanity: add configuration fragment with sanity exclusions.
	* build-aux/sanity-config.mk (sc_require_config_h)
	(sc_require_config_h_first): Exclude dummy.c and strlcpy.c, which
	are both included directly into another source file before
	compilation.
	* .gitignore, build-aux/.gitignore: Adjust.

	syntax-check: fix many tiny errors raised by sanity.mk.
	* config.ld: Remove trailing blank line.
	* lcurses.c, strlcpy.c: Remove useless preprocessor parens.
	* lcurses.c: Use the blessed `#include <config.h>` format.
	* local.mk: Remove leading space from SPACE-TAB sequence.
	* lposix.c (STREQ): Define to avoid using inverted strcmp logic.
	Also remove useless preprocessor parens, and trailing whitespace.
	* posix.lua, specs/posix_spec.yaml: Remove trailing whitespace.
	* specs/posix_spec.yaml: Use 'file system' in preference to
	.filesystem'.

	maint: collect previous release notes into NEWS.
	* NEWS: New file, required for the Slingshot release process.
	* local.mk (old_NEWS_hash): Update.

2013-05-09  Reuben Thomas  <rrt@sc3d.org>

	specs: ttyname can contain 'pts' rather than 'tty'

	specs: fix some spec failures on Linux.
	* specs/posix_spec.yaml (uname): uname -a can display information
	that uname(2) does not return, so change the command to say
	explicitly what fields we want.

2013-05-09  Gary V. Vaughan  <gary@gnu.org>

	specs: convert adhoc tests to specl specs.
	* tests-curses.lua: Remove. Move contents from here...
	* specs/curses_spec.yaml: New file. ...to here, and reformat.
	* tests-posix.lua: Remove.
	* specs/posix_spec.yaml: New file. Implement equivalent (or
	better!) specs here.
	* specs/specs.mk (specl_SPECS): Add new specs.

	specs: convert lunit fcntl checks to specl specs.
	* README: Remove reference to lunit.
	* tests-fcntl.lua: Remove.
	* specs/posix_lua_spec.yaml: New file with equivalent checks for
	Specl.
	* specs/specs.mk (specl_SPECS): Add specs/posix_lua_spec.yaml.
	* local.mk: Include specs/specs.mk.

	slingshot: adopt slingshot release mechanism.
	* README: Move from here...
	* README.md: ...to here. Adjust for GH Markdown.
	* GNUmakefile, Makefile.am, build-aux/mkrockspecs,
	m4/ax_compare_version.m4, m4/ax_lua.m4:
	Remove. These files are handled by slingshot now.
	* rockspecs.lua, m4/ax_with_prog.m4: Remove. No longer used.
	* bootstrap.slingshot: New file. Slingshot bootstrap plugin.
	* bootstrap.conf: Source it.
	* configure.ac: Adjust to drive slingshot processes.
	* local.mk: New file. Project local make rules.
	* rockspec.conf: New file. Slingshat rockspec template.
	* specs/specs.mk: Simplified.
	* .prev-version: Record previous version number.
	* .gitignore: Update.
	* .travis.yml: Regenerate.

	termios: remove deprecated legacy symbols.
	Don't write new code with these, they are not definied by stricly
	POSIX conformant hosts. See:
	http://pubs.opengroup.org/onlinepubs/009695399/basedefs/termios.h.html
	* lposix.c (XCASE, IUCLC, OUCLC): Remove.

	termios: make XSI extensions optional.
	Mac OS X is a POSIX conformant system, but does not implement
	all XSI extensions. Only create constant for XSI extensions if
	they are defined by the host system. See:
	http://pubs.opengroup.org/onlinepubs/009695399/basedefs/termios.h.html
	* lposix.c (CBAUD, EXTA, EXTB, ECHOCTL, ECHOPRT, ECHOKE, FLUSHO)
	(PENDIN): Wrap with preprocessor guards.
	(DEFECHO, LOBLK, SWTCH, VDISCARD, VDSUSP, VLNEXT, VREPRINT)
	(VSTATUS, VWERASE): Additional conditional XSI extensions.

2013-04-23  Ico Doornekamp  <ico@pruts.nl>

	Fixed dir example for 5.2

	Added missing 57k6 baudrate to termios table

2013-04-18  Ico Doornekamp  <ico@pruts.nl>

	Fixed glob example, added missing 'posix ='. Also removed the readlink() part because /proc on linux violates posix and does not properly fill in st_size on lstat(), causing readlink() to fail with EINVAL.

	Fix poll example, open failed due to wrong 2nd argument type, probably from old lposix API?

	I broke poll with commit 8deb0ebd041ab6d4761f86a7a906dd850111bae7
	The result is just fine for calling poll() only once, but breaks for
	subsequent calls to poll() when passing the same table. In this case,
	the events are not cleared from the revents table, causing false
	positives.

2013-04-16  Reuben Thomas  <rrt@sc3d.org>

	Merge pull request #90 from zevv/getopt
	Rename getopt_long() to getopt(), long options are now optional.

	Merge pull request #91 from zevv/termios
	Moved tests-termios.lua to examples/termios.lua

2013-04-16  Ico Doornekamp  <ico@pruts.nl>

	Added minimal termios test.

2013-04-16  Reuben Thomas  <rrt@sc3d.org>

	Mention where to look for other contributors.

	Merge pull request #82 from zevv/socket
	Added socket functions and test script

2013-04-16  Ico Doornekamp  <ico@pruts.nl>

	Changed getopt_long semantics, reorderd iterator return values, optarg is now string instead of number. This allows getopt_long to closely mimic getopt
	Renamed getopt_long to getopt, changed short options type from number to
	string, updated example

	Added POSIX socket functions and constants

2013-04-16  Reuben Thomas  <rrt@sc3d.org>

	Merge pull request #83 from zevv/termios
	Added termios and test script

2013-04-16  Ico Doornekamp  <ico@pruts.nl>

	Added termios and test script

2013-04-15  Reuben Thomas  <rrt@sc3d.org>

	Copy stdlib code into posix.lua, minimally modified
	Solves the discussion in already-closed issue #80, and closes pull
	request #88 and closes pull request #89.

2013-04-14  Reuben Thomas  <rrt@sc3d.org>

	Merge pull request #85 from zevv/poll-only-triggered-revents
	poll only returns active events in revents table, increases performance

	Move require of std.list to correct place

2013-04-13  Ico Doornekamp  <ico@pruts.nl>

	Simplified lua_pushboolean() expression

	poll only returns active events in revents table, increases performance

2013-04-12  Reuben Thomas  <rrt@sc3d.org>

	Require stdlib; fixes #80

	.gitignore: add TAGS

	lposix.c: fix lua_Alloc calls that free (they should pass the current size); fix a memory leak in msgrcv

	lposix.c: fix error-case space leak in Pread; fixes issue #78

2013-04-11  Gary V. Vaughan  <gary@gnu.org>

	posix.lua: fix a typo in assert.
	* posix.lua (pipeline): t1 is not declared, use type of t in the
	assert error.

2013-03-28  Reuben Thomas  <rrt@sc3d.org>

	lposix.c: change bogus @long tags to @int tags.

	lposix.c: add function line for pipe (was missing)
	Thanks to behoffski for the report.

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

	lposix.c: fix @function line of isprint (was wrongly "isgraph")
	Thanks to behoffski for the report.

2013-03-23  Reuben Thomas  <rrt@sc3d.org>

	tests-posix.lua: fix pipeline test for VPATH build

	tests-posix.lua: fix pipeline test
	Should call pipeline_slurp, not pipeline_iterator to get whole output
	in one go. This has the nice side-effect of testing both
	pipeline_iterator and pipeline as well, as pipeline_slurp calls
	pipeline_iterator, which calls pipeline.

2013-03-20  Reuben Thomas  <rrt@sc3d.org>

	Makefile.am: unset LUA_INIT_5_2 in calls to get information from woger.
	This is an ugly hack, but since it will work at least until the
	release of Lua 5.3, it's better than nothing.

	configure.ac: bump version to 5.1.28

	Simplify and fix pipeline_iterator, and add a test.

2013-03-18  Reuben Thomas  <rrt@sc3d.org>

	posix.lua: fix bug in posix.pipeline_iterator, where it always closed the pipe on first iteration

2013-03-17  Reuben Thomas  <rrt@sc3d.org>

	configure.ac: bump version to 5.1.27

	posix.lua: rename posix.system to posix.spawn, keeping old name as alias for now.

2013-03-16  Reuben Thomas  <rrt@sc3d.org>

	Allow posix.system to take a function, a shell command, or a file and list of arguments. Use it in pipeline.
	Allow pipeline functions to take an extra parameter giving the
	function to use to make a pipe (e.g. so posix.openpty can be used
	instead). Change argument to a table rather than a list of tasks.

2013-03-14  Reuben Thomas  <rrt@sc3d.org>

	posix.lua: tidy up pipeline and add pipeline_iterator and pipeline_slurp

	Merge pull request #72 from nmcveity/fix-5.1-compat
	Removed Lua 5.2 functions lua_len and lua_tointegerx

	COPYING: bump copyright year

	Add pipeline function to execute a pipeline of shell commands & Lua functions

2013-03-05  nmcveity  <nmcveity@gmail.com>

	Removed Lua 5.2 functions lua_len and lua_tointegerx
	This fixes issue #71.

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

	Makefile.am: stop making unnecessary ChangeLog.

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

	lposix.c: fix a space leak in realpath

	configure.ac: bump version to 5.1.26.

	lposix.c: change some @param's to @string where possible

	Add posix.realpath.

	lposix.c: add support for SA_* flags when establishing a signal handler

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

	posix.lua: add posix.openpty

2013-02-28  Reuben Thomas  <rrt@sc3d.org>

	lposix.c: improve documentation of posix.read

	lposix.c: document posix.wait's return values properly

	lposix.c: add killpg

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

	Makefile.am: release directory should already be on release branch; remove checkout command

	Makefile.am: use simpler and more robust scheme of parallel checkout for checking in release code.

	Allow exec/execp arguments to be supplied as a table, including argv[0]. Closes #65.

	configure.ac: bump version to 5.1.25

	Merge pull request #67 from zserge/master
	Support for message queues

2013-02-19  Reuben Thomas  <rrt@sc3d.org>

	Merge pull request #68 from sam-github/pts-support
	Fix posix.openpt() requireing and ignoring a path.

	When no LDoc installed, create docs directory before touching files in it; fixes issue #66

2013-02-19  Sam Roberts  <vieuxtech@gmail.com>

	Fix posix.openpt() requireing and ignoring a path.

2013-02-19  Serge Zaitsev  <zaitsev.serge@gmail.com>

	added basic message queues support

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

	Merge pull request #58 from sam-github/pts-support
	Support Unix 98 style pseudoterminals, as specified in POSIX.1-2001

2013-02-18  Sam Roberts  <vieuxtech@gmail.com>

	Tests for pseudoterminal support.

2013-02-17  Sam Roberts  <vieuxtech@gmail.com>

	Support Unix 98 style pseudoterminals, as specified in POSIX.1-2001
	Support consists of openpt(), ptsname(), grantpt(), and unlockpt(). The master
	fd can be created by calling  openpt(), or by opening "/dev/ptmx" (as
	specified by POSIX).

2013-02-16  Reuben Thomas  <rrt@sc3d.org>

	Makefile.am: fix woger command for new rockspec arrangement.

	Makefile.am: prevent unpacked sources being recursively checked in to release branch.

	Makefile.am: remove references to defunct files.

	rockspecs.lua: don't need to turn dots in version into dashes to get release tag.

	.gitignore: remove tarball pattern, as we no longer have tarballs.

2013-02-15  Reuben Thomas  <rrt@sc3d.org>

	Revert 31671409e62e: bit32 doesn't build with Lua 5.2, so require luabitop instead.

	rockspecs.lua: fix a misnamed variable

	configury: add rockspec-generating files for git/release rockspecs.

	Makefile.am: remove obsolete definition of ROCKSPEC

	configure.ac: remove useless AC_SUBST calls for precious variables.

	tests-posix.lua: remove a debugging line.

	lposix.c: correct cross-reference to getopt.lua

	Bump version down to 5.1.24: we haven't made such a release yet

	configury: update for releasing on 'release' branch of github rather than via tarballs.

	Update ax_lua.m4 to latest: no code changes, formatting only.

	tests-posix.lua: remove commented-out test for non-POSIX putenv function

	Add STD{IN,OUT,ERR}_FILENO constants.

	Add isatty.

2013-02-13  Reuben Thomas  <rrt@sc3d.org>

	Use bit32 (now available for 5.1) rather than luabitop: slightly simplifies things.

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

	lposix.c: Reuben Thomas is no longer the maintainer.

	m4/ax_compare_version.m4: add support file for ax_lua.m4

2013-02-07  Alexander V. Nikolaev  <avn@daemon.hole.ru>

	Merge pull request #61 from gvvaughan/pull-request/maint-clean-ldocs-output
	configury: clean up ldoc droppings with make maintainer-clean

	Merge pull request #62 from gvvaughan/pull-request/remove-empty-lib-subdir
	gnulib: no need to link always empty libgnu.

2013-02-06  Reuben Thomas  <rrt@sc3d.org>

	configury: update ax_lua.m4 to latest version, which simplifies configure.ac slightly.

2013-01-29  Gary V. Vaughan  <gary@gnu.org>

	gnulib: no need to link always empty libgnu.
	Now that we have no C modules from gnulib, there's no need to
	build and link the always empty library any more.
	* Makefile.am (SUBDIRS): Remove.
	* configure.ac (AC_CONFIG_FILES): Remove lib/Makefile.
	* bootstrap.conf (gnulib_tool_options): Add --avoid=dummy to skip
	the one remaining empty gnulib C source file.
	(luaposix_remove_empty_lib): gnulib-tool now generates a useless
	lib subdirectory containing just a Makefile.am and .gitignore. We
	don't use or need it any more, so delete it.
	(luaposix_finish): Don't copy dummy.c out of gnulib.

	configury: clean up ldoc droppings with make maintainer-clean
	* Makefile.am (MAINTAINERCLEANFILES): Add docs/index.html and
	docs/ldoc.css.

2013-01-27  Alexander V. Nikolaev  <avn@daemon.hole.ru>

	Merge pull request #59 from gvvaughan/pull-request/handle-missing-ldoc
	configury: handle missing ldoc binary.

2013-01-26  Gary V. Vaughan  <gary@gnu.org>

	configury: handle missing ldoc binary.
	* configure.ac (LDOC): Set with AX_WITH_PROG.
	(HAVE_LDOC): New conditional.
	* Makefile.am (HTML): Fold into...
	(dist_doc_DATA): ...here.
	Run ldoc when available, otherwise touch the requried files to
	prevent build failure.

2013-01-10  Reuben Thomas  <rrt@sc3d.org>

	Merge pull request #56 from gvvaughan/pull-request/curses-resizeterm-support
	curses: conditional resizeterm support.

	Merge pull request #55 from gvvaughan/pull-request/fix-waddstr-double-append-bug
	curses: don't waddstr() each string twice.

	Merge pull request #53 from gvvaughan/pull-request/remove-automake-werror
	configury: remove automake -Werror option.

	Merge pull request #52 from gvvaughan/pull-request/add-am-prog-ar
	configury: use AM_PROG_AR for automake 1.13.

	Merge pull request #50 from gvvaughan/pull-request/keep-gnulib-revision-under-version-control
	configury: keep gnulib revision under version control.

	Merge pull request #51 from gvvaughan/pull-request/sync-upstream-bootstrap
	bootstrap: sync with upstream.

	Merge pull request #54 from gvvaughan/pull-request/no-need-for-lt-output
	configury: no need to fork for libtool.m4 variables.

2013-01-10  Gary V. Vaughan  <gary@gnu.org>

	curses: conditional resizeterm support.
	* configure.ac (AC_CHECK_FUNCS): Check whether resizeterm is
	implemented by the selected curses library.
	* lcurses.c (Cresizeterm): If it is, use it, otherwis throw an
	error to explain why not.
	(curseslib): Add it to the toplevel curses functions.

	curses: don't waddstr() each string twice.
	Fix a bug introduced by commit 5aa297512.
	* lcurses.c (Waddstr): Only add the string one time!

	configury: no need to fork for libtool.m4 variables.
	libtool.m4 is expanded into configure already, so the values are
	available after LT_INIT in configure.in without creating config.lt
	to copy the values we already have into an early libtool script,
	and then fork again to grep the content of those copies back into
	configure!!  (LT_OUTPUT is only necessary if you need to run
	configure time compilation tests using the libtool script to
	wrap the actual compiler).
	* configure.ac (LT_OUTPUT): Remove.
	(shrext): shrext_cmds is already set by LT_INIT, so just use it
	without calling the early libtool script.

	configury: remove automake -Werror option.
	This option causes automake to bail out after warning about the
	use of gmake extensions.
	* configure.ac (AM_INIT_AUTOMAKE): Remove -Werror.

	bootstrap: sync with upstream.
	This revision fixes some small bugs, and is compatible with
	non-gnu awk and non-gnu sed again.
	* bootstrap: sync with upstream.

	configury: keep gnulib revision under version control.
	It's important to keep the gnulib revision number used by any
	particular checkout of luaposix under version control rather than
	hoping that whatever the current HEAD is will work.
	* .gitignore: Remove gnulib.
	* gnulib: Add current master revision.

	configury: use AM_PROG_AR for automake 1.13.
	* configure.ac (AM_PROG_AR): Required by recent automake releases,
	but not available in very old releases.

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

	configure.ac: fix regeneration of luaposix.rockspec

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

	configure.ac: fix a comment

	luaposix.rockspec.in: remove redundant dir setting

2012-12-15  Alexander V. Nikolaev  <avn@daemon.hole.ru>

	configure.ac: bump version to 5.1.25

	rockspec: Add missing dependency for luabitop
	luaposix depends on bitop library on lua 5.1 since luaposix 5.1.16

2012-12-05  Alexander V. Nikolaev  <avn@daemon.hole.ru>

	Merge pull request #48 from Keen-github/vs/2230/fix_hack_for_luaposix_compatibility
	Added 'day' field for compatibility to Lua os.date(); fixed issue #32.

2012-11-15  Valeriy Skurikhin  <Keen.vs@gmail.com>

	Added 'day' field for compatibility to Lua os.date(); fixed issue #32.

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

	Use lstat to read size of a link (for Preadlink); fixes issue #47.

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

	configure.ac: bump version to 5.1.24

	lcurses.c: don't run strlen unnecessarily; w[mv]addstr does that anyway

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

	Makefile.am: now that github-upload is fixed, consolidate release into a single target

	Makefile.am: correct github_user parameter to woger (thanks, Liam)

	release: luarocks-related tweaks

	Makefile.am: make check-luarock depend on the rockspec, as github seems to work after all

	release: automatically check the rockspec before making a release

	Make Lua 5.2-compatibility more Lua 5.2-ish.

	tree.lua: make Lua 5.2-compatible

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

	rockspec: make build_command more robust

	build: install documentation with 'make install' and from luarocks

2012-09-24  Reuben Thomas  <rrt@sc3d.org>

	lposix.c: improve comment of mkstemp

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

	configure.ac: bump version to 5.1.23

	lcurses.c: define LUA_COMPAT_ALL to get luaL_register.

2012-09-14  Reuben Thomas  <rrt@sc3d.org>

	dummy.c: fix copyright notice to be public domain

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

	version: bump to 5.1.22.

	gnulib: re-add dummy.c with correct license to fix Mac OS X build (issue #46)

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

	configure.ac: enable automake to generate dependencies for rockspec (thanks, Hisham Muhammad).

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

	Merge pull request #45 from wcmaier/fix/github-url
	Update Github URL.

2012-09-07  Will Maier  <wcmaier@m.aier.us>

	Update Github URL.

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

	Bump version to 5.1.21.

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

	README: Add link to online HTML docs.

	README: Update location of repo and contact details.

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

	bootstrap.conf: no longer require now-defunct `missing' script.

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

	Add docstrings (using Steve Donovan's ldoc) to lposix.c
	The documentation comes from from Steve Donovan and the Alpine Linux
	wiki (Natanael Copa).

	Reindent Psignal, which was a bit out of order.

	Make rpoll use file descriptors, not Lua file objects, so it can be
	used with both (via fileno).

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

	Document dependency on bitop library with Lua 5.1 (thanks to Bernd Eggink).

	Remove documentation of configure options, one of which was obsolete.

2012-06-23  Reuben Thomas  <rrt@sc3d.org>

	Simplify Lua 5.2 compatibility

	lposix.c: revert to using MYNAME, as it is different from PACKAGE.

2012-06-22  Reuben Thomas  <rrt@sc3d.org>

	build: don't unset LUA_INIT, as it may be needed to set Lua paths.

	Update bug reporting advice (thanks, Yuri Takhteyev).

	Fix some incorrectly-named references to posix module.

	Simplify construction of messages with autoconf variables.

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

	build: don't include non-MIT-licensed dummy.c from gnulib (fixes issue #42).

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

	Merge pull request #41 from gvvaughan/pull-request/timer-macros
	gettimeofday: change format to a table with sec and usec fields.

2012-06-01  Gary V. Vaughan  <gary@gnu.org>

	gettimeofday: replace C timer macros with lua equivalents.
	* lposix.c (Ptimeradd, Ptimercmp, Ptimersub): Remove.
	* posix.lua (timeradd, timercmp, timersub): New Lua equivalents
	to removed C implementations.

2012-05-29  Gary V. Vaughan  <gary@gnu.org>

	gettimeofday: change format to a table with sec and usec fields.
	* lposix.c (Pgettimeofday): Return a single table with sec and usec
	fields, rather than a pair of numbers.
	(Ptimeradd, Ptimercmp, Ptimersub): New functions to emulate the
	macros timeradd, timercmp and timersub respectively.

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

	Merge pull request #40 from gvvaughan/pull-request/feature-tests-not-version-checks
	crypt: this function is available on darwin, but no crypt.h header is

2012-05-29  Gary V. Vaughan  <gary@gnu.org>

	statvfs: check for actual presence of function and header.
	* configure.ac (sys/statvfs.h): Test for presence of this header.
	(statvfs): Test for availability of this API.
	* lposix.c (sys/statvfs.h): Include it, if configure found it.
	(Pstatvfs): Wrap statvfs if configure found the API.
	(R): List Pstatvfs if we wrapped it earlier.

	crypt: this function is available on darwin, but no crypt.h header is
	One of the main principles of Autoconf is that you should test for
	features, not for versions - exactly because of compilation problems
	like this, where Apple sets _POSIX_VERSION to make us think that
	crypt.h is available, but there is no crypt.h header.
	* configure.ac (crypt.h): Test for presence of this header.
	(crypt): If the crypt function is available, whether or not the
	additional -lcrypt library is required, define HAVE_CRYPT.
	* lposix.c (crypt.h): Include it if configure found it.
	(Pcrypt): Define it if configure detected a system crypt API.
	(R): List Pcrypt, if we defined it earlier.

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

	posix.lua: update call of posix.open to match new API.

	Add missing posix suffix to a call of access.

	Merge pull request #39 from stevedonovan/master
	Implement signal queue so signals arriving while in a Lua signal handler are not lost.

2012-05-28  Steve Donovan  <steve.j.donovan@gmail.com>

	signal handling queue implemented

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

	Bump version to 5.1.20.

	getgroup: fix an off-by-one error (thanks, Steve Donovan)

	lposix.c: more minor whitespace fixes

	posix.lua: add a missing space (whitespace fix).

	system: Kill the fork if execp fails (thanks, Steve Donovan)

	lposix.c: require a mode for open with O_CREAT, and only then.

	tests: update for revised open API.

	lposix.c: minor whitespace fixes.

	lposix.c: make file & creation flags public; pass flags to open as an integer mask, not a table.

	Fix some comments.

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

	Remove non-POSIX crypt_r and replace function checks with POSIX version checks.

	Add a pointer to documentation and some basic coding principles.

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

	Update web site URL and be more explicit about system requirements.

2012-05-13  Alexander V. Nikolaev  <avn@daemon.hole.ru>

	Rework test for glob() -- use temporary directory
	This allow us to not depend from *.la files from build.

	Simple tests for mkdtemp and mkstemp

2012-05-13  Your Name  <7hemroc@gmail.com>

	Add mkdtemp()

2012-05-13  Alexander V. Nikolaev  <avn@daemon.hole.ru>

	Memory leak in mkstemp
	Pmkstemp not release temporary string buffer, if mkstemp() raise an error

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

	Merge pull request #35 from likema/master
	Add statvfs and crypt_r.

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

	lcurses.c: Remove some casts to chtype that only cause trouble.

	strlcpy.c: add prototype to squash compiler warning.

	strlcpy.c: Make function declaration ANSI.

2012-05-01  Like Ma  <likemartinma@gmail.com>

	Add AC_USE_SYSTEM_EXTENSIONS to configure.ac for define _GNU_SOURCE in config.h.in

2012-04-23  Like Ma  <likemartinma@gmail.com>

	Merge remote-tracking branch 'upstream/master'

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

	Copy with -1 return for _PC_PATH_MAX.

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

	Bump version to 5.1.19.

	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>

	Fix memory leaks introduced by fix to cope with arbitrary-length paths.

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

	Add tests for dirname and basename.

	Work with arbitrary-length paths.

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

	Remove XSR errno.h codes (thanks Enrico Tassi).

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

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

	Back to using only a double fork of lunit.

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

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

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

	Improve documentation for use with Lua 5.2.

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

	Bump version to 5.1.18.

	posix.lua: make Lua 5.2-compatible.

	Make configure accept Lua 5.2.

	Add correct license, and refer to it in README.

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

	Bump version to 5.1.17.

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

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

	Make curses module work with Lua 5.2 module system (patch by StarWing).

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

	Makefile.am: update woger call.

	Makefile.am: Update woger call.

	Makefile.am: add lua52compat.h to EXTRA_DIST.

2012-02-13  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-12  Like Ma  <likemartinma@gmail.com>

	Use crypt_r instead of crypt if it exists for thread-safe.

	Add statvfs

	Use AC_SEARCH_LIBS instead of AC_CHECK_LIBS to fix function crypt not found when configuring.

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

	Fix bug in chmod (closes issue #55).

	Update ax_with_curses.m4.

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

	Remove some non-POSIX features.

	Remove non-standard memrchr.

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

	Fix signal handling so all signals are handled, one at a time.

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

	lposix.c: fix whitespace typo.

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

	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>

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

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

	Remove SIGPROF and SIGPOLL, which are marked obsolescent.

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

	curses: update ax_with_curses.m4 to latest version.

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

	In strftime, make isdst optional like all other fields.

	Add strptime.

	Simplify a lua_pushlstring call to a lua_pushstring call.

	Simplify hostid, making it return a number, not a string.

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

2012-01-17  Hisham Muhammad  <hisham@gobolinux.org>

	Make octal_mode use strtol, as requested by rrthomas.

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

	Add support of octal stat modes in mode_munch

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

	Update and make precise the versions of Lua catered to.

	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.

	Remove unused lua_setenv macro.

	Add memrchr.

	Add a comment explaining that posix.signal has sensible semantics.

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

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

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

	Merge pull request #21 from gvvaughan/pull-request/refactor-lcurses-with-cpp
	refactor: use lposix-style macro splicing in lcurses.

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

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

	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>

	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-25  Reuben Thomas  <rrt@sc3d.org>

	Explain why we don’t use an upvalue in an obvious situation.

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

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

	Use LPOSIX_STR_1 to prevent premature expansion of signal handler macro names.

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

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

	refactor: use macro splicing for more tabulation.
	This would have prevented the recent unsynced signal tables bug,
	but also use cpp metaprogramming to write more repetitive code
	that needs to stay in sync between various strings and symbols.
	* lposix.c (LPOSIX__STR): Remove +1 offset.
	(LPOSIX__STR_1, LPOSIX_STR_1): Better name for +1 offset
	stringification macros. Adjust all callers.
	(sigmacros_map): New cpp table of signal symbol basenames.
	(Ssigmacros, Fsigmacros): Generate from sigmacros_map.
	(R): Use cpp to keep lua symbols and C implementations in sync.
	(luaopen_posix_c): Replace each group of preprocessor exports with
	a cpp macro call to keep C API macro values and their lua symbol
	names in sync.

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

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

	Bump version to 5.1.16.

	Clarify a NULL pointer.

	Remove non-POSIX SIG_IGN and SIG_HOLD.

	Fix some deviant indentation.

2011-11-19  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-18  Nikolai Kondrashov  <nkondrashov@nvidia.com>

	Fix getgroups corner cases
	Fix getgroups memory deallocation by simply using lua_newuserdata instead of
	potentially mismatching lalloc/free pair.
	Handle getgroups(0, NULL) returning 0 - although practically impossible,
	documentation doesn't say it can't happen.
	Handle getgroups returning negative values (reporting errors).

	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-28  Reuben Thomas  <rrt@sc3d.org>

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

	Merge pull request #17 from ittner/add-fnmatch
	Add function fnmatch() (thanks, Alexandre Ittner).

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

	Remove unused variable in the poll interface

	Add function fnmatch()
	According to
	http://pubs.opengroup.org/onlinepubs/9699919799/functions/fnmatch.html
	plus GNU extensions (if available)

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

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

2011-10-22  Nikolai Kondrashov  <nkondrashov@nvidia.com>

	Add full poll(2) interface
	Rename Ppoll to Prpoll to match external name of "rpoll".
	Add full poll(2) interface under name "poll".

	The arguments to the "poll" function are fd->pollfd map and an optional
	timeout in milliseconds (default being -1, i.e. infinity).

	"Pollfd" is a table analogue of struct pollfd, with "event" and "revent"
	fields being tables with boolean fields corresponding to bits, named without
	"POLL" suffix.

	Example usage:

	local pollfd_map = {
	    [fd1]   = {events = {IN = true}},
	    [fd2]   = {events = {IN = true}},
	    [fd3]   = {events = {IN = true}}
	}

	while next(pollfd_map) ~= nil do
	    local ready, errmsg = posix.poll(pollfd_map)

	    if ready == nil then
	        error(errmsg)
	    end

	    for fd, pollfd in pairs(polfd_map) do
	        if pollfd.revents.IN or pollfd.revents.HUP then
	            local input, errmsg, errno = posix.read(fd, 8)

	            if input == nil then
	                error(errmsg)
	            elseif #input == 0 then
	                pollfd_map[fd] = nil
	            else
	                print(tostring(fd) .. ":", input:byte(1, -1))
	            end
	        end
	    end
	end

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

	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-10  Alexander V. Nikolaev  <avn@daemon.hole.ru>

	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>

	Expose new fcntl function (oops!) and rewrite tests to use it.

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

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

	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>

	rockspec: move distribution & home page to github

	Makefile.am: update to latest woger

	Bump version to 5.1.15.

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

	tests: fix Lua paths and xargs usage to run tests correctly

	Fix license.

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

2011-09-27  Mikhail Gusarov  <dottedmag@dottedmag.net>

	Tests for fcntl (untested)

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

	Add setfl/getfl
	Access to functionality of fcntl(fd, F_GETFL) and fcntl(fd, F_SETFL, arg)

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

	Export WNOHANG to lua and pass options to wait

	Add pipe() and test

	Add dup/dup2 functions

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

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

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

	Makefile.am: fix deps of the rockspec.

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

	Use $PACKAGE instead of luaposix.

	Fix distribution of rockspec source.

	Bump version to 5.1.14.

	Make some symbolic constants case-insensitive in Lua.

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

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

	Makefile.am: actually make rockspec on release

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

	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>

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

	rockspec: auto-generate (except for part of download URL, argh).

	Bump version to 5.1.13.

	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>

	Don't build or install useless static libs or versioned symlinks.

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

	Update curses documentation for luaposix integration.

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

	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.

	.gitignore: Add distribution tarball.

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

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

	refactor: lookup_symbol mappings with macro splicing
	Tabulate just the basename for each mapping, and then stringify with an
	offset, or splice in the prefix before macro expansion as each static
	table initializer is built by the preprocessor.

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

	Makefile.am: fix make distcheck.

	.gitignore: Add *.html and ChangeLog.

	Distribute tests.

	Distribute strlcpy.c.

	configury: Make building curses optional.

	Merge lcurses into luaposix.

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

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

	bugfix: tabulate lookup_symbol mappings
	By keeping the map relationship explicitly in a macro expanded table,
	prevent: And in this case fix a bug in the earlier changeset 58f586b
	where they got out of sync.

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

	Merge pull request #7 from gvvaughan/pull-request/no-m4-quotes-in-configure-ac
	configury: no m4 quotes in configure.ac

	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

	Merge pull request #5 from gvvaughan/pull-request/let-bootstrap-conf-manage-gnulib-gitignore
	configury: let bootstrap.conf manage gnulib .gitignore

	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>

	configury: add libcrypt if required
	When the crypt() function does not work unaided, try again by adding
	libcrypt to LIBS and substituting into Makefile.in.

	portability: darwin has no O_RSYNC definition

	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>

	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>

	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-08  Reuben Thomas  <rrt@sc3d.org>

	lposix.c: Include config.h.

	Rename luaopen function to match new library name.

	Add missing quotes.

	Replace previous machinery for detecting extra cc and ld flags.

	autotoolize the build system.

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

	Add read and write.

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

	Add open and close.
	Generalise get_rlimit_const to lookup_symbol, and use it for open
	flags.

	Add a FIXME.

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

	Tidy up whitespace and comments a bit for consistency.

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

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

2011-06-21  Joey Degges  <jdegges@gmail.com>

	Add nanosleep.

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

	Remove unneeded shim for luaL_register; Lua 5.2 still has compatibility code for this.

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

	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>

	Reformat test.lua a bit more consistently.

	Separate out Lua 5.2 compatibility.

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

	Ported to 5.2.0-alpha.
	 * Lightly tested.
	 * Conditional compilation, so remains backwards-compatible with 5.1.

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

	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.

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

	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().

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

	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().

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

	Bump version to 5.1.11.

	Fix a typo which caused a buffer overrun.

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

	Bump version to 5.1.10.

	Fix typo in Pmkstemp.

	Fix possibly dangerous typos in mode_munch.

	Update maintainer and bump copyright year.

	Fix typo in error mesage.

	Add mkstemp.

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

	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.

	Makefile: Darwin needs -D_POSIX_C_SOURCE in order to define SIGPOLL

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

	Make sure _XOPEN_REALTIME is defined before testing its value.

	Remove non-POSIX rlimit resources, and as missing RLIMIT_AS.

	Test _XOPEN_REALTIME correctly (!= -1, not merely defined).

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

	Update maintainer and git repo location.

	Bump version to 5.1.9.

	Fix some Darwin problems.

	Guard realtime functions with _XOPEN_REALTIME, and remove a bogus debug line.

	Add getgroups.

	Add set_errno.

	Add _exit.

	Add signals support.

	Use lua_setfield where possible.

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

	release 5.1.8

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

	Add getopt_long.

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

	Update maintainer and documentation information.

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

	isgraph/isprint: use function pointer to save a few bytes

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

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

		test.lua

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

	Add isprint and isgraph.

	Add errno and stdio.h constants.

	Add abort and raise.

	Add some comments.

	Remove excess white space to aid readability, and fix some indenting.

	Remove Lua 5.0 compatibility.

	Add copyright notices for new contributors and tidy up old ones.

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

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

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

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

	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-26  Reuben Thomas  <rrt@sc3d.org>

	Remove unnecessary phony targets.

	Fix building with glibc (support for crypt).

	Remove non-POSIX gecos field of struct passwd.

	Improve a comment.

	Fix inconsistent indentation.

	Remove support for obsolete timezone argument of gettimeofday.

	Remove declaration of crypt; it's a build system problem.

	Add .gitignore file.

	Compile syslog functions on any system with new-enough POSIX.

	Clean up whitespace.

	Remove bogus whitespace.

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

	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: use execp instead of exec when testing fork

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

	use integers for gettimeofday
	so it works for platforms that uses float for lua numbers.

	Add note to ChangeLog that we moved to git

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

	fix bug in setrlimit

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

	release 5.1.7

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

	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>

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

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

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

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

	added function definitions for 'make show-funcs'

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

	Use realtime clock by default in clock_get*

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

	Added strftime

	Add localtime, gmtime and time

	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

	Add gettimeofday, clock_getres, clock_gettime

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

	release 5.1.5

	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>

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

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

	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>

	Set LIBVERSION=4 for release 5.1.4.

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

	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>

	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>

	updated readme and changelog

	use luaL_register

	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>

	added fdopen()

	updated changelog

	version 5.1.2

	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>

	dont run test by default

	sorted #includes, removed dead code, whitspacefixes

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

	cleaned up Makefile

	avoid warning on 64 bit hosts

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

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

	included stuff from http://lua-users.org/lists/lua-l/2006-10/msg00448.html

	Initial revision