Johan Danielsson
addb9ef33e
implement -1CFx flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-10 21:43:21 +00:00
Assar Westerlund
c7c7a33ef6
rename all st_mtime variables to avoid conflict with #define.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-02 21:25:29 +00:00
Assar Westerlund
c4c623ae05
(make_fileinfo): make sure to always call time, ctime, and gmtime with
...
`time_t's. there were some types (like in lastlog) that we believed
to always be time_t. this has proven wrong on Solaris 8 in 64-bit
mode, where they are stored as 32-bit quantities but time_t has gone
up to 64 bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:47:59 +00:00
Johan Danielsson
e2e63ad12b
free some memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:48:58 +00:00
Assar Westerlund
e93c46c31d
(make_fileinfo): cast to allow for non-const prototypes of readlink
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7416 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-20 20:49:41 +00:00
Assar Westerlund
9257b9f7f5
(S_ISSOCK, S_ISLNK): fallback definitions for systems that don't have
...
them (such as ultrix)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7313 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 04:52:56 +00:00
Assar Westerlund
cb5017700f
(make_fileinfo): cast uid's and gid's to unsigned in printf, we don't
...
know what types they might be.
(lstat_file): conditionalize the kafs part on KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7284 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-29 21:20:20 +00:00
Assar Westerlund
c2b6deeb65
one \n -> \r\n
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7251 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:19:07 +00:00
Assar Westerlund
0c1544c4b7
(lstat_file): don't set st_mode, it should already be correct
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7250 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:18:06 +00:00
Assar Westerlund
b4d06166a8
don't use warnx to print errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7249 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:16:19 +00:00
Assar Westerlund
61033609cd
(builtin_ls): fix typo, 'd' shouldn't imply 'f'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7247 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:01:15 +00:00
Assar Westerlund
9a50a06129
(lstat_file): new function for avoiding stating AFS mount points.
...
From Love <lha@s3.kth.se >
(list_files): use `lstat_file'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7245 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:53:33 +00:00
Assar Westerlund
bda0ad357e
check memory and such
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7157 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 10:55:38 +00:00
Björn Groenvall
4abf3bf24c
SVR4 don't have major and minor but a new interface.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7145 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-15 15:05:25 +00:00
Björn Groenvall
91bd98d2c4
d_namlen is not portable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7122 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-08 17:24:10 +00:00
Assar Westerlund
70f30840d8
fall-back definitions for constans and casts for printfs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7106 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 21:26:21 +00:00
Johan Danielsson
cd402a1100
simple ls
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7086 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:36:30 +00:00