Johan Danielsson
3ca5f8150f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Assar Westerlund
8dd25ed0b9
(getdatasock): make sure to keep the port-number of the outgoing
...
connections. It has to be `ftp-data' or some people might get upset.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7455 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-30 19:18:38 +00:00
Assar Westerlund
f331fef9a4
(args): set correct variable when `-l' so that logging actually works
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7451 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-30 15:58:06 +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
b58531efe4
(args): use arg_counter for `l'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7355 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-12 15:59:42 +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
b13b9064ff
foo const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7294 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-01 04:22:38 +00:00
Assar Westerlund
a42059f379
(list_file): correct prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7293 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-01 04:20:38 +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
5fb424fe88
<sys/ioccom.h> is needed for kafs.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7283 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-29 21:19:20 +00:00
Assar Westerlund
2f07ab5e2c
some const-ing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7260 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 18:56:47 +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
408574f1b0
some const-poisoning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7244 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:51:52 +00:00
Assar Westerlund
4e75081dcf
(args): add -B' as an alias for
--builtin-ls' to allow for stupid
...
inetds that only support two arguments. From Love <lha@s3.kth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7243 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:28:43 +00:00
Assar Westerlund
dec6af64d5
(help): it's unnecessary to interpret help strings as printf commands
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7234 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 11:56:23 +00:00
Assar Westerlund
38c83dd6ad
(show_issue): don't interpret contents of /etc/issue* as printf
...
commands. From Brian A May <bmay@dgs.monash.edu.au >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7233 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 11:55:19 +00:00
Johan Danielsson
dd983987fd
(kauth): complain if protection level isn't `private'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7220 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-21 17:25:38 +00:00
Johan Danielsson
ecf66fc91e
change -l' flag to use arg_collect (this makes
-ll' work again)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7186 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-18 17:19:14 +00:00
Johan Danielsson
ce4361a985
(list_file): pass filename to ls
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7180 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-18 09:43:35 +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
76ab5ccd3f
(OPTS): shouldn't this be a STRING instead of foo?
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7111 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-04 20:40:50 +00:00
Johan Danielsson
4fbe521c04
FEAT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7109 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-04 15:37:50 +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
04c0272f48
ls.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7090 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:39:27 +00:00
Johan Danielsson
3859c9fb28
protos
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7089 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:38:42 +00:00
Johan Danielsson
4baca61c54
(main): make this use getarg; add `list_file'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7088 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:38:14 +00:00
Johan Danielsson
333c91b357
(LIST): call list_file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7087 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:37:02 +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
Assar Westerlund
98074e0865
add prototype for fclose to make sunos happy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7061 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 21:31:54 +00:00
Assar Westerlund
bf75fac82a
large strc{py,at}_truncate -> strlc{py,at} replacement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Johan Danielsson
15171c7b29
(do_login): show issue-file
...
(send_data): change handling of zero-byte files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6836 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 09:51:22 +00:00
Assar Westerlund
0d957a3741
add missing brace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6817 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-15 23:29:38 +00:00
Assar Westerlund
2d5a5da6a2
(send_data): avoid calling mmap with `len == 0'. Some mmap:s rather
...
dislike that (Solaris) and some munmap get grumpy later.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6804 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-12 22:11:54 +00:00
Assar Westerlund
2d425c89f4
save file names when doing commands that might get aborted (and
...
longjmp:ed out of) to avoid overwriting them
also remove extra closing brace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6680 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 21:57:27 +00:00
Johan Danielsson
c599086c16
change site find' to
site locate' (to match what it does, and other
...
implementations) keep find as an alias
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6675 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-01 20:11:13 +00:00
Assar Westerlund
fea0b36f3c
make it more AF-neutral and v6-capable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6631 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:36:35 +00:00
Assar Westerlund
4bc7ce877b
add EPRT and EPSV
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6630 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:36:20 +00:00
Assar Westerlund
4baaa97d33
update prototypes and variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6629 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:36:03 +00:00
Assar Westerlund
770a0aab91
update to new format for cpp define SunOS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6480 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-22 02:58:32 +00:00
Björn Groenvall
f6c5a3de40
Constness fixes.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6387 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-29 21:19:33 +00:00
Assar Westerlund
12b238c275
(send_data): remove a warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6324 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 03:51:47 +00:00
Assar Westerlund
f88e911ef5
rename getline -> ftpd_getline
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6160 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-08 02:22:57 +00:00
Assar Westerlund
7fb35ff530
getline -> ftpd_getline
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6159 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-08 02:22:27 +00:00
Assar Westerlund
28928b2ef9
use LIB_otp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6043 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 13:24:55 +00:00