summaryrefslogtreecommitdiff
path: root/src/divertcmd.c
AgeCommit message (Expand)AuthorFilesLines
2012-04-27dpkg-divert: Do not rename files owned by the diverting packageGuillem Jover1-1/+34
2012-03-31dpkg-divert: Check all dpkg-divert filename argumentsGuillem Jover1-4/+16
2012-03-31dpkg-divert: Only check for --divert being absolute when setting itGuillem Jover1-2/+2
2012-03-31Rename iterfiles*() functions to files_db_iter_*()Guillem Jover1-6/+6
2012-03-16dpkg-divert: Improve ignored removal request messageSven Joachim1-1/+1
2012-03-16dpkg-divert: Properly handle diversions of shared filesRaphaël Hertzog1-0/+46
2012-02-01Move copyright information from --version output to file comment headersGuillem Jover1-5/+0
2012-01-02Use the new atomic file API instead of ad-hoc codeGuillem Jover1-24/+9
2011-11-14Update diversions to work with pkgset instead of pkginfoRaphaël Hertzog1-16/+16
2011-11-14Rename pkg_name variables to pkgnameGuillem Jover1-3/+3
2011-10-27Switch from pkginfo->name to pkginfo->set->nameGuillem Jover1-3/+3
2011-07-07libdpkg: Rename myopt module to optionsGuillem Jover1-1/+1
2011-07-07Fix printforhelp string in dpkg-divert and dpkg-statoverrideGuillem Jover1-1/+1
2011-07-07Use new dpkg_set_progname and dpkg_get_progname instead of thisnameGuillem Jover1-3/+4
2011-07-07libdpkg: Do not require programs to define printforhelpGuillem Jover1-2/+3
2011-04-02dpkg-divert: Unlink the source file when moving across filesystemsGuillem Jover1-0/+4
2011-04-02dpkg-divert: Inline rename_mv() into file_rename()Guillem Jover1-12/+5
2011-04-02dpkg-divert: Move atomic rename logic from rename_mv() to file_copy()Guillem Jover1-11/+9
2011-04-02dpkg-divert: Change file_copy() and rename_mv() to ohshite() on errorGuillem Jover1-17/+10
2011-04-02Revert "dpkg-divert: fix minor file descriptor leak found by cppcheck"Guillem Jover1-3/+1
2011-04-02Rename struct cmdinfo member arg_func to action and call it directlyGuillem Jover1-4/+1
2011-04-02Use new action_func typedef instead of ad-hoc function castsGuillem Jover1-2/+2
2011-04-01dpkg-divert: fix minor file descriptor leak found by cppcheckRaphaël Hertzog1-1/+3
2011-03-17dpkg-divert: fix return value of rename_mvRaphaël Hertzog1-1/+1
2011-03-14Make admindir file local everywhereGuillem Jover1-1/+1
2011-03-14Use dpkg_db_set_dir() instead of pkgadmindir_init()Guillem Jover1-2/+2
2011-03-14Use dpkg_db_get_path() instead of using m_asprintf() and admindirGuillem Jover1-1/+1
2011-03-02dpkg-divert: Honour --local when DPKG_MAINTSCRIPT_PACKAGE is presentGuillem Jover1-1/+1
2011-02-11libdpkg: Rename cmdinfo arg membersGuillem Jover1-1/+1
2011-01-16Propagate --admindir to programs run from maintainer scriptsGuillem Jover1-1/+3
2011-01-16Use string literals instead of macros for environment variable namesGuillem Jover1-1/+1
2011-01-16Use m_asprintf() instead varbuf_printf() for one-off stringsGuillem Jover1-30/+28
2011-01-16libdpkg: Rename varbufprintf() to varbuf_printf()Guillem Jover1-16/+16
2011-01-16libdpkg: Rename varbufreset() to varbuf_reset()Guillem Jover1-2/+2
2010-11-19libdpkg: Namespace package database functions with pkg_db_ prefixGuillem Jover1-2/+2
2010-11-19Use push_error_context() instead of ad-hoc codeGuillem Jover1-2/+1
2010-11-19dpkg-divert: Use DPKG_MAINTSCRIPT_PACKAGE environment variableGuillem Jover1-0/+5
2010-11-19Use setaction() instead of directly assigning to cipactionGuillem Jover1-1/+1
2010-11-19Move action and obsolete related functionality to the myopt moduleGuillem Jover1-20/+0
2010-08-03Move glob module to libdpkgGuillem Jover1-1/+1
2010-07-22Check the stat structure only if it has been initializedRaphaël Hertzog1-1/+2
2010-07-08dpkg-divert: Refactor writable directory check into a new functionGuillem Jover1-22/+18
2010-07-08dpkg-divert: Disable renaming of the source file does not existGuillem Jover1-7/+6
2010-07-03dpkg-divert: Rewrite in CGuillem Jover1-0/+757