VirtualBox

Changeset 3397 in kBuild for trunk


Ignore:
Timestamp:
Jul 2, 2020 8:37:30 AM (5 years ago)
Author:
bird
Message:

kmk/function.c: Forgot to adjust the qsort callback when version=1 in common_sortfiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/function.c

    r3394 r3397  
    68256825
    68266826      /* Sort it. */
    6827       qsort (files, num_files, sizeof (files[0]), alpha_compare);
     6827      if (version)
     6828        qsort(files, num_files, sizeof(files[0]), version_compare_wrapper);
     6829      else
     6830        qsort(files, num_files, sizeof(files[0]), alpha_compare);
    68286831
    68296832      /* Output. We skip equal files. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette