diff options
| author | Richard M. Stallman | 1996-04-26 19:52:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-04-26 19:52:51 +0000 |
| commit | 93593876d9d4b862cc0207613014b77b76033f0e (patch) | |
| tree | cc26ee8a4081bf39af02ad71a1b26301313713d0 /src | |
| parent | 4252a4bd63986fb1df56014d623d67e9f4f0315b (diff) | |
| download | emacs-93593876d9d4b862cc0207613014b77b76033f0e.tar.gz emacs-93593876d9d4b862cc0207613014b77b76033f0e.zip | |
(Ffile_attributes) [WINDOWSNT]: Remove conditional NT code.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dired.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/dired.c b/src/dired.c index ce578a175a2..cce03607de2 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -656,24 +656,13 @@ If file does not exist, returns nil.") | |||
| 656 | else /* if we can't tell, assume worst */ | 656 | else /* if we can't tell, assume worst */ |
| 657 | values[9] = Qt; | 657 | values[9] = Qt; |
| 658 | #else /* file gid will be egid */ | 658 | #else /* file gid will be egid */ |
| 659 | #ifdef WINDOWSNT | ||
| 660 | values[9] = Qnil; /* sorry, no group IDs on NT */ | ||
| 661 | #else /* not WINDOWSNT */ | ||
| 662 | values[9] = (s.st_gid != getegid ()) ? Qt : Qnil; | 659 | values[9] = (s.st_gid != getegid ()) ? Qt : Qnil; |
| 663 | #endif /* not WINDOWSNT */ | ||
| 664 | #endif /* BSD4_2 (or BSD4_3) */ | 660 | #endif /* BSD4_2 (or BSD4_3) */ |
| 665 | #ifdef BSD4_3 | 661 | #ifdef BSD4_3 |
| 666 | #undef BSD4_2 /* ok, you can look again without throwing up */ | 662 | #undef BSD4_2 /* ok, you can look again without throwing up */ |
| 667 | #endif | 663 | #endif |
| 668 | #ifdef WINDOWSNT | ||
| 669 | /* Fill in the inode and device values specially...see nt.c. */ | ||
| 670 | if (!get_inode_and_device_vals (filename, &values[10], &values[11])) { | ||
| 671 | return Qnil; | ||
| 672 | } | ||
| 673 | #else /* not WINDOWSNT */ | ||
| 674 | values[10] = make_number (s.st_ino); | 664 | values[10] = make_number (s.st_ino); |
| 675 | values[11] = make_number (s.st_dev); | 665 | values[11] = make_number (s.st_dev); |
| 676 | #endif /* not WINDOWSNT */ | ||
| 677 | return Flist (sizeof(values) / sizeof(values[0]), values); | 666 | return Flist (sizeof(values) / sizeof(values[0]), values); |
| 678 | } | 667 | } |
| 679 | 668 | ||