Age | Commit message (Expand) | Author |
2023-08-11 | Replace use of the old BSD st_*timespec members in struct stat with | Philip Guenther |
2023-03-30 | don't access(conffile) | Omar Polo |
2023-03-30 | strncpy -> strlcpy to properly NUL-terminate the copy of the path | Omar Polo |
2023-03-08 | Delete obsolete /* ARGSUSED */ lint comments. | Philip Guenther |
2021-03-01 | Put the hardcoded '\n' character which is found throughout mg into a | Mark Lumsden |
2021-02-23 | Allow the user to specify a path to the mg startup file on the command line. | Mark Lumsden |
2019-06-22 | This diff moves the check for a newline at the end of a buffer (when | Mark Lumsden |
2018-04-13 | mg tries to write backups to the wrong directory when run under a | Florian Obser |
2017-05-30 | fix -Wshadow warnings. | Florian Obser |
2016-07-28 | strncmp is a more reasonable way to check the beginning of a string. | Ted Unangst |
2016-07-28 | these programs probably do not need to use TMPDIR. ok florian | Ted Unangst |
2016-07-04 | Use fstatat() instead of crafting a filename to use with stat() | Philip Guenther |
2016-01-26 | ensure the backup file has the same mtime as the original file, this is in line | Jasper Lievisse Adriaanse |
2015-03-19 | Clean up the includes in mg. | Brian Callahan |
2014-11-16 | Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(), | Philip Guenther |
2014-03-20 | Add some missing dobeeps. | Mark Lumsden |
2013-05-18 | and and -> and | lum |
2012-11-27 | - move prototype of expandtilder() to def.h; needed by an upcoming diff. | Jasper Lievisse Adriaanse |
2012-07-10 | Fix an outstanding debian bug: #658539 | lum |
2012-06-18 | - add a pathnames.h | Jasper Lievisse Adriaanse |
2012-06-15 | Fixes a problem where if you try to open a file that doesn't exist and has | lum |
2012-06-14 | Allow mg to save backup files to a users home directory. | lum |
2012-06-11 | Change error message to reflect the correct filename: nname is 'New | lum |
2012-05-25 | Remove static FILE pointer used for handling files in fileio.c. Pass | lum |
2012-05-23 | Change how mg handles files beginning with a '~'. | lum |
2012-04-12 | Remove the conditional directives NO_MACRO and NO_STARTUP. | lum |
2012-03-28 | Close an opendir(). From Igor Zinovik. | lum |
2011-08-31 | On a file write fail: | lum |
2011-01-21 | It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it ... | Kjell Wooding |
2011-01-21 | Change len+memcmp check to a strncmp for prefix testing on | Kjell Wooding |
2008-09-15 | Enable dirty buffer detection in mg. | Kjell Wooding |
2007-11-27 | typos; ok jmc@ | Martynas Venckus |
2006-12-24 | Fix a bug where inserting a file resulted in an incorrect | Kjell Wooding |
2006-11-19 | spacing | Theo de Raadt |
2006-09-19 | Use S_IS* macros insted of masking with S_IF* flags. The latter may | Otto Moerbeek |
2006-07-25 | Rename the header line of a buffer to b_headp, from the remarkably | Kjell Wooding |
2006-06-29 | - use <dirent.h> not <sys/dir.h> (this appeases FreeBSD's annoying #warning) | Jason Wright |
2006-06-01 | fix style | Kjell Wooding |
2006-06-01 | make // /~ path rewriting optional in adjustname() and use it everywhere | Jason Wright |
2006-05-03 | correct one more comment | Kjell Wooding |
2006-05-03 | Do some KNF, clean up some unused junk that has lying around for 40-odd | Kjell Wooding |
2006-05-03 | len = strlen(foo); if foo[len - 1]... will do bad things if len == 0. | Kjell Wooding |
2006-04-03 | lint love; ok kjell | Theo de Raadt |
2006-04-02 | test char against '\0', not 0 | Kjell Wooding |
2005-12-20 | Clean up the ugly casted frees. In one case, this meant eliminating a nasty | Kjell Wooding |
2005-12-20 | Do some delinting of strl-type functions. Also, remove a superfluous | Kjell Wooding |
2005-12-13 | do some silly de-linting | Kjell Wooding |
2005-11-20 | #ifdef NO_DIR can go too. From Han Boetes. | Kjell Wooding |
2005-11-20 | Kill the NO_BACKUP #ifdef | Kjell Wooding |
2005-11-20 | toast NO_DIRED #ifdef; ok kjell | Theo de Raadt |