2001-10-26 Victor V. Vengerov <vvv@oktet.ru>

* src/imfs/imfs_load_tar.c: Minor modification so this will
	compile with gcc-2.95.3 with the arguments "-m5200 -O4".
This commit is contained in:
Joel Sherrill
2001-10-26 19:40:07 +00:00
parent 62f48b3594
commit fa2f979000
6 changed files with 24 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2001-10-26 Victor V. Vengerov <vvv@oktet.ru>
* src/imfs/imfs_load_tar.c: Minor modification so this will
compile with gcc-2.95.3 with the arguments "-m5200 -O4".
2001-10-16 Chris Johns <ccj@acm.org>
* imfs/imfs_load_tar.c: Changed the code around to remove an

View File

@@ -220,7 +220,9 @@ octal2ulong(char *octascii, int len)
mult = 1;
for (i=len-1; i>=0; i--)
{
if ((octascii[i] < '0') || (octascii[i] > '9'))
if (octascii[i] < '0')
continue;
if (octascii[i] > '9')
continue;
num += mult*((unsigned long)(octascii[i] - '0'));