<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/date, branch upstream/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-08-29T02:21:02Z</updated>
<entry>
<title>MFC r269903:</title>
<updated>2014-08-29T02:21:02Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-08-29T02:21:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a1af38dc64693d78badc27c027e8bbfa4deda25e'/>
<id>urn:sha1:a1af38dc64693d78badc27c027e8bbfa4deda25e</id>
<content type='text'>
 Port date/bin/tests to ATF

 Phabric: D545
 Approved by: jmmv (mentor)
 Submitted by: keramida (earlier version)
 Sponsored by: Google, Inc
 Sponsored by: EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>date(1): Add "-R" flag to use RFC 2822 date and time output format [MFC]</title>
<updated>2014-05-03T13:19:11Z</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2014-05-03T13:19:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=345426f08518bed549fc0d85ad8cdaf6d47325bf'/>
<id>urn:sha1:345426f08518bed549fc0d85ad8cdaf6d47325bf</id>
<content type='text'>
As stated in the man page, this is equivalent to use "%a, %d %b %Y %T %z"
as the output format while LC_TIME is set to the "C" locale.

This is compatible with date(1) from the GNU core utilities.

This is an MFC of r264968 and r264970.
</content>
</entry>
<entry>
<title>MFC refactoring of the *.test.mk files.</title>
<updated>2014-04-14T23:51:57Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-04-14T23:51:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=555563a419958e35d0021a54e138d1c7864cd2fb'/>
<id>urn:sha1:555563a419958e35d0021a54e138d1c7864cd2fb</id>
<content type='text'>
- r263161 Make bsd.test.mk the only public mk fragment for the building of tests.
- r263172 Move FreeBSD Test Suite-specific code to a suite.test.mk file.
- r263204 Add some documentation for bsd.test.mk.
- r263217 Document support for TAP-compliant Perl test programs.

This is "make tinderbox" clean.
</content>
</entry>
<entry>
<title>Sync sh(1) in stable/10 to head.</title>
<updated>2014-03-09T17:04:31Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-09T17:04:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b00c4ae6073c11ac05773be0c0766527ccfbecea'/>
<id>urn:sha1:b00c4ae6073c11ac05773be0c0766527ccfbecea</id>
<content type='text'>
This is a MFC of all the commits listed below.

My original goal of this change was to only merge the move of the tests
from tools/regression/bin/ into the new layout (which include tests for
sh(1) and other tools as well).  However, doing so is tricky due to the
ongoing work in sh(1) and, especially, the many changes to its tests
since stable/10 was first branched.

Merging everything is the simplest way to achieve this goal and, as a
bonus point, we get various fixes and miscellaneous improvements into
the branch.

Per jilles' suggestion, I'm avoiding the merge of a couple of changes
(r256850 and r257506) that required depending kernel changes.  I'm also
avoiding very recent changes that have not had a long enough time to be
validated in current.

This is "make tinderbox" clean.

r256735	sh: Remove one syscall when waiting for a foreground job.
r257399	sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&amp;'.
r257504	sh: Reorder union node to reduce its size on 64-bit platforms.
r257920	sh: Add a test case for would-be assignments that are not due to quoting.
r257929	sh: Properly quote alias output from command -v.
r258489	sh: Add tests for the &lt;/dev/null implicit in a background command.
r258533	sh: Add more tests for the &lt;/dev/null implicit in a background command.
r258535	sh: Make &lt;&amp;0 disable the &lt;/dev/null implicit in a background command.
r258776	sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.
r259047	sh: Split set -x output into a separate function.
r259210	Migrate tools/regression/bin/ tests to the new layout.
r259844	sh: Remove an unused variable.
r259846	sh: Initialize OPTIND=1 even if it came from the environment.
r259874	sh: Simplify code related to PPID variable.
r259946	sh: Don't check input for non-whitespace if history is disabled.
r260246	sh(1): Discourage use of -e.
r260506	Run the sh(1) and test(1) tests as unprivileged.
r260586	Mark the bin/pax tests as requiring perl.
r260634	Use TAP_TESTS_PERL to register the legacy_test in bin/pax.
r260635	Replace hand-crafted Kyuafiles with automatic generation.
r260654	sh: Remove SIGWINCH handler and just check for resize before every read.
r261121	sh: Add test for nested alias.
r261125	sh: Solve the alias recursion problem in a less hackish way.
r261141	sh: Do not depend on parse/execute split in new alias test.
r261160	sh: Add tests for alias names after another alias.
r261192	sh: Allow aliases to force alias substitution on the following word.
r262533	sh: Make expari() static.
r262565	sh: Do not corrupt internal representation if LINENO inner expansion fails.
r262697	sh: Simplify expari().

Reviewed by:	jilles
</content>
</entry>
<entry>
<title>Fix socket calls on error post-r243965.</title>
<updated>2012-12-21T15:54:13Z</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2012-12-21T15:54:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a5752d55e0073d71bf3c192bbfab6363960483b5'/>
<id>urn:sha1:a5752d55e0073d71bf3c192bbfab6363960483b5</id>
<content type='text'>
Submitted by:	Garrett Cooper
</content>
</entry>
<entry>
<title>More -Wmissing-variable-declarations fixes.</title>
<updated>2012-10-19T14:49:42Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-10-19T14:49:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bf70becee6ff4798acdcfd586a88ad38b7b17495'/>
<id>urn:sha1:bf70becee6ff4798acdcfd586a88ad38b7b17495</id>
<content type='text'>
In addition to adding `static' where possible:

- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
</content>
</entry>
<entry>
<title>Rework all non-contributed files that use `struct timezone'.</title>
<updated>2012-09-01T14:45:15Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-09-01T14:45:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=902d9eafbf66c52f8513bc38f4d0c8063c0b8a03'/>
<id>urn:sha1:902d9eafbf66c52f8513bc38f4d0c8063c0b8a03</id>
<content type='text'>
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:

	int gettimeofday(struct timeval *restrict tp, void *restrict tzp);

Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is
not used). Remove dead error handling code. Also use NULL for a
nul-pointer instead of integer 0.

While there, change all pieces of code that only use tv_sec to use
time(3), as this provides less overhead.
</content>
</entry>
<entry>
<title>Explain that setting an absolute day value can fail and that the month should</title>
<updated>2010-06-04T06:56:58Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2010-06-04T06:56:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5990bfb40b4e21496de7ebced1fad69c4a80268d'/>
<id>urn:sha1:5990bfb40b4e21496de7ebced1fad69c4a80268d</id>
<content type='text'>
usually be set first when using -v.

Adjust an example that sets the day to 30 before setting the month to 3 in
accordance with this approach as the example would always fail in February!

PR:		147354
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Remove stale references to utmp(5) and its corresponding filenames.</title>
<updated>2010-01-21T17:25:12Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-21T17:25:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0806dd92385d0aec9cc43ef516f8387b1621dd6e'/>
<id>urn:sha1:0806dd92385d0aec9cc43ef516f8387b1621dd6e</id>
<content type='text'>
I removed utmp and its manpage, but not other manpages referring to it.
</content>
</entry>
<entry>
<title>Port everything in bin/ from utmp to utmpx.</title>
<updated>2010-01-13T17:56:54Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-13T17:56:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=759dba8c5a92bcc1b9335e0a13e3ac23ed80bc1a'/>
<id>urn:sha1:759dba8c5a92bcc1b9335e0a13e3ac23ed80bc1a</id>
<content type='text'>
date: use libc utmpx routines instead of the ones provided by libulog.
pax:  don't depend on &lt;utmp.h&gt;
</content>
</entry>
</feed>
