Mercurial > trustbridge
comparison common/listutil.c @ 1162:2a1206932f53
(issue107) Comment all TODO's and FIXME's with issues as documented in issue107
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 18 Sep 2014 18:53:11 +0200 |
parents | fd7d04bb37cb |
children | 3cd8dd706aaa |
comparison
equal
deleted
inserted
replaced
1161:b67681a61e3e | 1162:2a1206932f53 |
---|---|
201 { | 201 { |
202 return TooLarge; | 202 return TooLarge; |
203 } | 203 } |
204 if (ret == READ_FILE_UNREADABLE) | 204 if (ret == READ_FILE_UNREADABLE) |
205 { | 205 { |
206 /* TODO: work with errno ? */ | |
207 /* errsv = errno; */ | |
208 /* perror("read_and_verify_list(), READ_FILE_UNREADABLE:"); */ | |
209 return SeekFailed; | 206 return SeekFailed; |
210 } | 207 } |
211 if (ret == READ_FILE_READ_FAILED) | 208 if (ret == READ_FILE_READ_FAILED) |
212 { | 209 { |
213 /* TODO: work with ferror() or feof() ? */ | |
214 return ReadFailed; | 210 return ReadFailed; |
215 } | 211 } |
216 return UnknownError; | 212 return UnknownError; |
217 } | 213 } |
218 | 214 |