• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

test


Commit MetaInfo

修订版2ea4ee4270921c9bdf254b43951199af32f352b2 (tree)
时间2010-09-07 11:37:17
作者TATEISHI Katsuyuki <kt@whee...>
CommiterTATEISHI Katsuyuki

Log Message

Merge branch 'master' of http://github.com/ktateish/sandbox

更改概述

差异

--- a/src/from.c
+++ b/src/from.c
@@ -51,8 +51,10 @@ main(int argc, char **argv) {
5151 mbox = fopen(path_mbox, "r");
5252 }
5353
54- if (mbox == NULL)
55- err(1, "fopen():", getprogname());
54+ if (mbox == NULL) {
55+ fprintf(stderr, "%s: can't read %s\n", getprogname(), path_mbox);
56+ return 1;
57+ }
5658
5759 search_mail(mbox, sender, count_mode);
5860