updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mutt-great-dane / newsrc_stat.patch
blobf31d0bcd12c2790b2aeec4550e6b41acb9e089c5
1 Common subdirectories: mutt-1.5.20/contrib and mutt-1.5.20-2/contrib
2 Common subdirectories: mutt-1.5.20/doc and mutt-1.5.20-2/doc
3 Common subdirectories: mutt-1.5.20/imap and mutt-1.5.20-2/imap
4 Common subdirectories: mutt-1.5.20/intl and mutt-1.5.20-2/intl
5 Common subdirectories: mutt-1.5.20/m4 and mutt-1.5.20-2/m4
6 diff -u mutt-1.5.20/newsrc.c mutt-1.5.20-2/newsrc.c
7 --- mutt-1.5.20/newsrc.c 2010-07-11 14:47:48.568876588 -0400
8 +++ mutt-1.5.20-2/newsrc.c 2010-07-11 14:48:22.227622656 -0400
9 @@ -193,9 +193,9 @@
10 strfcpy (dir, NewsCacheDir, sizeof (dir));
11 mutt_expand_path (dir, sizeof(dir));
13 - if (lstat (dir, &st) || (st.st_mode & S_IFDIR) == 0)
14 + if (stat (dir, &st) || (st.st_mode & S_IFDIR) == 0)
16 - snprintf (buf, sizeof(buf), _("Directory %s not exist. Create it?"), dir);
17 + snprintf (buf, sizeof(buf), _("Directory %s does not exist. Create it?"), dir);
18 if (mutt_yesorno (buf, M_YES) != M_YES || mkdir (dir, (S_IRWXU+S_IRWXG+
19 S_IRWXO)))
21 Common subdirectories: mutt-1.5.20/po and mutt-1.5.20-2/po