git: sbin/hammer: Make strtrl() api right [3/3]
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Sun Apr 12 04:36:23 PDT 2015
commit f907ba8c7b0e3a75e8b8577732a3bdcf30c5753c
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sat Apr 11 05:32:18 2015 +0900
sbin/hammer: Make strtrl() api right [3/3]
- Fix changes made by commit 3c10747d.
- while (p-- > s && *p == '/')
is very obscure and not even sure if this code is portable.
Make it explicit.
Summary of changes:
sbin/hammer/cmd_pseudofs.c | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f907ba8c7b0e3a75e8b8577732a3bdcf30c5753c
--
DragonFly BSD source repository
More information about the Commits
mailing list