History log of /openbsd-current/usr.bin/ftp/cookie.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 16-Feb-2021 naddy

make use of getline(3) in ftp(1)

Replace fparseln(3) with getline(3). This removes the only use of
libutil.a(fparseln.o) from the ramdisk.
Replace a complicated fgetln(3) idiom with the much simpler getline(3).

ok jca@


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.9 16-May-2019 florian

Revert suni'ls ftp rewrite for now.
We are juggling too many things at the moment and we can't deal with
the differences in behaviour right now.


# 1.8 12-May-2019 kmos

Move us from old ftp(1) to Sunil's new ftp(1). The necessary modifications
have been made to make it behave. Any new misbehaviors can be fixed in tree.

OK florian@ deraadt@ "Have you committed ftp yet?"


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.7 21-Jan-2017 krw

Nuke whitespace foolish enough to expose itself during the great
"warning:" rectification.


# 1.6 28-Dec-2016 deraadt

Split -DSMALL into -DNOSSL, so that a SSL-enabled version of ftp can
be built, which is still pretty small (in distrib/special/ftp-ssl).
Lots of testing by rpe.


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.5 05-May-2009 martynas

make it clean removing the ifdef SMALL maze. separate cmds and
small stuff. make it a fetcher. shrinks quite a bit
agreed by millert@, krw@
ok theo, sthen@


Revision tags: OPENBSD_4_5_BASE
# 1.4 07-Dec-2008 cloder

time_t is signed, so use INT_MAX rather than UINT_MAX when parsing a time_t
with strtonum


Revision tags: OPENBSD_4_4_BASE
# 1.3 25-Jun-2008 martynas

in resume mode, pass -c to mget when {dir,file}hasglob, so that i'm
able to continue multiple transfers with -C; ok millert@
while here fix some comments (!SMALL vs. SMALL stuff), and add
missing


Revision tags: OPENBSD_4_3_BASE
# 1.2 08-Oct-2007 pyr

Simplify the code that strips out \r by using strcspn.
ok millert@


Revision tags: OPENBSD_4_2_BASE
# 1.1 13-Jun-2007 pyr

Enable cookie support. This allows parsing of netscape-like cookie jars
and sending of appropriate cookies. No retrieval of new cookies is done.
Careful review and lots of input by millert and ray.

ok millert@, ray@


# 1.9 16-May-2019 florian

Revert suni'ls ftp rewrite for now.
We are juggling too many things at the moment and we can't deal with
the differences in behaviour right now.


# 1.8 12-May-2019 kmos

Move us from old ftp(1) to Sunil's new ftp(1). The necessary modifications
have been made to make it behave. Any new misbehaviors can be fixed in tree.

OK florian@ deraadt@ "Have you committed ftp yet?"


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.7 21-Jan-2017 krw

Nuke whitespace foolish enough to expose itself during the great
"warning:" rectification.


# 1.6 28-Dec-2016 deraadt

Split -DSMALL into -DNOSSL, so that a SSL-enabled version of ftp can
be built, which is still pretty small (in distrib/special/ftp-ssl).
Lots of testing by rpe.


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.5 05-May-2009 martynas

make it clean removing the ifdef SMALL maze. separate cmds and
small stuff. make it a fetcher. shrinks quite a bit
agreed by millert@, krw@
ok theo, sthen@


Revision tags: OPENBSD_4_5_BASE
# 1.4 07-Dec-2008 cloder

time_t is signed, so use INT_MAX rather than UINT_MAX when parsing a time_t
with strtonum


Revision tags: OPENBSD_4_4_BASE
# 1.3 25-Jun-2008 martynas

in resume mode, pass -c to mget when {dir,file}hasglob, so that i'm
able to continue multiple transfers with -C; ok millert@
while here fix some comments (!SMALL vs. SMALL stuff), and add
missing


Revision tags: OPENBSD_4_3_BASE
# 1.2 08-Oct-2007 pyr

Simplify the code that strips out \r by using strcspn.
ok millert@


Revision tags: OPENBSD_4_2_BASE
# 1.1 13-Jun-2007 pyr

Enable cookie support. This allows parsing of netscape-like cookie jars
and sending of appropriate cookies. No retrieval of new cookies is done.
Careful review and lots of input by millert and ray.

ok millert@, ray@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.7 21-Jan-2017 krw

Nuke whitespace foolish enough to expose itself during the great
"warning:" rectification.


# 1.6 28-Dec-2016 deraadt

Split -DSMALL into -DNOSSL, so that a SSL-enabled version of ftp can
be built, which is still pretty small (in distrib/special/ftp-ssl).
Lots of testing by rpe.


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.5 05-May-2009 martynas

make it clean removing the ifdef SMALL maze. separate cmds and
small stuff. make it a fetcher. shrinks quite a bit
agreed by millert@, krw@
ok theo, sthen@


Revision tags: OPENBSD_4_5_BASE
# 1.4 07-Dec-2008 cloder

time_t is signed, so use INT_MAX rather than UINT_MAX when parsing a time_t
with strtonum


Revision tags: OPENBSD_4_4_BASE
# 1.3 25-Jun-2008 martynas

in resume mode, pass -c to mget when {dir,file}hasglob, so that i'm
able to continue multiple transfers with -C; ok millert@
while here fix some comments (!SMALL vs. SMALL stuff), and add
missing


Revision tags: OPENBSD_4_3_BASE
# 1.2 08-Oct-2007 pyr

Simplify the code that strips out \r by using strcspn.
ok millert@


Revision tags: OPENBSD_4_2_BASE
# 1.1 13-Jun-2007 pyr

Enable cookie support. This allows parsing of netscape-like cookie jars
and sending of appropriate cookies. No retrieval of new cookies is done.
Careful review and lots of input by millert and ray.

ok millert@, ray@