Author: Antero Mejr Upstream status: I didn't report upstream because they don't have an issue tracker and PRs require signing the Google CLA. If someone willing to sign the CLA wants to submit the patch, please go ahead. diff --git a/tools/cpp/src/cpp-build/generate_geocoding_data.cc b/tools/cpp/src/cpp-build/generate_geocoding_data.cc index 021cf5c8..5948e140 100644 --- a/tools/cpp/src/cpp-build/generate_geocoding_data.cc +++ b/tools/cpp/src/cpp-build/generate_geocoding_data.cc @@ -88,6 +88,7 @@ class DirEntry { const std::string& name() const { return name_; } DirEntryKinds kind() const { return kind_; } + bool operator<(const DirEntry& d) { return name_ < d.name(); } private: std::string name_; @@ -115,6 +116,7 @@ bool ListDirectory(const string& path, vector* entries) { errno = 0; entry = readdir(dir); if (entry == NULL) { + std::sort(entries->begin(), entries->end()); return errno == 0; } if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) { maryrefslogtreecommitdiff
on.cc (printHelp, programId): Remove.
AgeCommit message (Expand)Author
2022-06-17gnu: renpy: Update to 7.99.99-0-3e854bc....* gnu/packages/aux-files/renpy/renpy.in (__renpy_files, path_to_gamedir): New procedures. * gnu/packages/game-development.scm (python-renpy): Update to 7.99.99-0-3e854bc. (renpy): Likewise. [inputs]: Add python-pefile, python-requests and python-six. Liliana Marie Prikler
Ludovic Courtès
2021-03-17daemon: Correctly handle '--discover' with no value....Previously, we'd get: $ guix-daemon --discover error: basic_string::_M_construct null not valid * nix/nix-daemon/guix-daemon.cc (parse_opt): Change second argument to 'settings.set' to properly handle case where ARG is NULL. Ludovic Courtès
2020-11-29Use substitute servers on the local network....* guix/scripts/discover.scm: New file. * Makefile.am (MODULES): Add it. * nix/nix-daemon/guix-daemon.cc (options): Add "discover" option, (parse-opt): parse it, (main): start "guix discover" process when the option is set. * guix/scripts/substitute.scm (%local-substitute-urls): New variable, (substitute-urls): add it. * gnu/services/base.scm (<guix-configuration>): Add "discover?" field, (guix-shepherd-service): honor it. * doc/guix.texi (Invoking guix-daemon): Document "discover" option, (Base Services): ditto. Mathieu Othacehe