Some more improvements from Joachim Wiberg's version of mg.
authorlum <lum@openbsd.org>
Fri, 26 Feb 2021 07:21:23 +0000 (07:21 +0000)
committerlum <lum@openbsd.org>
Fri, 26 Feb 2021 07:21:23 +0000 (07:21 +0000)
commit5fcf9b470448dfd15e41cb874ea4fd0ef01fbcd1
treef22616c23ecb0274338b3f6157e5c5e351c560ea
parent6e6683838b9fa407f55b26c62a7e9208218368fd
Some more improvements from Joachim Wiberg's version of mg.
check before using variable in list
remove unnecessary variable declaration
check value of adjustname()
add a '< 0' return value of snprintf
usr.bin/mg/dired.c