summaryrefslogtreecommitdiff
path: root/utils/update-alternatives.c
AgeCommit message (Expand)AuthorFilesLines
2019-10-30dpkg, u-a: Make variables staticGuillem Jover1-1/+1
2019-01-15u-a: Fix removal of obsolete slaves from the linked listGuillem Jover1-4/+6
2019-01-15u-a: Add new --debug optionGuillem Jover1-5/+10
2019-01-15u-a: Switch verbose selection into an enumGuillem Jover1-6/+12
2019-01-15u-a: Use enums for actions instead of stringsGuillem Jover1-41/+90
2017-01-23u-a: Use areadlink() instead of lstat() + xreadlink()Guillem Jover1-9/+2
2017-01-23u-a: Refactor pathname existence check into a new functionGuillem Jover1-34/+23
2017-01-23u-a: Move xvasprintf() and xasprintf() definitions earlier in the codeGuillem Jover1-24/+24
2016-10-30u-a: Fix short-lived memory leaksGuillem Jover1-23/+26
2016-10-30u-a: Fix lookup by name on --configGuillem Jover1-3/+1
2016-02-26u-a: Remove useless alternative_has_slave() before alternative_get_slave()Guillem Jover1-4/+6
2016-02-26u-a: Move check for new slave inside alternative_evolve_slave()Guillem Jover1-5/+6
2016-02-26u-a: Move alternative temporary extension to the build systemGuillem Jover1-2/+0
2016-02-26u-a: Generalize admindir environment variable handlingGuillem Jover1-4/+6
2015-12-12u-a: Merge all action handling into a single if-else-if blockGuillem Jover1-17/+28
2015-12-12u-a: Switch xasprintf() to return an allocated stringGuillem Jover1-32/+27
2015-10-18Update Ian Jackson's email addressGuillem Jover1-1/+1
2015-09-17u-a: Do not try to free() a «const char *»Guillem Jover1-4/+4
2015-09-15u-a: Fix memory leak in alternative_config_all()Guillem Jover1-1/+3
2015-09-14u-a: Remove subcall and surrounding codeGuillem Jover1-51/+0
2015-09-14u-a: Reimplement --set-selections as a built-in commandGuillem Jover1-10/+12
2015-09-14u-a: Reimplement --all as a fully built-in commandGuillem Jover1-14/+25
2015-09-14u-a: Move selection functions after alternative_update()Guillem Jover1-123/+123
2015-09-14u-a: Refactor config, remove, set_manual and set_auto actionsGuillem Jover1-47/+89
2015-09-14u-a: Rename alternative_remove to alternative_remove_filesGuillem Jover1-2/+2
2015-09-14u-a: Move current best alternative from the trail to the headGuillem Jover1-6/+5
2015-09-14u-a: Print master and slave links on --displayGuillem Jover1-0/+3
2015-04-18debian: Update my copyright yearsGuillem Jover1-1/+1
2015-04-10Consistently use proper quotation marks all over the placeGuillem Jover1-6/+6
2015-03-31Use "<enter>" instead of "return" or "enter" in input promptsGuillem Jover1-1/+1
2014-10-23u-a: Inline alternative status description into translatable stringGuillem Jover1-3/+6
2014-05-28u-a: Uppercase altdb_flags enum valuesGuillem Jover1-9/+9
2014-05-28u-a: Uppercase opcode enum valuesGuillem Jover1-11/+11
2014-05-17u-a: Switch from alternative_has_choice() to checking if fs is NULLGuillem Jover1-3/+4
2014-05-17u-a: Fix TOCTOU race in rename_mv()Guillem Jover1-13/+9
2014-05-17u-a: Fix TOCTOU race when loading an alternativeGuillem Jover1-11/+10
2014-04-30u-a: Fix memory leaks in alternative_parse_fileset()Guillem Jover1-0/+4
2014-01-15Rename return code variables from r to rcGuillem Jover1-3/+5
2014-01-15Use dead_pid instead of r as variable name for waitpid() return valueGuillem Jover1-3/+3
2014-01-15Give better names to variables in malloc replacement functionsGuillem Jover1-4/+4
2013-12-12u-a: Fix a segfault when adding a new slave link to a link groupGuillem Jover1-1/+1
2013-12-07Use https:// URLs instead of http:// when possibleGuillem Jover1-1/+1
2013-10-16u-a: Change mark to be a character instead of a stringGuillem Jover1-4/+4
2013-10-16u-a: Unify idx handling in alternative_select_choice()Guillem Jover1-5/+3
2013-10-16u-a: Refactor out choice printing into its own functionGuillem Jover1-17/+19
2013-10-16u-a: Compute unchanging select choice variables just onceGuillem Jover1-6/+7
2013-10-16u-a: Rename DPKG_TMP_EXT to ALT_TMP_EXTGuillem Jover1-10/+10
2013-10-16u-a: Add new function to return a descriptive alternative status stringGuillem Jover1-6/+11
2013-10-16u-a: When changing slave links do not warn that the link group is brokenGuillem Jover1-17/+50
2013-10-16u-a: Refactor alternative_copy_slave() out from alternative_evolve()Guillem Jover1-1/+7