1
1

11 Коммитов

Автор SHA1 Сообщение Дата
Pavel Roskin
ca90bd204f * fs.h: Only redefine S_IS* macros if they are undefined, and
then define them to 0.  S_IF* constants should be avoided.
* util.c : Whenever possible, use standard POSIX macros to test
for the file type.
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2002-09-06 19:23:45 +00:00
Pavel Roskin
a36e7b7fad * fs.h: Replace S_IFFIFO with S_IFIFO, which is the right name. 2002-09-06 00:52:35 +00:00
Pavel Roskin
5e9c0314a2 * fs.h: Correct S_IS* definitions to use S_IFMT. Add fallback
definitions for S_IFDOOR and S_ISDOOR.
* screen.c (string_file_type): Remove unnesessary ifdefs, fs.h
takes care of it.
(file_compute_color): Add support for Solaris doors.
* util.c (string_perm): Remove unnesessary ifdef.
2002-09-06 00:47:46 +00:00
Pavel Roskin
8d173014e9 * fs.h (compute_namelen): New inline function to take care of
the d_namlen field if and only if it's needed.
2002-08-15 19:35:53 +00:00
Pavel Roskin
e5c6976b15 * util.c: Move replacements for permission bits ...
* fs.h: ... here.  Add more replacements.
* global.h: Include direct.h only with MSVC.
2002-01-22 01:23:18 +00:00
Pavel Roskin
af3bb307d1 * fs.h [_MSC_VER]: Use dirent provided by glib. 2002-01-21 23:09:07 +00:00
Pavel Roskin
3a9692b680 * global.h: Provide fallbacks for getuid(), getgid(), geteuid()
and getegid().
* fs.h: Fully trust HAVE_DIRENT_H.
* complete.c: Don't include dirent.h directly, fs.h takes care
of it.
* file.c: Likewise.
* filegui.c: Likewise.
* main.c: Likewise.
* treestore.c: Likewise.
2002-01-21 20:47:05 +00:00
Pavel Roskin
a8ef641beb * x.h: Remove. Adjust all users. Make sure that global.h is
included instead.  Don't include sys/param.h unconditionally -
rely on global.h taking care of it.
* Makefile.in: Remove x.h.
2001-09-03 05:07:40 +00:00
Pavel Roskin
05adbccda8 * fs.h: Correctly include <sys/param.h>.
* x.h: Include "global.h".  Move all contents ...
* global.h: Here.
2001-08-19 16:23:24 +00:00
Miguel de Icaza
a7170a4f7a OS2 now uses property defines instead of OS2_NT 1999-01-10 08:55:35 +00:00
Miguel de Icaza
eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00