bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Typo in Command.cc


From: Elias Mårtenson
Subject: [Bug-apl] Typo in Command.cc
Date: Sat, 5 Apr 2014 21:00:55 +0800

In Command.cc, line 656 the following code is found:

         if (dlen == 1 && d_name[0] == '.')   continue;
         if (dlen == 2 && d_name[0] == '.'
                       && d_name[1] == '.')   continue;

The references to d_name should be entry->d_name.

Also, I stumbled across this one on OSX, which does have d_type.

There seems to be an autoconf macro for this called AC_STRUCT_DIRENT_D_TYPE. Perhaps it could be used?

Regards,
Elias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]