This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
----------------------- --- glibc-2.7/scripts/gen-sorted.awk.orig 2007-10-28 00:01:20.000000000 +0200 +++ glibc-2.7/scripts/gen-sorted.awk 2007-10-28 00:02:33.000000000 +0200 @@ -16,7 +16,7 @@ NF == 0 { next } { subdir = type = FILENAME; sub(/^.*\//, "", type); - sub(/\/[^/]+$/, "", subdir); + sub(/\/[^\/]+$/, "", subdir); sub(/^.*\//, "", subdir); thisdir = ""; } @@ -56,13 +56,13 @@ type == "Subdirs" && thisdir { # The Subdirs file comes from an add-on that should have the subdirectory. dir = FILENAME; do - sub(/\/[^/]+$/, "", dir); + sub(/\/[^\/]+$/, "", dir); while (dir !~ /\/sysdeps$/); sub(/\/sysdeps$/, "", dir); if (system("test -d " dir "/" thisdir) == 0) dir = dir "/" thisdir; else { - sub(/\/[^/]+$/, "", dir); + sub(/\/[^\/]+$/, "", dir); if (system("test -d " dir "/" thisdir) == 0) dir = dir "/" thisdir; else { -----------------------
Christian -- BOFH excuse #234:
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |