delphij's Chaos

失之厘豪,谬以千里

• Development

Today, JINMEI Tatuya / 神明達哉 has submitted a patch against sys/kern/uipc_socket2.c, which is:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14

Index: src/sys/kern/uipc_socket2.c
diff -u src/sys/kern/uipc_socket2.c:1.138 src/sys/kern/uipc_socket2.c:1.139
--- src/sys/kern/uipc_socket2.c:1.138	Tue Oct 19 15:13:30 2004
+++ src/sys/kern/uipc_socket2.c	Wed Oct 27 05:37:58 2004
@@ -1253,7 +1253,7 @@
 
 	if (CMSG_SPACE((u_int)size) > MCLBYTES)
 		return ((struct mbuf *) NULL);
-	if (CMSG_SPACE((u_int)size > MLEN))
+	if (CMSG_SPACE((u_int)size) > MLEN)
 		m = m_getcl(M_DONTWAIT, MT_CONTROL, 0);
 	else
 		m = m_get(M_DONTWAIT, MT_CONTROL);
参与评论

HP LJ1000 USB Printer wierdness

• Hardware

I have fighted against the issue that LJ1000 can’t work correctly with FreeBSD however I have failed.

I got “ulpt0: Input/Output Error” when doing cat foo > /dev/ulpt0.

Of course, cups and friends won’t run with this state.

This problem exists in FreeBSD 5.3-RC, 4.10-STABLE. However, interestingly Windows works correctly.

So, why??

参与评论

烛光 歌词 烛光(国) 任贤齐

• Shared Chaos

你现在好吗 今天快乐吗
我从远方送你的花 你收到了吗

分手以后的雨季 断断续续下不停
没有你的日子 真的不容易

躲不开回忆 最难忘记你
再说什么也无法压抑 汹涌的情绪
我已学会珍惜 再给我一次勇气
好想告诉你我的爱 一直留在你那里

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

FreeBSD 5.3-RELEASE named, final release coming!

• Development

Today Scott Long has named FreeBSD 5.3-RELEASE, this is a significant step toward final 5.3-RELEASE.

Please note that before the team has a PGP signed 5.3-RELEASE announcement, don’t download the ISOs even they have appeared on any site. We may still do changes after the naming.

参与评论

有点难过

• Diary Excerpt

多大个事儿啊?我对自己说。

有点难受,想一个人冷静地呆一会。想起了今天看的书,错只是在我自己,一个搞安全这么多年的人,居然忘记了最基本的道理。

有些时候,人们要为别人的愚蠢付出巨大的代价。我不想用愚蠢这个词,但是,我想不出更好的词。这不是第一次,也许也不是最后一次。而原因,一直以来都是完全一样的原因。

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

Starting to use GAIM etc under FreeBSD

• Development

In order to touch more bugs in FreeBSD so I can fix it, I have switched to FreeBSD and installed GAIM, etc. Amazingly, it seems that 5-STABLE is much more stable then I expect :D

I have installed GAIM and OpenQ (Yes, thanks for all folks who ported it, while I rarely and rarely using QQ these days), and it’s quite good!

参与评论

可以参考的处世哲学:如何快速看透一个人?

• Shared Chaos

发信人: billqu (Bill), 信区: talk
标 题: 可以参考的处世哲学:如何快速看透一个人?
发信站: 知新园 (Fri Oct 22 21:37:01 2004)

看一个国家的国民教育,要看他的公共厕所。

看一个男人的品味,要看他的袜子。

看一个女人是否养尊处优,要看她的手。

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