summaryrefslogtreecommitdiff
path: root/usr.bin/mg/extend.c
AgeCommit message (Expand)Author
2016-09-01Fix file descriptor leakMark Lumsden
2015-09-29Mark eread(), veread(), and eformat() as printf-like andPhilip Guenther
2015-04-12Prevent use after free in definemacro().Florian Obser
2015-03-24unifdef -DBINDKEY -- you can't build mg the other way.Brian Callahan
2015-03-19Clean up the includes in mg.Brian Callahan
2015-03-17It is impossible to build mg without both -DFKEYS and -DXKEYS. So let'sBrian Callahan
2014-12-06A few last 'easy' #include dedups.Kenneth R Westerback
2014-11-16Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(),Philip Guenther
2014-11-16ctype macros/functions expect unsigned char values. Note that the lgetc()Philip Guenther
2014-04-02Add the '#' character as a comment character in the startup file.Mark Lumsden
2014-03-20Add some missing dobeeps.Mark Lumsden
2012-05-25Remove static FILE pointer used for handling files in fileio.c. Passlum
2012-04-12Remove the conditional directives NO_MACRO and NO_STARTUP.lum
2011-01-21It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it ...Kjell Wooding
2006-12-30one more 'verses'->'versus' typo in commentMartin Reindl
2006-12-21Fix a realloc-style bug (curmap = reallocmap(curmap)) inKjell Wooding
2006-07-25Add bfirstlp(), blastlp() macros, returning the first and last linesKjell Wooding
2006-07-25Rename the header line of a buffer to b_headp, from the remarkablyKjell Wooding
2006-06-01make // /~ path rewriting optional in adjustname() and use it everywhereJason Wright
2006-03-30Clean up some allocations. Remove malloc casts, and some easyKjell Wooding
2005-12-20Clean up the ugly casted frees. In one case, this meant eliminating a nastyKjell Wooding
2005-12-20Do some delinting of strl-type functions. Also, remove a superfluousKjell Wooding
2005-12-13More name-clash delintingKjell Wooding
2005-12-13do some silly de-lintingKjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-07add missing ctype.hKjell Wooding
2005-11-07Allow ctrl-key patterns ("^X^C") in keybind function. WillKjell Wooding
2005-10-14add missing /* ARGSUSED */ to quiet lint.Kjell Wooding
2005-10-14put proto in same #ifdef as codeTheo de Raadt
2005-08-09Clean up eread handling in mg. (basically, fallout from the 'enter oftenKjell Wooding
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
2005-04-03This is a no binary change which does:David Berghoff
2005-03-10spacingTheo de Raadt
2004-07-22stage 1 of the infinite minibuffer work - add support for on the flyVincent Labrecque
2003-09-22fix leak on realloc failureVincent Labrecque
2002-09-15 rename realocmap to reallocmap, plus some style.Vincent Labrecque
2002-07-03 a few missing tests for malloc()'s return value.Vincent Labrecque
2002-07-01KNF + ansi; from zyrnix (only the easy part of his diffs)Vincent Labrecque
2002-06-21fix bad usage of strlcpy()'s return value. (made pointers pointVincent Labrecque
2002-05-29 show the line number in the config file when we find an error.Vincent Labrecque
2002-03-11 remove errno=0 assignments, we don't need these with Hakan's codeVincent Labrecque
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
2002-03-10Better long vs int. millert@ ok.Hakan Olsson
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-14 use strtol instead of atoi to get range checking, etcVincent Labrecque
2002-02-13 simplify the define_key() code to use sane functions in two separate bufferVincent Labrecque
2001-07-05Fix a seg fault when an init file can't be readMatthieu Herrb
2001-05-24Make the keymap/mode table growable in runtime.Artur Grabowski
2001-05-24Break out function -> name mappings to an own file.Artur Grabowski
2001-05-24spacesMichael Shalayeff