summaryrefslogtreecommitdiff
path: root/src/errors.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-07libdpkg: Rename myopt module to optionsGuillem Jover1-1/+1
2011-07-07Use new dpkg_set_progname and dpkg_get_progname instead of thisnameGuillem Jover1-3/+3
The current implementation demanded libdpkg users to define thisname themselves, which is not really a nice interface to offer to programs. Closes: #631757
2011-04-01dpkg: Pass default return value to reportbroken_retexitstatus()Guillem Jover1-2/+4
This will allow to pass arbitrary values from the command actions when there's not been any reported error.
2010-11-19Cleanup white spacesGuillem Jover1-2/+2
Remove trailing spaces. Remove blank lines not separating different code blocks. Remove blank lines at the end of the file.
2010-11-19Use thisname variable instead of hard-coded 'dpkg' stringGuillem Jover1-3/+5
This corrects the current program name printed by other tools.
2010-07-16Fix file names in comment headerGuillem Jover1-1/+1
2010-07-16Switch variables from int to bool where appropriateGuillem Jover1-2/+2
2010-06-07Unify naming of va_list variables to args or args_copyGuillem Jover1-5/+6
2010-05-19Use bool instead of int wherever appropriateGuillem Jover1-1/+1
2010-01-28Do not include unneeded <signal.h>Guillem Jover1-1/+0
2009-11-08Unify text in license headersGuillem Jover1-5/+5
Add a missing “of the License” after “version 2”. Move “but” and “GNU” at the end of line to the next line. This matches more closely the paragraph found in the license text for the GPL version 2.
2009-11-08Replace FSF address by pointing to the gnu.org URLGuillem Jover1-3/+2
Use the <http://www.gnu.org/licenses/> URL, instead of in most cases the outdated FSF address, which is way more stable, as the latter has changed several times in the past.
2009-10-26Sort order of header includesGuillem Jover1-9/+10
Place first <config.h> and <compat.h>, then all <sys/*.h> sorted by complexity, followed by the rest of the system headers, then <dpkg/*.h> and finally the local "*.h" ones. Move <dpkg/i18n.h> inclusion into libdpkg inclusion block, as the <gettext.h> compatibility header already takes care of including <locale.h> before <libintl.h> on environments were its probamatic. Removed duplicated inclusions.
2009-09-30Switch to use stdbool were appropriateGuillem Jover1-4/+7
2009-07-15Disable default automake preprocessor include pathsGuillem Jover1-3/+3
Tell automake not to add “-I.” to the preprocessor flags, to avoid file collisions with system headers. Re-add the path where config.h is located. Namespace and use bracketed file inclusions for libdpkg headers, and use quoted inclusions for program headers.
2009-07-15libdpkg: Rename dpkg-i18n.h to i18n.hGuillem Jover1-1/+1
2009-06-18Fix english mistake (“as you request” → “as you requested”)David Stansby1-1/+1
2008-12-05Use the warning function instead of hand-coded print callsGuillem Jover1-1/+2
2008-11-18Merge branch 'lenny' (through tag '1.14.23')Guillem Jover1-4/+6
Conflicts: ChangeLog configure.ac debian/changelog man/ChangeLog man/po/de.po man/po/es.po man/po/hu.po man/po/pt_BR.po po/ChangeLog po/es.po po/ja.po po/ko.po po/pt.po po/ro.po src/errors.c
2008-11-14dpkg: untangle onerr_abort from too many errors conditionGuillem Jover1-4/+5
Give the “too many errors” while processing packages or archives condition a different flag than the more serious onerr_abort condition from unrecoverable fatal errors. This is needed so that we can do a proper abort and stop dpkg completely in case of an actual fatal error, without affecting the normal loop processing error handling.
2008-10-17dpkg-query: stop needlessly using functionality from error.cGuillem Jover1-1/+1
The file was being pulled only because dpkg-query was using nerrs.
2008-09-14libcompat: Add new compat.h headerGuillem Jover1-0/+1
2008-09-14libdpkg: Move gettext related definitions to a new dpkg-i18n.hGuillem Jover1-0/+2
2008-06-30Switch to use UTF-8 copyright symbol and add missing onesGuillem Jover1-1/+1
Some 'Copyright <year>' entries didn't have a copyright symbol. Add it and switch the rest from '(C)' to '©', but we don't do this on program output which for now should remain pure ascii.
2008-03-25Refactor status-fd duplicate output code into a new functionGuillem Jover1-17/+1
Based on a patch by Ian Jackson <ian@davenant.greenend.org.uk>.
2008-01-16Use NULL instead of 0Guillem Jover1-2/+2
2007-11-29Move extern declarations to header files and stop defining them as externGuillem Jover1-2/+0
2005-03-11dpkg (1.13.1.0.1) experimental; urgency=lowScott James Remnant1-0/+132
* Bin-MU; recompile against Debian unstable, to make dselect actually installable. -- Scott James Remnant <scott@netsplit.com> Fri, 11 Mar 2005 09:00:14 +0000