Development

Eric Raymond 鼓吹 BSD 授权……

| Development

Murray老大在FreeBSD.org发的一则消息,说……Eric Raymond在巴西举行的FISL (Fórum Internacional de Software Livre,国际软件发布论坛)中提到,“Basically, we don’t need GPL. It’s based on the belief that open source software is weak and needs to be protected. With it, we continue injuring ourselves, cutting ourselves from the economic benefits of BSD license”(基本上,我们并不需要GPL。它是基于认为开源软件非常弱小因而需要保护而产生的。由于它(GPL),我们在不断伤害我们自己,并将我们与BSD授权在经济上的优点割裂开来)。

参与评论

小新烂人终于宣布 porters handbook 在本季度内不可能开始做了

| Development

所以我今天一鼓作气搞到了5.9。还有8个section,余下的loader估计基本上会搞定。

现在可以通过 这里 访问最新的快照。如果有问题记得跟我联系。

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

gcc 3.4.4 imported into FreeBSD base

| Development
kan         2005-06-03 03:29:21 UTC

  FreeBSD src repository

  src/contrib/gcc - Imported sources
  Update of /home/ncvs/src/contrib/gcc
  In directory repoman.freebsd.org:/tmp/cvs-serv9201

  Log Message:
  Gcc 3.4.4 release.

  Status:

  Vendor Tag:	FSF
  Release Tags:	gcc_3_4_4_20050518
参与评论

How to determine whether a number is 2^[INTEGER]?

| Development

I have an idea: let we have “a” is the number to determine.

return ( (0 == (a & (a-1))) && (a > 0))

Despite the style of the code, is there some better solution? Note that a is a native integer type (say, int, long, long long, etc).

参与评论

Max帅哥真是一个勤奋的家伙

| Development

一个人主导一个相当规模的*BSD项目,而且是那种关系到国计民生的——make(1)!估计再过一段时间他就能彻底统一*BSD上的make(1)了(也称为「pmake」。)

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

窝窝头翻身——现一大眼

| Development

So I finally got a big pointyhat…

This is the point:

if (!_ioctl(fd, FIODGNAME, &fgn))

So this means SUCCEEDED and the return value should be used. However, my recent commit has reverted the logic so that will fail. Seems sshd(1) don’t like this…

Fixed now.

参与评论

心急吃不上热豆腐不是?

| Development

许多人开始在论坛宣布5.4-RELEASE。历史上FreeBSD把发出的iso收回重新release又不是没发生过,那么着急做什么?FreeBSD是一个开源的系统,国内有两个每15分钟更新一次的官方cvsup镜像,何必呢……

参与评论

des@ on my gcc4 cleanup patchset

| Development

Apparantly des@ has pointed out a serious problem with my patchset, say, the inconsistency of underlying API is the root of evil(tm), and should be corrected.

Let’s go go go!

参与评论

#define TRUNC(x) *(((int *) &x) + endian) &= 0xf8000000

| Development

So I got this in libmsun’s bsdsrc :-)

参与评论

How to represent some type inherted from other template, in a C++ template class?

| Development

It’s not quite easy to represent a type that is found in base “template class”. Consider the following code:


template <class Key,class T>     class CMyClass: public map<Key,T> { public:     void lookup(Key x)     {         map<Key,T>::iterator iter;         iter = find(x);     } };


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