C

共 58 篇文章。

Cleaning up FreeBSD userland to make them WARNS=6 clean

• Development

I have started to clean up certain code of FreeBSD userland I interest or use at company, to make them WARNS=6 clean. A patchset separated by categories would be posted on my home directory at freefall right after I have a preliminary test.

Ruslan has suggested that I should have used ``make universe’’ to test my patches and I’ll try this on some 1750 boxes - my laptop is too slow and its hard disk is too small to finish a full make universe build :-)

参与评论

Two PRs and an ongoing patch

• Development

ZHAO Xin (a colleague of mine) has pointed out that GNOME Simplified Chinese does not did a good work when displaying time. He then filed ports/72722 and ports/72723.

Adam Weinberger (adamw@, one of the major FreeBSD GNOME maintainers) has then pointed out that it might be better to contact the Simplified Chinese Translation team. In a private mail, I have explained that the root cause of the issue, however, is that our libc implementation does not implemented the GNU Extensions, say, the -_^0 extensions of strftime(3). Adam have then kindly approved that the patches should be committed, and we should have a long-run solution then finally remove them.

阅读全文… ( 本文约 173 字,阅读大致需要 1 分钟 )

gcc bug??

• Development

发现VC上面偶尔会用到的const_cast在gcc (c++)里面竟然不能用,郁闷,遂采用C-style cast,但我希望修正这个问题。

参与评论

Is it practical to trust my mail system?

• Security

Yesterday someone has asked me about my diary system, I told her that my diary is managed by my own diary software, which is a close-source system (written in C#) and I do not want to share it with others because it is technically not a friendly one.

阅读全文… ( 本文约 180 字,阅读大致需要 1 分钟 )

gcc 3.4 listed in FreeBSD 5.3-R todo list

• Development

It’s our pleasure to see GCC 3.4 import to be listed in FreeBSD 5.3-R todo list. Unfortunatelly, gmake is now a required prerequisite when building GCC 3.4, this may slow down the import progress.

阅读全文… ( 本文约 125 字,阅读大致需要 1 分钟 )