Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | new depends | sjg | 2015-06-16 | 1 | -1/+1 | |
| | ||||||
* | removed extra keyword | sjg | 2015-06-13 | 1 | -1/+0 | |
| | ||||||
* | Add META_MODE support. | sjg | 2015-06-13 | 1 | -0/+19 | |
|\ | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp | |||||
| * | dirdeps.mk now sets DEP_RELDIR | sjg | 2015-06-08 | 1 | -2/+0 | |
| | | ||||||
| * | Merge sync of head | sjg | 2015-05-27 | 2 | -0/+24 | |
| |\ | |/ |/| | ||||||
| * | Updated dependencies | sjg | 2014-05-16 | 1 | -1/+0 | |
| | | ||||||
| * | Updated dependencies | sjg | 2014-05-10 | 1 | -0/+2 | |
| | | ||||||
| * | Merge head | sjg | 2014-04-28 | 1 | -0/+1 | |
| |\ | ||||||
| * \ | Merge from head | sjg | 2013-09-05 | 1 | -1/+2 | |
| |\ \ | ||||||
| * | | | Updated dependencies | sjg | 2013-03-11 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | Updated dependencies | sjg | 2013-02-16 | 1 | -2/+0 | |
| | | | | ||||||
| * | | | Sync with HEAD. | obrien | 2013-02-08 | 2 | -6/+30 | |
| |\ \ \ | ||||||
| | \ \ \ | ||||||
| | \ \ \ | ||||||
| *-. \ \ \ | Sync from head | sjg | 2012-11-04 | 2 | -18/+21 | |
| |\ \ \ \ \ | ||||||
| * | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch. | marcel | 2012-08-22 | 1 | -0/+19 | |
| | |/ / / / | |/| | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> | |||||
* | | | | | | Install d_align.{in,out} for the :align test | ngie | 2015-01-05 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X-MFC with: r276669 Pointyhat to: me | |||||
* | | | | | | Integrate bin/cat/tests from NetBSD into atf/kyua | ngie | 2015-01-04 | 2 | -0/+19 | |
| |_|_|_|/ |/| | | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division | |||||
* | | | | | Close the newly-created FD if the pathname is too long. | adrian | 2014-01-11 | 1 | -0/+1 | |
| |_|_|/ |/| | | | | | | | | | | | | | | | Coverity: CID 1007204 Sponsored by: Netflix, Inc. | |||||
* | | | | - Add the __dead2 attribute since it is a function that never returns | eadler | 2013-04-23 | 1 | -1/+2 | |
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | - Add an empty line in usage() according to style(9) PR: bin/177076 Submitted by: Fernando <fernando.apesteguia@gmail.com> Approved by: cperciva (mentor) | |||||
* | | | Fix date. | joel | 2013-01-29 | 1 | -1/+1 | |
| | | | ||||||
* | | | Add -l option to cat(1). This option causes cat(1) to use fcntl(2) to | brooks | 2013-01-29 | 2 | -6/+30 | |
| |/ |/| | | | | | | | | | | | | | set an exclusive advisory lock on stdout. This will be used to guarantee orderly writing to METALOG. Sponsored by: DARPA, AFRL Obtained from: NetBSD (mason) | |||||
* | | Use "e.g.", not "i.e.", to introduce an example. | kevlo | 2012-09-07 | 1 | -1/+1 | |
| | | | | | | | | Obtained from: NetBSD | |||||
* | | Use proper error message when fstat(2) fails on stdout. | jh | 2012-07-20 | 1 | -1/+1 | |
| | | | | | | | | | | PR: bin/159746 Submitted by: Alex K. | |||||
* | | style(9). | jh | 2012-07-20 | 1 | -16/+19 | |
|/ | ||||||
* | Put some static keywords in the source code. | ed | 2011-10-31 | 1 | -3/+3 | |
| | | | | | | For these simple utilities, it doesn't harm to make all global variables static. In fact, this allows the compiler to perform better forms of optimisation and analysis. | |||||
* | Removed redundant WARNS setting. | ru | 2009-10-15 | 1 | -1/+0 | |
| | | | | Submitted by: Ulrich Spörlein | |||||
* | cat(1) compiles fine at WARNS level 6. | des | 2009-03-16 | 1 | -0/+1 | |
| | ||||||
* | Teach cat(1) and cp(1) to use a larger buffer if enough memory is present | ivoras | 2008-10-30 | 1 | -2/+21 | |
| | | | | | | | | | | | | | | | | | | | | | in the system. A simple heuristics is used to detect what is "enough" memory: if number of physmem pages is greater than 32k (equalling 128 MB on machines with 4 kB pages). Typical immediate result of these changes is reduction in context switches and the goal is to increase efficiency by using large buffers: before: /usr/bin/time -hlp cat file1 > file2 ... 163 voluntary context switches 11194 involuntary context switches after: /usr/bin/time -hlp ./cat file1 > file2 ... 417 voluntary context switches 272 involuntary context switches Reviewed by: hackers@ (no objections to earlier version of cat patch) Approved by: gnn (mentor) MFC after: 4 months | |||||
* | One more nit. | ru | 2006-12-23 | 1 | -1/+1 | |
| | ||||||
* | Fix markup. | ru | 2006-12-23 | 1 | -10/+12 | |
| | ||||||
* | Add the new standard EXIT STATUS section where appropriate. | ru | 2005-01-16 | 1 | -1/+1 | |
| | | | | Sort standard sections in the (documented) preferred order. | |||||
* | Eliminate macro calls inside literal displays. | ru | 2005-01-15 | 1 | -9/+6 | |
| | ||||||
* | /*- or .\"- or #- to begin license clauses. | imp | 2005-01-10 | 2 | -1/+2 | |
| | ||||||
* | Use warn() instead of perror(). | tjr | 2004-07-20 | 1 | -2/+2 | |
| | ||||||
* | Remove clause 3 from the UCB licenses. | markm | 2004-04-06 | 2 | -8/+0 | |
| | | | | OK'ed by: imp, core | |||||
* | Reduce redundancy in the description of the -u option. | tjr | 2004-03-21 | 1 | -3/+1 | |
| | ||||||
* | Document incorrect handling of multibyte characters when -t and -v options | tjr | 2004-03-21 | 1 | -1/+9 | |
| | | | | are used. | |||||
* | We have to hide copyright[] for gcc33. :-( | obrien | 2003-04-30 | 1 | -0/+2 | |
| | ||||||
* | Be consistent about declaring a function "static", and consistent | markm | 2002-10-23 | 1 | -3/+3 | |
| | | | | about the type of argv. | |||||
* | Give lint a small bit of help. | markm | 2002-07-31 | 1 | -0/+2 | |
| | ||||||
* | Consistently use __FBSDID | obrien | 2002-06-30 | 1 | -2/+2 | |
| | ||||||
* | Avoid truncating the pathname to UNIX Domain Sockets with snprintf(), | tjr | 2002-06-29 | 1 | -2/+5 | |
| | | | | | giving a more sensible warning when the (relatively meagre) sun_path limit is exceeded. | |||||
* | Use an usage() rather than doing the fprintf inside option parsing. | jmallett | 2002-06-14 | 1 | -3/+9 | |
| | ||||||
* | Print the "$" symbol on blank lines when the -s and -e options are used | tjr | 2002-06-13 | 1 | -17/+11 | |
| | | | | | | together. Obtained from: OpenBSD (millert, Denis Afonin) | |||||
* | Remove bogus "-" operand from usage message. There is no restriction on | tjr | 2002-06-13 | 1 | -1/+1 | |
| | | | | where it may be placed, it is treated the same as the file arguments. | |||||
* | Fix warnings inspired by lint, a commercial lint and WARNS=4. | markm | 2002-02-22 | 1 | -9/+11 | |
| | ||||||
* | Drag cat(1) kicking and screaming into the late 1980's: | imp | 2002-02-02 | 1 | -21/+11 | |
| | | | | | | | | | | | | o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Approved by: arch@, new style(9) | |||||
* | Default to WARNS=2. Binary builds that cannot handle this must explicitly | obrien | 2001-12-04 | 1 | -1/+0 | |
| | | | | | | set WARNS=0. Reviewed by: mike | |||||
* | WARNSify. | ru | 2001-09-26 | 2 | -4/+4 | |
| | ||||||
* | The "cat - -" feature was broken by the last commit. | ru | 2001-09-26 | 1 | -5/+15 | |
| | | | | | | | Restore the code that avoided closing and reopening stdin. This is also required by POSIX. As a bonus, enable multiple stdin reads with the -benstv flags, by resetting the EOF condition on stdin. | |||||
* | mdoc(7) police: fixed markup. | ru | 2001-09-25 | 1 | -5/+12 | |
| |