2008-01-17から1日間の記事一覧

cpすらかけないおれがきましたよ

Annotation of src/bin/cp/utils.c, revision 1.45.2.3 wtotal = 0; while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) { for (bufp = buf, wresid = rcount; ; bufp += wcount, wresid -= wcount) { wcount = write(to_fd, bufp, wresid); if (wcount <…

mercurialの仕様変わってね?

hg clone [SOURCE]みたいなのするとき、ローカルファイルシステムの場合のSOURCEは昨年春くらいまではSubversionと同じ file:///path/to/reposって感じだったのに、hg help pullしてみるといつのまにか local/filesystem/path http://[user@]host[:port]/[pa…