Commit History

Author SHA1 Message Date
  Guillem Jover 33f45255ee Move copyright information from --version output to file comment headers 14 years ago
  Guillem Jover 88ee17740d u-a: Use the generic PACKAGE instead of a literal "dpkg" for textdomain 14 years ago
  Guillem Jover 82f4497f3b u-a: Free struct alternative_map variables 15 years ago
  Guillem Jover 3b2b9aea51 u-a: Add ref counting support to struct alternative 15 years ago
  Raphaël Hertzog 3609b52cca update-alternatives: properly handle stat()/lstat() failures 15 years ago
  Raphaël Hertzog bf9cefeb7a update-alternatives: use alternative_path_classify() more extensively 15 years ago
  Raphaël Hertzog 9dceac005a Revert "u-a: Use xreadlink() instead of areadlink() in alternative_evolve()" 15 years ago
  Guillem Jover 05ce02f897 u-a: Update alternative links only if they change 15 years ago
  Guillem Jover 3518e4d159 u-a: Refactor alternative_path_classify from alternative_can_replace_path 15 years ago
  Guillem Jover c922a8f681 u-a: Do not try to readlink() a non-symlink 15 years ago
  Guillem Jover 6c481e19a5 u-a: Use xreadlink() instead of areadlink() in alternative_evolve() 15 years ago
  Guillem Jover c7c7522dd3 u-a: Split xreadlink() allocation code into areadlink() 15 years ago
  Guillem Jover 89973c5bb9 u-a: Do not build strings from parts in alternative_check_install_args 15 years ago
  Guillem Jover 52507504e6 u-a: Refactor alternative argument checks into new function 15 years ago
  Guillem Jover 46aadad359 u-a: Refactor --install argument checking into a new function 15 years ago
  Guillem Jover abda47fbe8 u-a: Move alternative map loading to the actions that make use of them 15 years ago
  Guillem Jover 774e918754 u-a: Split alternative map loading into two functions 15 years ago
  Guillem Jover ca9a2b79f8 u-a: Refactor scandir() namelist free into new altdb_free_namelist() 15 years ago
  Guillem Jover 31242e1aaa u-a: Rename get_all_alternatives() to altdb_get_namelist() 15 years ago
  Guillem Jover 81412e6445 u-a: Do not check if linknames can be updated if --force is in use 15 years ago
  Raphaël Hertzog 4e4d2e3908 update-alternatives: can_replace_link() → can_replace_path() 15 years ago
  Raphaël Hertzog 244ebc2122 update-alternatives: clarify role of --force concerning removal of links 15 years ago
  Raphaël Hertzog 91db161013 update-alternatives: fix regression when dropping slave alternatives 15 years ago
  Raphaël Hertzog 638e259f69 update-alternatives: do not allow to reuse a slave link in another slave alternative 15 years ago
  Guillem Jover 9ccc961518 u-a: Flush the alternatives database file stream before fsync()ing it 15 years ago
  Raphaël Hertzog 0e0e26cb8e update-alternatives: fsync the administrative files before installation 15 years ago
  Raphaël Hertzog c28eadb19f update-alternatives: new syserr() function 15 years ago
  Guillem Jover cf715ae93a u-a: Remove unused new_choice assignment 15 years ago
  Guillem Jover 74dc50b34d Use size_t and %zu to handle memory sizes and offsets 15 years ago
  Guillem Jover 65d2ed5c21 u-a: Do not unneedingly initialize variables to NULL 15 years ago