Skip to content

Commit fe93a29

Browse files
committed
Merge branch 'maint' into next
2 parents 2d00570 + b31d5b5 commit fe93a29

File tree

2 files changed

+92
-7
lines changed

2 files changed

+92
-7
lines changed

debian/copyright

+86-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Comment:
88
written by Theodore Ts'o <[email protected]> and Remy Card <[email protected]>.
99

1010
Files: *
11-
Copyright: 1993-2018 Theodore Ts'o <[email protected]>
11+
Copyright: 1993-2022 Theodore Ts'o <[email protected]>
1212
License: GPL-2
1313
Comment: Some files are GPL-2+ licensed or do not carry any license version.
1414
They are distributable as GPL-2 and listed as such for simplification.
@@ -21,6 +21,47 @@ Copyright: 2003-2007 Theodore Ts'o <[email protected]>
2121
1995-1996 Michael Nonweiler <[email protected]>
2222
License: GPL-2
2323

24+
Files: lib/et/*
25+
lib/ss/*
26+
Copyright: 1987-1988 MIT Student Information Processing Board
27+
2003 Theodore Ts'o
28+
License: Expat
29+
Permission to use, copy, modify, and distribute this software and
30+
its documentation for any purpose is hereby granted, provided that
31+
the names of M.I.T. and the M.I.T. S.I.P.B. not be used in
32+
advertising or publicity pertaining to distribution of the software
33+
without specific, written prior permission. M.I.T. and the
34+
M.I.T. S.I.P.B. make no representations about the suitability of
35+
this software for any purpose. It is provided "as is" without
36+
express or implied warranty.
37+
38+
Files: lib/et/vfprintf.c
39+
Copyright: 1988 Regents of the University of California
40+
License: BSD-3-Clause-Variant
41+
Redistribution and use in source and binary forms are permitted
42+
provided that the above copyright notice and this paragraph are
43+
duplicated in all such forms and that any documentation,
44+
advertising materials, and other materials related to such
45+
distribution and use acknowledge that the software was developed
46+
by the University of California, Berkeley. The name of the
47+
University may not be used to endorse or promote products derived
48+
from this software without specific prior written permission.
49+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
50+
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
51+
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
52+
53+
Files: lib/et/com_right.c
54+
Comment: Taken from lib/com_err/error.c from Kerberos4kth distribution.
55+
Copyright: (c) 2003 by Theodore Ts'o
56+
Copyright (c) 1997, 1998, 2001 Kungliga Tekniska Högskolan
57+
(Royal Institute of Technology, Stockholm, Sweden).
58+
All rights reserved.
59+
License: BSD-3-Clause
60+
61+
Files: lib/et/test_cases/imap_err.et
62+
Copyright: 1994-2008 Carnegie Mellon University.
63+
License: BSD-4-Clause-CMU
64+
2465
Files: lib/ext2fs/*
2566
lib/e2p/*
2667
lib/support/print_fs_flags.c
@@ -211,6 +252,12 @@ Copyright: 1995-1999 by Theodore Ts'o
211252
Linus Torvalds <[email protected]>
212253
License: GPL-2
213254

255+
Files: po/fr.po
256+
po/vi.po
257+
Copyright: 2008, 2014 Theodore Ts'o
258+
1996, 2014 Free Software Foundation, Inc.
259+
License: GPL-2
260+
214261
Files: resize/*
215262
Copyright: 1997-2000 by Theodore Ts'o and PowerQuest, Inc.
216263
License: GPL-2
@@ -370,6 +417,44 @@ License: BSD-3-Clause
370417
USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
371418
DAMAGE.
372419

420+
License: BSD-4-Clause-CMU
421+
Redistribution and use in source and binary forms, with or without
422+
modification, are permitted provided that the following conditions
423+
are met:
424+
.
425+
1. Redistributions of source code must retain the above copyright
426+
notice, this list of conditions and the following disclaimer.
427+
.
428+
2. Redistributions in binary form must reproduce the above copyright
429+
notice, this list of conditions and the following disclaimer in
430+
the documentation and/or other materials provided with the
431+
distribution.
432+
.
433+
3. The name "Carnegie Mellon University" must not be used to
434+
endorse or promote products derived from this software without
435+
prior written permission. For permission or any legal
436+
details, please contact
437+
Carnegie Mellon University
438+
Center for Technology Transfer and Enterprise Creation
439+
4615 Forbes Avenue
440+
Suite 302
441+
Pittsburgh, PA 15213
442+
(412) 268-7393, fax: (412) 268-7395
443+
444+
.
445+
4. Redistributions of any form whatsoever must retain the following
446+
acknowledgment:
447+
"This product includes software developed by Computing Services
448+
at Carnegie Mellon University (http://www.cmu.edu/computing/)."
449+
.
450+
CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
451+
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
452+
AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
453+
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
454+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
455+
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
456+
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
457+
373458
License: GPL-2
374459
This program is free software; you can redistribute it and/or modify
375460
it under the terms version 2 of the GNU General Public License

misc/dumpe2fs.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ static void print_free(unsigned long group, char * bitmap,
8484
unsigned long num, unsigned long offset, int ratio)
8585
{
8686
int p = 0;
87-
unsigned long i;
88-
unsigned long j;
87+
unsigned long i, j;
8988

9089
offset /= ratio;
9190
offset += group * num;
@@ -95,13 +94,14 @@ static void print_free(unsigned long group, char * bitmap,
9594
if (p)
9695
printf (", ");
9796
print_number((i + offset) * ratio);
98-
for (j = i; j < num && !in_use (bitmap, j); j++)
97+
for (j = i + 1; j < num && !in_use(bitmap, j); j++)
9998
;
100-
if (--j != i) {
99+
if (j != i + 1 || ratio > 1) {
101100
fputc('-', stdout);
102-
print_number((j + offset) * ratio);
103-
i = j;
101+
print_number(((j - 1 + offset) * ratio) +
102+
ratio - 1);
104103
}
104+
i = j;
105105
p = 1;
106106
}
107107
}

0 commit comments

Comments
 (0)