Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage-utils:master commit in: /
Date: Fri, 31 Dec 2021 15:36:33
Message-Id: 1640888461.8e19c9d7218ebfb5380169df7b7978cbb782310c.grobian@gentoo
1 commit: 8e19c9d7218ebfb5380169df7b7978cbb782310c
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 30 18:21:01 2021 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 30 18:21:01 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=8e19c9d7
7
8 main: move comment to relevant block
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 main.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/main.c b/main.c
16 index b3f2f6d..1337cb0 100644
17 --- a/main.c
18 +++ b/main.c
19 @@ -485,10 +485,10 @@ read_portage_file(const char *file, enum portage_file_type type, void *data)
20 continue;
21 }
22
23 - /* Handle "source" keyword */
24 if (type == ENV_FILE) {
25 size_t curline = line;
26
27 + /* Handle "source" keyword */
28 if (strncmp(buf, "source ", 7) == 0) {
29 const char *sfile = buf + 7;