diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-07-05 23:57:32 -0500 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-07-06 00:00:18 -0500 |
commit | 27436451ecbf250db4d1704c586763cb40e6dfeb (patch) | |
tree | a0713c338993726cc8bf4a8d1cef7d0336fa5065 /lib/filevercmp.h | |
parent | 2be06b13dd9582d7216c479e9874f0df6d32746b (diff) | |
download | emacs-27436451ecbf250db4d1704c586763cb40e6dfeb.tar.gz emacs-27436451ecbf250db4d1704c586763cb40e6dfeb.tar.bz2 emacs-27436451ecbf250db4d1704c586763cb40e6dfeb.zip |
Update from Gnulib by running admin/merge-gnulib
* admin/merge-gnulib (AVOIDED_MODULES): Add chmod.
Diffstat (limited to 'lib/filevercmp.h')
-rw-r--r-- | lib/filevercmp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/filevercmp.h b/lib/filevercmp.h index 5a336776719..57949760b25 100644 --- a/lib/filevercmp.h +++ b/lib/filevercmp.h @@ -61,7 +61,9 @@ without them, using version sort without special priority; if they do not compare equal, this comparison result is used and the suffixes are effectively ignored. Otherwise, the entire - strings are compared using version sort. + strings are compared using version sort. When removing a suffix + from a nonempty string, remove the maximal-length suffix such that + the remaining string is nonempty. This function is intended to be a replacement for strverscmp. */ int filevercmp (char const *a, char const *b) _GL_ATTRIBUTE_PURE; |