summaryrefslogtreecommitdiff
path: root/usr.bin/mg/dir.c
AgeCommit message (Expand)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2017-05-30fix -Wshadow warnings.Florian Obser
2016-09-12If we can't get the CWD, use relative paths. Fixes editing filesTodd C. Miller
2015-03-19Clean up the includes in mg.Brian Callahan
2014-04-03When finding a file in a non-existant directory:Mark Lumsden
2014-03-31Allow more than one level of directories to be create viaMark Lumsden
2014-03-20Add some missing dobeeps.Mark Lumsden
2013-10-21unbreak make-directory by stripping trailing '/'Florian Obser
2013-05-30Reuse the makedir() function in dir.c for dired'slum
2013-05-18Use adjustname() for path. ok jasper@lum
2013-05-17If directory exists when trying to create a new one, warn user.lum
2012-11-27- add 'make-directory' (not bound to any shortcut).Jasper Lievisse Adriaanse
2008-06-13One more "//" instead of "/" case. Hidden in a getcwd.Kjell Wooding
2007-05-28Add a global-wd-mode command, which toggles between the currentKjell Wooding
2006-05-02Make buffers store their own working directory. This makes things likeKjell Wooding
2005-12-20Do some delinting of strl-type functions. Also, remove a superfluousKjell Wooding
2005-11-20#ifdef NO_DIR can go too. From Han Boetes.Kjell Wooding
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
2004-07-22stage 1 of the infinite minibuffer work - add support for on the flyVincent Labrecque
2004-03-05don't panic if we can't getcwd() initially, just chdir("/")Vincent Labrecque
2002-07-01KNF + ansi; from zyrnix (only the easy part of his diffs)Vincent Labrecque
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
2002-02-13 * Replace unsafe strcpy and strcat calls to safe strlcpy and strlcat.Vincent Labrecque
2001-05-24spacesMichael Shalayeff
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
2001-01-29$OpenBSD$Niklas Hallqvist
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
2000-02-26change WINDOW -> MGWIN to avoid curses type conflictTodd C. Miller
2000-02-25initial import of mg2aTheo de Raadt