[0/5] Fix defect in sort-makefile-lines.py

Message ID 20230518130325.59309-1-carlos@redhat.com
Headers
Series Fix defect in sort-makefile-lines.py |

Message

Carlos O'Donell May 18, 2023, 1:03 p.m. UTC
  A defect in sort-makefile-lines.py failed to correctly handle the
less-than case in the custom sorting function. Correcting this requires
updating elf, misc, stdio-common, and wcsmbs Makefiles. The udpated
sorting shows that bug23-N.c and scanfNa are sorted inconsistently and
need to be renamed as suggested in the sorting rules.

Carlos O'Donell (5):
  scripts: sort-makefile-lines.py
  elf: Adjust tests in Makefile.
  stdio-common: Adjust tests in Makefile
  misc: Reformat Makefile.
  wcsmbs: Reformat Makefile.

 elf/Makefile                           | 20 ++++++------
 misc/Makefile                          |  6 ++--
 scripts/sort-makefile-lines.py         |  5 ++-
 stdio-common/Makefile                  | 44 +++++++++++++-------------
 stdio-common/{bug23-2.c => bug27.c}    |  0
 stdio-common/{bug23-3.c => bug28.c}    |  0
 stdio-common/{bug23-4.c => bug29.c}    |  0
 stdio-common/{scanf14a.c => scanf18.c} |  0
 stdio-common/{scanf16a.c => scanf19.c} |  0
 wcsmbs/Makefile                        |  2 +-
 10 files changed, 40 insertions(+), 37 deletions(-)
 rename stdio-common/{bug23-2.c => bug27.c} (100%)
 rename stdio-common/{bug23-3.c => bug28.c} (100%)
 rename stdio-common/{bug23-4.c => bug29.c} (100%)
 rename stdio-common/{scanf14a.c => scanf18.c} (100%)
 rename stdio-common/{scanf16a.c => scanf19.c} (100%)