This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix `tail' invocation in the Ada testsuite



 The Ada testsuite invokes `tail' with "-1", which is not an option
allowed by the current revision of the POSIX standard and is therefore
expected to fail on systems that comply to it.  For example this is the
case with the `tail' implementation included in GNU coreutils 5.2.1 if
built on a glibc 2.3.x system (for older configurations you can force
POSIX compliance by setting the "_POSIX2_VERSION" environment variable to
"200112").

You can use sed -n '$p' for improved portability.


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]