看板SetupBBS
标 题[转录][Patch] expire.c 砍错文章 bug
发信站元智大学风之塔 (Mon Jan 12 19:53:15 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!news3.optonline.net!newsfeed.media.k
※ 本文转录自 [WindTop] 看板
作者: visor (魔戒一二加长版收录完...) 看板: WindTop
标题: [Patch] expire.c 砍错文章 bug
时间: Mon Jan 12 19:53:08 2004
expire.c
sync_init()
{
...............
if (dirp = opendir(fpath))
{
while (de = readdir(dirp))
{
str = de->d_name;
- prefix = *str--;
+ prefix = *str;
if (prefix == '.')
continue;
.................
--
※ Origin: 元智大学 风之塔 <bbs.yzu.edu.tw>
※ From : 220-142-204-25.hinet-ip.hinet.net