patches

看板DFBSD_submit作者時間21年前 (2004/08/26 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
Hello, I have been advised to send all my patches in one seperate e-mail, so here it is for today.. http://virtus.ath.cx/dfbsd/rdist2.diff Changes: * Convert strcpy and strcat to their secure equivalents where necessary (from OpenBSD) * Replace index with strchr (index is non-standard) * Replace rindex with strrchr (rindex is non-standard) * Replace mktemp with safer mkstemp (removes compiler warning) * Rename log into dolog to avoid collision with math.h's log (from NetBSD) * Remove 'register' keyword * Some minor fixes that I happened to notice http://virtus.ath.cx/dfbsd/hierarchy-typo.diff Changes: * Fix the typo "heirarchy" into the correct "hierarchy" everywhere in the source where needed (no contrib/ except for the ld(1) manual) http://virtus.ath.cx/dfbsd/xinstall.c.diff Changes: * Remove unneeded (void) usage * Remove 'register' keyword And an old patch that hasn't been committed yet: http://virtus.ath.cx/dfbsd/rmdir.c.diff Changes: * Right now rmdir doesn't work correctly with the -p option, this fixes it because it doesn't error out at the first failure but sees if it has empty subdirs first, so it can recursively remove all dirs That's all for now... I hope anyone has time to commit this, they're all pretty trivial changes. Later, Douwe
文章代碼(AID): #11BKHo00 (DFBSD_submit)
文章代碼(AID): #11BKHo00 (DFBSD_submit)