diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-11-14 23:29:24 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-11-14 23:29:24 +0000 |
commit | 4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9 (patch) | |
tree | e2f85528fc1e244b1a94ac64af0beac11c864dc1 /wget.c | |
parent | 8045c08e1c7af252b3b1e421a02fc0af4cdf957f (diff) | |
download | busybox-w32-4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9.tar.gz busybox-w32-4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9.tar.bz2 busybox-w32-4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9.zip |
Remove the BSD advertising clause, and replace it with a link to how
the advertising clause has been retroactivly declared null and void.
Diffstat (limited to 'wget.c')
-rw-r--r-- | wget.c | 99 |
1 files changed, 54 insertions, 45 deletions
@@ -2,17 +2,15 @@ | |||
2 | /* | 2 | /* |
3 | * wget - retrieve a file using HTTP | 3 | * wget - retrieve a file using HTTP |
4 | * | 4 | * |
5 | * Chip Rosenthal | 5 | * Chip Rosenthal Covad Communications <chip@laserlink.net> |
6 | * Covad Communications | ||
7 | * <chip@laserlink.net> | ||
8 | * | 6 | * |
9 | * Note: According to RFC2616 section 3.6.1, "All HTTP/1.1 applications | 7 | * Note: According to RFC2616 section 3.6.1, "All HTTP/1.1 applications MUST be |
10 | * MUST be able to receive and decode the "chunked" transfer-coding, | 8 | * able to receive and decode the "chunked" transfer-coding, and MUST ignore |
11 | * and MUST ignore chunk-extension extensions they do not understand." | 9 | * chunk-extension extensions they do not understand." |
12 | * This prevents this particular wget app from completely RFC compliant, | ||
13 | * and as such, prevents it from being used as a general purpose web browser... | ||
14 | * | 10 | * |
15 | * This is a design decision, since it makes the code smaller. | 11 | * This prevents this particular wget app from completely RFC compliant, and as |
12 | * such, prevents it from being used as a general purpose web browser... This | ||
13 | * is a design decision, since it makes the code smaller. | ||
16 | * | 14 | * |
17 | */ | 15 | */ |
18 | 16 | ||
@@ -302,42 +300,10 @@ char *gethdr(char *buf, size_t bufsiz, FILE *fp, int *istrunc) | |||
302 | } | 300 | } |
303 | 301 | ||
304 | #ifdef BB_FEATURE_STATUSBAR | 302 | #ifdef BB_FEATURE_STATUSBAR |
305 | /* Stuff below is from BSD rcp util.c, as added to openshh. */ | 303 | /* Stuff below is from BSD rcp util.c, as added to openshh. |
306 | 304 | * Original copyright notice is retained at the end of this file. | |
307 | /*- | 305 | * |
308 | * Copyright (c) 1992, 1993 | 306 | */ |
309 | * The Regents of the University of California. All rights reserved. | ||
310 | * | ||
311 | * Redistribution and use in source and binary forms, with or without | ||
312 | * modification, are permitted provided that the following conditions | ||
313 | * are met: | ||
314 | * 1. Redistributions of source code must retain the above copyright | ||
315 | * notice, this list of conditions and the following disclaimer. | ||
316 | * 2. Redistributions in binary form must reproduce the above copyright | ||
317 | * notice, this list of conditions and the following disclaimer in the | ||
318 | * documentation and/or other materials provided with the distribution. | ||
319 | * 3. All advertising materials mentioning features or use of this software | ||
320 | * must display the following acknowledgement: | ||
321 | * This product includes software developed by the University of | ||
322 | * California, Berkeley and its contributors. | ||
323 | * 4. Neither the name of the University nor the names of its contributors | ||
324 | * may be used to endorse or promote products derived from this software | ||
325 | * without specific prior written permission. | ||
326 | * | ||
327 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
328 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
329 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
330 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
331 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
332 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
333 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
334 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
335 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
336 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
337 | * SUCH DAMAGE. | ||
338 | * | ||
339 | * $Id: wget.c,v 1.6 2000/10/25 16:25:50 kraai Exp $ | ||
340 | */ | ||
341 | 307 | ||
342 | 308 | ||
343 | int | 309 | int |
@@ -467,6 +433,47 @@ progressmeter(int flag) | |||
467 | } | 433 | } |
468 | } | 434 | } |
469 | #endif | 435 | #endif |
436 | |||
437 | /* Original copyright notice which applies to the BB_FEATURE_STATUSBAR stuff, | ||
438 | * much of which was blatently stolen from openssh. */ | ||
439 | |||
440 | /*- | ||
441 | * Copyright (c) 1992, 1993 | ||
442 | * The Regents of the University of California. All rights reserved. | ||
443 | * | ||
444 | * Redistribution and use in source and binary forms, with or without | ||
445 | * modification, are permitted provided that the following conditions | ||
446 | * are met: | ||
447 | * 1. Redistributions of source code must retain the above copyright | ||
448 | * notice, this list of conditions and the following disclaimer. | ||
449 | * 2. Redistributions in binary form must reproduce the above copyright | ||
450 | * notice, this list of conditions and the following disclaimer in the | ||
451 | * documentation and/or other materials provided with the distribution. | ||
452 | * | ||
453 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
454 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
455 | * | ||
456 | * 4. Neither the name of the University nor the names of its contributors | ||
457 | * may be used to endorse or promote products derived from this software | ||
458 | * without specific prior written permission. | ||
459 | * | ||
460 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
461 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
462 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
463 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
464 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
465 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
466 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
467 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
468 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
469 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
470 | * SUCH DAMAGE. | ||
471 | * | ||
472 | * $Id: wget.c,v 1.7 2000/11/14 23:29:24 andersen Exp $ | ||
473 | */ | ||
474 | |||
475 | |||
476 | |||
470 | /* | 477 | /* |
471 | Local Variables: | 478 | Local Variables: |
472 | c-file-style: "linux" | 479 | c-file-style: "linux" |
@@ -475,3 +482,5 @@ tab-width: 4 | |||
475 | End: | 482 | End: |
476 | */ | 483 | */ |
477 | 484 | ||
485 | |||
486 | |||