Skip to content
Snippets Groups Projects
Forked from redox-os / gcc
Source project has a limited visibility.
  • mrs's avatar
    108cf177
    Port to hosts whose 'sort' and 'tail' implementations · 108cf177
    mrs authored
    	treat operands with leading '+' as file names, as POSIX
    	has required since 2001.  However, make sure the code still
    	works on pre-POSIX hosts.
    	* ltmain.sh: Don't assume "sort +2" is equivalent to
    	"sort -k 3", since POSIX 1003.1-2001 no longer requires this.
    
    contrib:
    	* compare_tests: Don't assume "sort +2" is equivalent to
    	"sort -k 3", since POSIX 1003.1-2001 no longer requires this.
    gcc:
    	* Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
    	which says you should use "tail -c +N" rather than "tail +Nc".
    	Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115234 138bc75d-0d04-0410-961f-82ee72b054a4
    108cf177
    History
    Port to hosts whose 'sort' and 'tail' implementations
    mrs authored
    	treat operands with leading '+' as file names, as POSIX
    	has required since 2001.  However, make sure the code still
    	works on pre-POSIX hosts.
    	* ltmain.sh: Don't assume "sort +2" is equivalent to
    	"sort -k 3", since POSIX 1003.1-2001 no longer requires this.
    
    contrib:
    	* compare_tests: Don't assume "sort +2" is equivalent to
    	"sort -k 3", since POSIX 1003.1-2001 no longer requires this.
    gcc:
    	* Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
    	which says you should use "tail -c +N" rather than "tail +Nc".
    	Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115234 138bc75d-0d04-0410-961f-82ee72b054a4