Andrew Borodin
ab3f53fbbe
Add DIR_IS_DOT and DIR_IS_DOTDOT macros
...
...to detect "." and ".." directories, respectively.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Slava Zanko
a1e34b8dfa
Code cleanup after runing splint on src/main.c file
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-10-17 13:30:03 +03:00
Andrew Borodin
32bffa8890
Ticket #2516 : Fix build failure on DragonFly BSD
...
DragonFly BSD doesn't provide MAXNAMLEN macro to define size of d_name
member of dirent structure. NAME_MAX is used if MAXNAMLEN is not
provided by OS.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-04-07 13:32:40 +04:00
Slava Zanko
bbf1f4e857
Moved filemanager-related stuff to src/filemanager directory
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:32 +03:00
Andrew Borodin
8425e6fc71
Moved PATH_MAX definition from lib/util.h into lib/fs.h.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Slava Zanko
feb733663f
Code indentation in lib directory
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:27:20 +03:00
Slava Zanko
a8aa5cf678
Added definition MC_MAXFILENAMELEN for specify maximum file lenght.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-10-11 10:38:30 +03:00
Slava Zanko
93dbc46e9c
Reorganization of sources. Part 1.
...
* moved src/global.h into lib/global.h
* moved glibcompat.[ch] from ./src/ into ./lib/
* moved fs.h from ./src/ into ./lib/
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00