git: devfs - Fix incorrect st_size reporting

看板DFBSD_commit作者時間16年前 (2010/04/02 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit a3c7ebb989faa275eff6ba6ea2d44ca47170bcec Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Apr 1 09:16:23 2010 -0700 devfs - Fix incorrect st_size reporting * The default reported st_size should be 0 and not sizeof(devfs_node). * Fixes incorrect reporting for /dev/null and other devices. Reported-by: marino2, numerous others (it slipped through the cracks) Summary of changes: sys/vfs/devfs/devfs_vnops.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a3c7ebb989faa275eff6ba6ea2d44ca47170bcec -- DragonFly BSD source repository
文章代碼(AID): #1BjDzrP1 (DFBSD_commit)