summaryrefslogtreecommitdiff
path: root/fixincludes/README
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-08 17:30:31 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-08 17:30:31 +0000
commitb795c8d1f5cc95979bc8871b21fcb2896900d7fa (patch)
tree4eb6c0e5cef9f80cd8dc2be0ad8ff00541a7fe2b /fixincludes/README
parentffbee577bee09048af600b70a6a04c691187fc78 (diff)
downloadlinaro-gcc-b795c8d1f5cc95979bc8871b21fcb2896900d7fa.tar.gz
linaro-gcc-b795c8d1f5cc95979bc8871b21fcb2896900d7fa.tar.bz2
linaro-gcc-b795c8d1f5cc95979bc8871b21fcb2896900d7fa.zip
sed portability fixes in fixincludes
fixincludes/: PR testsuite/29737 PR bootstrap/35938 PR testsuite/39655 * check.tpl: Fix typos. * README: Likewise. Also, document that 'select' uses ERE. * mkheaders.in: Update copyright years in --version output. * inclhack.def (sco_math): Add missing final newline in sed script 'a', 'c', or 'i' commands, for BSD sed. (sco_math): In the text of 'a', 'c', or 'i' sed commands, prepend leading white space with a backslash to avoid the whitespace to be removed by BSD sed. (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex. (x11_new): Fix sed expression, for BSD sed. (glibc_mutex_init): Fix newlines in sed 's' command replacement part, for GNU sed 3.02 and Solaris sed. (glibc_mutex_init): Replace unportable \+ sed regex operator with \{1,\}. (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed alternation \| regex operator. (solaris_complex): Remove superfluous backslashes from replacement string. Replace \+ operator with \{1,\}. * tests/base/Xm/Traversal.h: This is fixed for BSD sed now. * fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/README')
-rw-r--r--fixincludes/README13
1 files changed, 7 insertions, 6 deletions
diff --git a/fixincludes/README b/fixincludes/README
index e9e46546636..5536a34ec98 100644
--- a/fixincludes/README
+++ b/fixincludes/README
@@ -51,7 +51,7 @@ To make your fix, you will need to do several things:
the proper functioning of a different fix. Make sure your
fix is properly tested and it does what it is supposed to do.
-6. Now that you have the right things happening, syncronize the
+6. Now that you have the right things happening, synchronize the
$(srcdir)/tests/base directory with the $(builddir)/tests/res
directory. The output of "make check" will be some diffs that
should give you some hints about what to do.
@@ -82,22 +82,23 @@ MAKING CHANGES TO INCLHACK.DEF
and "c-test" because they are performed internally:
* select - Run a regex on the contents of the file being considered.
- All such regex-es must match.
+ All such regex-es must match. Matching is done with
+ extended regular expressions.
* bypass - Run a regex on the contents of the file being considered.
No such regex may match.
- * c-test - call a function in fixtests.c. See that file.
+ * c_test - call a function in fixtests.c. See that file.
* files - the "fnmatch" pattern of the file(s) to examine for
the issue. There may be several copies of this attribute.
If the header lives in a /usr/include subdirectory, be
sure to include that subdirectory in the name. e.g. net/if.h
- * mach - Match the output of config.conf against a series of fnmatch
+ * mach - Match the output of config.guess against a series of fnmatch
patterns. It must match at least one of the patterns, unless
"not-machine" has also been specified. In that case, the
- config.conf output must not match any of the patterns.
+ config.guess output must not match any of the patterns.
The next test is relatively slow because it must be handled in a
separate shell process. Some platforms do not support server shells,
@@ -113,7 +114,7 @@ MAKING CHANGES TO INCLHACK.DEF
1. Be positive for all header files that require the fix.
- It is desireable to:
+ It is desirable to:
2. Be negative as often as possible whenever the fix is not
required, avoiding the process overhead.