git: size_t/ssize_t - change to [unsigned] long

看板DFBSD_commit作者時間16年前 (2009/08/19 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 1e8087d481c6bfecf14ce6eddc5c722031742332 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Aug 18 19:56:17 2009 -0700 size_t/ssize_t - change to [unsigned] long * change size_t from unsigned int to unsigned long, and change ssize_t from int to long for both 32 and 64 bit builds. NOTE: This may not last for 32 bit builds, depending on what it breaks in pkgsrc land, but the change makes it easier to detect 32/64 bit issues with size_t, sizeof, and pointer arithmatic on 32 bit machines. Summary of changes: gnu/lib/gcc41/libstdc++/config.h | 2 +- gnu/lib/gcc44/libstdc++/config.h | 2 +- gnu/usr.bin/cc34/cc_prep/config/i386/dragonfly.h | 4 ++-- gnu/usr.bin/cc41/cc_prep/config/i386/dragonfly.h | 4 ++-- gnu/usr.bin/cc44/cc_prep/config/i386/dragonfly.h | 4 ++-- sys/cpu/amd64/include/stdint.h | 7 +++---- sys/cpu/i386/include/stdint.h | 5 +++-- 7 files changed, 14 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e8087d481c6bfecf14ce6eddc5c722031742332 -- DragonFly BSD source repository
文章代碼(AID): #1AYu17Un (DFBSD_commit)