. Fix sense of rb_tree_iterate(rbt, NULL, ...).
. Document RB_TREE_MIN/RB_TREE_MAX to avoid relying on that sense.
. Document RB_TREE_FOREACH and RB_TREE_FOREACH_REVERSE to simplify
iteration.
Addresses PR lib/46034 and PR lib/47144. It would have been nice to
make `x = NULL; while ((x = rb_tree_iterate(t, NULL, ...)) != NULL)'
DTRT to traverse t, but it's too much late for that now.
We probably ought to have an RB_TREE_FOREACH{,_REVERSE}_SAFE too.
ok christos
Changes from tzdata2013a to tzdata2013b:
Changes affecting current and future time stamps:
Haiti uses US daylight-saving rules this year, and presumably future years.
This changes time stamps starting today. (Thanks to Steffen Thorsen.)
Paraguay will end DST on March 24 this year.
(Thanks to Steffen Thorsen.) For now, assume it's just this year.
Morocco does not observe DST during Ramadan;
try to predict Ramadan in Morocco as best we can.
(Thanks to Erik Homoet for the heads-up.)
Changes affecting commentary:
Update URLs in tz-link page. Add URLs for webOS, BB10, iOS.
Update URL for Solaris. Mention Internet RFC 6557.
Update Internet RFCs 2445->5545, 2822->5322.
Switch from FTP to HTTP for Internet RFCs.
Changes from tzdata2012j to tzdata2013a:
Change affecting binary data format:
The zone offset at the end of version-2-format zone files is now
allowed to be 24:00, as per POSIX.1-2008. (Thanks to Arthor David Olson.)
Changes affecting current and future time stamps:
Chile's 2013 rules, and we guess rules for 2014 and later, will be
the same as 2012, namely Apr Sun>=23 03:00 UTC to Sep Sun>=2 04:00 UTC.
(Thanks to Steffen Thorsen and Robert Elz.)
New Zones Asia/Khandyga, Asia/Ust-Nera, Europe/Busingen.
(Thanks to Tobias Conradi and Arthur David Olson.)
Many changes affect historical time stamps before 1940.
These were deduced from: Milne J. Civil time. Geogr J. 1899
Feb;13(2):173-94 <http://www.jstor.org/stable/1774359>.
Changes from tzdata2012j to tzdata2013a:
Change affecting binary data format:
The zone offset at the end of version-2-format zone files is now
allowed to be 24:00, as per POSIX.1-2008. (Thanks to Arthor David Olson.)
Changes affecting current and future time stamps:
Chile's 2013 rules, and we guess rules for 2014 and later, will be
the same as 2012, namely Apr Sun>=23 03:00 UTC to Sep Sun>=2 04:00 UTC.
(Thanks to Steffen Thorsen and Robert Elz.)
New Zones Asia/Khandyga, Asia/Ust-Nera, Europe/Busingen.
(Thanks to Tobias Conradi and Arthur David Olson.)
Many changes affect historical time stamps before 1940.
These were deduced from: Milne J. Civil time. Geogr J. 1899
Feb;13(2):173-94 <http://www.jstor.org/stable/1774359>.
I was first going to do this by doing automatic replacements of special
macros within the tests.7 file, but that turned out to be too complex
and confusing.
Instead, just rename the previous tests.7 to tests.atf.7 and add a new
tests.kyua.7 file. Choose which one to install as tests(7) depending on
the MKKYUA knob.
This is suboptimal: the current high-level definitions of test programs
in the Makefiles do not carry enough information to support all the
features of Kyuafiles. For example, it is not possible to register test
programs that do *not* use the ATF libraries, which is something that
has been frequently requested around here; nor it is possible to attach
arbitrary metadata to test programs from the Makefile, which is handy
particularly for ATF-less test programs.
For these reasons, consider this a transitional step.
Note that, with this change, you should now be able to use the 'kyua'
tool to run the tests in /usr/tests.
Atffile generation.
This is needed to be able to generate Kyuafiles (coming later), as these
clearly differentiate between the definition of test programs and the
recursion into other subdirectories (or files).
In particular: rename ATFFILE_EXTRA_TPS to ATFFILE_EXTRA_SUBDIRS and
change the logic in bsd.test.mk to keep track of subdirectories aside from
_TESTS when creating the Atffile.
The new ATFFILE_EXTRA_TPS variable can hold a set of test programs or
subdirectories to be added to the generated Atffile, without needing these
to be built by the current Makefile.
This is to be used in conjunction with MK* knobs and external/ so that
a 3rd-party component can place its tests in the corresponding tests/
directory and have the parent Atffile recognize them.
An alternative would be to use 'tp-glob' in the Atffile and list the names
of the directories/tests that may or may not exist. However, this would
require providing manually-crafted Atffiles -- and because the majority are
auto-generated, there would be some confusion.
MKKYUA defaults to no and will remain as such until the import is complete
and validated.
This knob does not currently have any effects on the build as nothing relies
on it yet. Upcoming imports and changes in this area will all be guarded by
this flag.
This is a mess. HAS_SSP (which should really be HAVE_SSP), is defined
in bsd.sys.mk. So things that need it, include the file directly. The
trouble comes because bsd.sys.mk, needs stuff that bsd.own.mk defines,
so including first does not work. Anyway most other files include bsd.sys.mk
directly, so user Makefiles should just not do that, and just include
<bsd.own.mk> to get all the defines they need.
FSF, GPG, NIDS, NIPS, OOO, PHP,
RCS (now being doubled: one capitalized entry for the program name,
one non capitalized entry for the general term),
SEO,
SFTP (3 times, with 3 different meanings),
SIR (in the meaning of ``signal-to-interference ratio''),
SPDIF (variant on S/PDIF),
TUI, WOM.
- Removed:
Empty line between the RCS ID and first acronym (not present in
acronyms; may cause parsing issues in the future though, and
causes trouble when sorting the file, so, to keep things
consistent, remove it here instead of adding it in acronyms);
ADP (duplicate),
AWK (also in acronyms),
EOL (in the meaning of ``end of life''; also in acronyms),
FCFS (also in acronyms),
ICE (in the meaning of ``in-circuit emulator''; duplicate),
MP (in the meaning of ``multiprocessor''; combined with the equally
named entry for ``multiprocessing''),
PERL (not an official acronym),
PIN (also in acronyms).
- augment / correct entries (more consistent use of ``{}'' and
``[]'', capitalization, spelling, typos, fix incorrect acronym
translations, quoting, punctuation);
- sort entries, as well as the order within ``{}'' parts;
- remove explanations within ``()'' parts where those are unneccesary
(this is an acronym list, not a dictionary) and, in one case,
correct such explanation;
- white space fixes.
From Bug Hunting.
AM (in a meaning of ``ante meridiem''),
CEO, CUL, JFGI, JFYI, N/A, S/T.
- Removed:
SNR (also in acronyms.comp),
WYSIWYG (also in acronyms.comp).
- augment / correct entries (more consistent use of ``{}'' and
``[]'', capitalization, spelling, typos, fix incorrect acronym
translations, quoting, punctuation);
- sort entries, as well as the order within ``{}'' parts;
- remove explanations within ``()'' parts where those are unneccesary
(this is an acronym list, not a dictionary) and, in one case,
correct such explanation;
- white space fixes.
From Bug Hunting.
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.