summaryrefslogtreecommitdiff
path: root/usr.bin/sdiff/sdiff.c
AgeCommit message (Expand)Author
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-28Alias `1' and `2' to `l' and `r', making interactive merges easierRay Lai
2007-06-27Add missing undocumented --ignore-case flag, to improve compatibilityRay Lai
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
2006-05-25Remove xmktemp() and uses plain old mkstemp(3), avoiding raceRay Lai
2006-05-10Now that lint is smarter, remove /* NOTREACHED */ comments.Ray Lai
2006-03-05Handle stdin as arg; from Ray Lai; ok jaredy@Otto Moerbeek
2006-02-20refactor processq() loop. From Rai Lay; ok jaredy@Otto Moerbeek
2006-02-15Fix bug introduced by previous delint and rename a var. From Ray.Otto Moerbeek
2006-02-15delint; from Ray with input from me and jaredy@; ok jaredy@Otto Moerbeek
2006-02-14Fix -I and some cleanup, from Ray Lai in PR 5002; ok jaredy@Otto Moerbeek
2005-12-28spacingTheo de Raadt
2005-12-27remove xstrtonumTed Unangst
2005-12-27shorten main initializationTheo de Raadt
2005-12-27INT_MAX should be big enough for a widthTed Unangst
2005-12-27remove debug modeTed Unangst
2005-12-27sizeof char is always 1Ted Unangst
2005-12-27if an allocation function fails, err will print "cannot allocate memory"Ted Unangst
2005-12-27close can't really fail, don't bother checkingTed Unangst
2005-12-27remove broken assert on argc, and put argc check in right placeTed Unangst
2005-12-27variables in header should be extern, defined in a c file.Ted Unangst
2005-12-27OpenBSD tagsTed Unangst
2005-12-27add a public domain sdiff implementation contributed by ray laiTed Unangst