summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_input.c
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2008-01-31 08:11:01 +0000
committerkaiw <kaiw@FreeBSD.org>2008-01-31 08:11:01 +0000
commite57ce2b6e66969617ddf24cf15e2a24e11871b15 (patch)
treedbc11b1ac87207f4bae8a0e0ee7f583067e1c146 /sys/netinet/sctp_input.c
parent213915cb49d168b2bec532920c73351ee0fb53ba (diff)
downloadFreeBSD-src-e57ce2b6e66969617ddf24cf15e2a24e11871b15.zip
FreeBSD-src-e57ce2b6e66969617ddf24cf15e2a24e11871b15.tar.gz
Add hook routine archive_write_ar_finish() which writes the 'ar'
global header if nothing else has been written before the closing of the archive. This will change the behaviour when creating archives without members, i.e., instead of generating a 0-size archive file, an archive with just the global header (8 bytes in total) will be created and it is indeed a valid archive by the definition of libarchive, thus subsequent operation on this archive will be accepted. This especially solves the failure caused by following sequence: (several ports do) % ar cru libfoo.a # without specifying obj files % ranlib libfoo.a Reviewed by: kientzle, jkoshy Approved by: kientzle Approved by: jkoshy (mentor) Reported by: erwin MFC after: 1 month
Diffstat (limited to 'sys/netinet/sctp_input.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud