slash = src;
while (*slash == '/')
slash++;
- while (slash = index (slash, '/'))
+ while ((slash = index (slash, '/')))
{
/* Add this directory to the list of directories whose modes need
fixing later. */
clear_files ();
- while (next = readdir (reading))
+ while ((next = readdir (reading)) != NULL)
if (file_interesting (next))
total_blocks += gobble_file (next->d_name, 0, name);
if (quote_as_string)
putchar ('"');
- while (c = *p++)
+ while ((c = *p++))
{
if (quote_funny_chars)
{
if (quote_as_string)
len += 2;
- while (c = *p++)
+ while ((c = *p++))
{
if (quote_funny_chars)
{