Re: cvs commit: src/sbin/route route.c

看板DFBSD_commit作者時間21年前 (2005/03/16 14:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/10 (看更多)
On Tue, Mar 15, 2005 at 10:08:06PM -0800, Chris Pressey wrote: > cpressey 2005/03/15 22:08:06 PST > > DragonFly src repository > > Modified files: > sbin/route route.c > Log: > When dumping the contents of a struct sockaddr with an unknown address > family, dump individual bytes (u_chars) instead of u_shorts. This > avoids endianness issues while also simplifying the code. Better :) Some minor language lawyering, use uint8_t which is a byte. There's not much preventing char from being not a byte long :) Joerg
文章代碼(AID): #12DzBj00 (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #12DzBj00 (DFBSD_commit)