Skip to content

Commit ccda0b7

Browse files
committed
otp: Add missing licenses and delete old files
1 parent f9e0787 commit ccda0b7

31 files changed

+371
-169
lines changed

lib/asn1/src/asn1ct_eval_ext.funcs

+18
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1+
%% %CopyrightBegin%
2+
%%
3+
%% Copyright Ericsson AB 2012-2025. All Rights Reserved.
4+
%%
5+
%% Licensed under the Apache License, Version 2.0 (the "License");
6+
%% you may not use this file except in compliance with the License.
7+
%% You may obtain a copy of the License at
8+
%%
9+
%% http://www.apache.org/licenses/LICENSE-2.0
10+
%%
11+
%% Unless required by applicable law or agreed to in writing, software
12+
%% distributed under the License is distributed on an "AS IS" BASIS,
13+
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
%% See the License for the specific language governing permissions and
15+
%% limitations under the License.
16+
%%
17+
%% %CopyrightEnd%
18+
119
{ext,transform_to_EXTERNAL1994,1}.
220
{ext,transform_to_EXTERNAL1994_maps,1}.

lib/common_test/priv/ct_default.css

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
%CopyrightBegin%
3+
4+
Copyright Ericsson AB 2020-2025. All Rights Reserved.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
%CopyrightEnd%
19+
20+
*/
21+
122
/* Stylesheet for Common Test */
223

324
body {
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-License-Identifier: Apache-2.0
2+
Copyright 2010 Ericsson AB. All rights reserved.

lib/common_test/src/ct_suite.erl

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
%%
2+
%% %CopyrightBegin%
3+
%%
4+
%% Copyright Ericsson AB 2023-2025. All Rights Reserved.
5+
%%
6+
%% Licensed under the Apache License, Version 2.0 (the "License");
7+
%% you may not use this file except in compliance with the License.
8+
%% You may obtain a copy of the License at
9+
%%
10+
%% http://www.apache.org/licenses/LICENSE-2.0
11+
%%
12+
%% Unless required by applicable law or agreed to in writing, software
13+
%% distributed under the License is distributed on an "AS IS" BASIS,
14+
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
%% See the License for the specific language governing permissions and
16+
%% limitations under the License.
17+
%%
18+
%% %CopyrightEnd%
19+
%%
20+
121
-module(ct_suite).
222
-moduledoc """
323
The following section describes the mandatory and optional test suite functions

lib/debugger/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ include $(ERL_TOP)/make/$(TARGET)/otp.mk
2626
# Common Macros
2727
# ----------------------------------------------------
2828

29-
SUB_DIRECTORIES = src priv doc
29+
SUB_DIRECTORIES = src doc
3030

3131
SPECIAL_TARGETS =
3232

lib/debugger/priv/Makefile

-63
This file was deleted.

lib/debugger/priv/debugger.gif

-647 Bytes
Binary file not shown.

lib/debugger/priv/debugger.tool

-6
This file was deleted.

lib/debugger/priv/erlang_bug.png

-4.61 KB
Binary file not shown.

lib/dialyzer/src/dialyzer_typegraph.erl

+19
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
%% -*- erlang-indent-level: 2 -*-
2+
%%
3+
%% %CopyrightBegin%
4+
%%
5+
%% Copyright Ericsson AB 2022. All Rights Reserved.
6+
%%
7+
%% Licensed under the Apache License, Version 2.0 (the "License");
8+
%% you may not use this file except in compliance with the License.
9+
%% You may obtain a copy of the License at
10+
%%
11+
%% http://www.apache.org/licenses/LICENSE-2.0
12+
%%
13+
%% Unless required by applicable law or agreed to in writing, software
14+
%% distributed under the License is distributed on an "AS IS" BASIS,
15+
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
%% See the License for the specific language governing permissions and
17+
%% limitations under the License.
18+
%%
19+
%% %CopyrightEnd%
20+
%%
221
-module(dialyzer_typegraph).
322
-moduledoc false.
423

lib/inets/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ include $(ERL_TOP)/make/$(TARGET)/otp.mk
2525
# Macros
2626
# ----------------------------------------------------
2727

28-
SUB_DIRECTORIES = src examples priv doc
28+
SUB_DIRECTORIES = src examples doc
2929

3030
include vsn.mk
3131
VSN = $(INETS_VSN)

lib/inets/priv/Makefile

-65
This file was deleted.

lib/inets/priv/bin/runcgi.sh

-4
This file was deleted.

lib/inets/priv/plt/.gitignore

-2
This file was deleted.

lib/kernel/include/eep48.hrl

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
%% %CopyrightBegin%
2+
%%
3+
%% Copyright Ericsson AB 2020. All Rights Reserved.
4+
%%
5+
%% Licensed under the Apache License, Version 2.0 (the "License");
6+
%% you may not use this file except in compliance with the License.
7+
%% You may obtain a copy of the License at
8+
%%
9+
%% http://www.apache.org/licenses/LICENSE-2.0
10+
%%
11+
%% Unless required by applicable law or agreed to in writing, software
12+
%% distributed under the License is distributed on an "AS IS" BASIS,
13+
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
%% See the License for the specific language governing permissions and
15+
%% limitations under the License.
16+
%%
17+
%% %CopyrightEnd%
18+
119
-define(NATIVE_FORMAT,<<"application/erlang+html">>).
220
-define(CURR_DOC_VERSION, {1,0,0}).
321
-record(docs_v1, {anno,

lib/kernel/include/logger.hrl

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
%%
2+
%% %CopyrightBegin%
3+
%%
4+
%% Copyright Ericsson AB 2018-2025. All Rights Reserved.
5+
%%
6+
%% Licensed under the Apache License, Version 2.0 (the "License");
7+
%% you may not use this file except in compliance with the License.
8+
%% You may obtain a copy of the License at
9+
%%
10+
%% http://www.apache.org/licenses/LICENSE-2.0
11+
%%
12+
%% Unless required by applicable law or agreed to in writing, software
13+
%% distributed under the License is distributed on an "AS IS" BASIS,
14+
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
%% See the License for the specific language governing permissions and
16+
%% limitations under the License.
17+
%%
18+
%% %CopyrightEnd%
19+
%%
20+
121
-ifndef(LOGGER_HRL).
222
-define(LOGGER_HRL,true).
323
-define(LOG_EMERGENCY(A),?DO_LOG(emergency,[A])).

lib/observer/priv/bin/cdv

+19
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
#!/bin/sh
2+
#
3+
# %CopyrightBegin%
4+
#
5+
# Copyright Ericsson AB 2011-2025. All Rights Reserved.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
# %CopyrightEnd%
20+
#
221

322
erl -env ERL_CRASH_DUMP_SECONDS 0 -noinput -s crashdump_viewer script_start $@
423

lib/observer/priv/bin/cdv.bat

+20
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
1+
::
2+
:: %CopyrightBegin%
3+
::
4+
:: Copyright Ericsson AB 2011-2025. All Rights Reserved.
5+
::
6+
:: Licensed under the Apache License, Version 2.0 (the "License");
7+
:: you may not use this file except in compliance with the License.
8+
:: You may obtain a copy of the License at
9+
::
10+
:: http://www.apache.org/licenses/LICENSE-2.0
11+
::
12+
:: Unless required by applicable law or agreed to in writing, software
13+
:: distributed under the License is distributed on an "AS IS" BASIS,
14+
:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
:: See the License for the specific language governing permissions and
16+
:: limitations under the License.
17+
::
18+
:: %CopyrightEnd%
19+
::
20+
121
@ECHO OFF
222
CALL werl -env ERL_CRASH_DUMP_SECONDS 0 -s crashdump_viewer script_start %*

lib/observer/priv/bin/etop

+19
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
#!/bin/sh
2+
#
3+
# %CopyrightBegin%
4+
#
5+
# Copyright Ericsson AB 1996-2025. All Rights Reserved.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
# %CopyrightEnd%
20+
#
221

322
NAME="etop"
423
erl -sname $NAME -hidden -s etop -s erlang halt -output text $@

0 commit comments

Comments
 (0)