APR-0.9.4存在的问题列表(在Windows下测试结果)

整理日期:2008年12月3日

APR-0.9.4存在的问题列表(在Windows下测试结果)

apr_file_eof

读文件导致文件指针移到文件尾巴时apr_file_eof能判断文件是结尾,但如果是用apr_file_seek把文件移到文件尾时,apr_file_eof不能判断是不是文件尾。

apr_time_exp_lt

apr_time_exp_t里的tm_year是相对于1900年的,所以如果要得到年份则必须自己加上1900。

使用APR编程的一些约定

  1. apr_time_exp_t结构的tm_year要加1900
  2. 判断文件文件结尾不能使用apr_file_eof

猜你喜欢

转载自blog.csdn.net/weixin_41486034/article/details/106330902