• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

test


Commit MetaInfo

Revisão2ea4ee4270921c9bdf254b43951199af32f352b2 (tree)
Hora2010-09-07 11:37:17
AutorTATEISHI Katsuyuki <kt@whee...>
CommiterTATEISHI Katsuyuki

Mensagem de Log

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

Mudança Sumário

Diff

--- 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