Check-in [af00e9d27e]
Overview
Comment:Updated to normalize correctly
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:af00e9d27e4189ae2ab95a9169ee006b2df4361a
User & Date: rkeene on 2014-05-06 06:06:19
Other Links: manifest | tags
Context
2014-05-06
20:12
Updated to test with package check-in: 5b5e7e38ed user: rkeene tags: trunk
06:06
Updated to normalize correctly check-in: af00e9d27e user: rkeene tags: trunk
06:05
Updated to normalize file pathnames check-in: c75ccc535c user: rkeene tags: trunk
Changes

Modified headers.awk from [d6d1f90c6d] to [2b29d7a703].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
/^# [0-9][0-9]* /{
	file = $3;

	gsub(/^"/, "", file);
	gsub(/"$/, "", file);

	while(gsub(/\/[^\/]*\/..\//, "/", file)) {}

	destfile = file;
	if (!gsub(/^.*\/gcc\/.*\/include\//, "gcc/", destfile)) {
		if (!gsub(/^.*\/include\//, "", destfile)) {
			if (!gsub(/^.*\/include-fixed\//, "fix/", destfile)) {
				next
			}






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
/^# [0-9][0-9]* /{
	file = $3;

	gsub(/^"/, "", file);
	gsub(/"$/, "", file);

	while(gsub(/\/[^\/]*\/\.\.\//, "/", file)) {}

	destfile = file;
	if (!gsub(/^.*\/gcc\/.*\/include\//, "gcc/", destfile)) {
		if (!gsub(/^.*\/include\//, "", destfile)) {
			if (!gsub(/^.*\/include-fixed\//, "fix/", destfile)) {
				next
			}