Cleanups.

committer: mfx <mfx> 1034719891 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2002-10-15 22:11:31 +00:00
parent b710f2d69f
commit 8d37bb4469
5 changed files with 17 additions and 14 deletions
+2
View File
@@ -75,6 +75,8 @@ void do_one_file(const char *iname, char *oname)
#endif
if (st.st_size <= 0)
throwIOException("empty file -- skipped");
if (st.st_size >= 1024*1024*1024)
throwIOException("file is too large -- skipped");
if ((st.st_mode & S_IWUSR) == 0)
{
bool skip = true;