diff options
-rw-r--r-- | progressmeter.c | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/progressmeter.c b/progressmeter.c index f62f57f91..fbfece203 100644 --- a/progressmeter.c +++ b/progressmeter.c | |||
@@ -24,10 +24,15 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | /* | 26 | /* |
27 | * Parts from: | 27 | * Copyright (c) 1997-2003 The NetBSD Foundation, Inc. |
28 | * All rights reserved. | ||
28 | * | 29 | * |
29 | * Copyright (c) 1983, 1990, 1992, 1993, 1995 | 30 | * This code is derived from software contributed to The NetBSD Foundation |
30 | * The Regents of the University of California. All rights reserved. | 31 | * by Luke Mewburn. |
32 | * | ||
33 | * This code is derived from software contributed to The NetBSD Foundation | ||
34 | * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, | ||
35 | * NASA Ames Research Center. | ||
31 | * | 36 | * |
32 | * Redistribution and use in source and binary forms, with or without | 37 | * Redistribution and use in source and binary forms, with or without |
33 | * modification, are permitted provided that the following conditions | 38 | * modification, are permitted provided that the following conditions |
@@ -39,28 +44,27 @@ | |||
39 | * documentation and/or other materials provided with the distribution. | 44 | * documentation and/or other materials provided with the distribution. |
40 | * 3. All advertising materials mentioning features or use of this software | 45 | * 3. All advertising materials mentioning features or use of this software |
41 | * must display the following acknowledgement: | 46 | * must display the following acknowledgement: |
42 | * This product includes software developed by the University of | 47 | * This product includes software developed by the NetBSD |
43 | * California, Berkeley and its contributors. | 48 | * Foundation, Inc. and its contributors. |
44 | * 4. Neither the name of the University nor the names of its contributors | 49 | * 4. Neither the name of The NetBSD Foundation nor the names of its |
45 | * may be used to endorse or promote products derived from this software | 50 | * contributors may be used to endorse or promote products derived |
46 | * without specific prior written permission. | 51 | * from this software without specific prior written permission. |
47 | * | ||
48 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
49 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
50 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
51 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
52 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
53 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
54 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
55 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
56 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
57 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
58 | * SUCH DAMAGE. | ||
59 | * | 52 | * |
53 | * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | ||
54 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | ||
55 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
56 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | ||
57 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
58 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
59 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
60 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
61 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
62 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
63 | * POSSIBILITY OF SUCH DAMAGE. | ||
60 | */ | 64 | */ |
61 | 65 | ||
62 | #include "includes.h" | 66 | #include "includes.h" |
63 | RCSID("$OpenBSD: progressmeter.c,v 1.5 2003/04/03 10:17:35 itojun Exp $"); | 67 | RCSID("$OpenBSD: progressmeter.c,v 1.6 2003/04/07 21:58:05 millert Exp $"); |
64 | 68 | ||
65 | #ifdef HAVE_LIBGEN_H | 69 | #ifdef HAVE_LIBGEN_H |
66 | #include <libgen.h> | 70 | #include <libgen.h> |