summaryrefslogtreecommitdiff
path: root/usr.bin/less/filename.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-05-07Completely clean up UTF-8 handling in the file filename.c:Ingo Schwarze
2019-02-26To simplify the upcoming UTF-8 cleanup in less(1), delete supportIngo Schwarze
2017-10-29After fstat(2) failure, trying lseek(2) is useless, so delete it.Ingo Schwarze
2016-09-17little bit more KNFTheo de Raadt
2016-03-16style(9) includesmmcc
2016-01-29remove superfluous macrommcc
2015-11-09NULL_IFILE has no weird use patterns. NULL is sufficient.Theo de Raadt
2015-11-09use (off_t)-1 rather than a BAD_LSEEK wrapperTheo de Raadt
2015-11-09error() is not a stdarg function, so there is no reason for NULL_PARGTheo de Raadt
2015-11-07replace save() with estrdup() and make estrdup() exit like all the otherTed Unangst
2015-11-06Garrett D'Amore has agreed to moving his copyright line up above theNicholas Marriott
2015-11-05Replace less with the cleaned-up fork of less 458 maintained by GarrettNicholas Marriott
2014-04-25Merge Less 458 plus local patchesAlexandr Shadchin
2011-09-16Merge in less 444 plus local changesAlexandr Shadchin
2010-07-03use SMALL_PROGRAM to knock out some codeTheo de Raadt
2006-12-06Don't access buf[strlen(buf) - 1] for zero-length strings.Ray Lai
2006-05-23Fix removing of trailing space in file name completion list.Otto Moerbeek
2006-04-02use SEEK_* for lseek()Theo de Raadt
2004-08-23Do %s replacement for LESSOPEN and LESSCLOSE ourselves insteadTodd C. Miller
2003-04-14o go back to using a help file instead of embedding it in the binaryTodd C. Miller
2003-04-13Merge in less-381 w/ local changes and remove obsolete files.Todd C. Miller
2003-04-06more strlcpy/strlcat/snprintf, less strcpy/strcat/sprintfTheo de Raadt
2003-04-06very simple strlcat callsTheo de Raadt
2003-04-05some more string shit; krw okTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2001-11-19kill more registersMike Pechkin
2001-01-29$OpenBSD$Niklas Hallqvist
1996-09-21Import of unmolested less-290.etheisen