summaryrefslogtreecommitdiff
path: root/usr.bin/sort/file.c
AgeCommit message (Expand)Author
2016-10-17/var/tmp -> /tmpLawrence Teo
2015-04-03The combination of -c and -o is not specified by POSIX. In fact, the callTobias Stoeckmann
2015-04-02murder excessive whitespaceTheo de Raadt
2015-04-02Global variable free_memory is only used in sort.c's set_hw_params,Tobias Stoeckmann
2015-04-02No need for the umask() dance now that temp files are createdTodd C. Miller
2015-04-02When using mmap() we don't need to keep the open fd around, closingTodd C. Miller
2015-04-02closefile() already checks for stdin so no need to check in the caller.Todd C. Miller
2015-04-01Block signals during tmp_files insertion, so that the signal handlerTheo de Raadt
2015-04-01Just use sort_reallocarray() everywhere.Todd C. Miller
2015-04-01Remove some unneeded NULL checks that don't really help anything.Todd C. Miller
2015-04-01Let reallocarray do the multiplication for us.Todd C. Miller
2015-04-01Use reallocarray.Todd C. Miller
2015-04-01No need for if (x) free(x) style checks, this is not K&R.Todd C. Miller
2015-04-01Style nits, remove whitespace at the start of a function.Todd C. Miller
2015-04-01Use mkstemp to generate a new temporary file name.Tobias Stoeckmann
2015-04-01Remove unused len variable.Todd C. Miller
2015-03-31Remove a useless use of cat.Tobias Stoeckmann
2015-03-30Use sort_asprintf()Todd C. Miller
2015-03-20Remove custom getdelim(3) and fix a small memory leak. From Andre Smagin.Todd C. Miller
2015-03-17Add sort_calloc() and use it.Todd C. Miller
2015-03-17Initial import of FreeBSD sort.Todd C. Miller