summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* NULL out handle after releaseDan McGee2010-01-19
| | | | | | | | We free'd the handle but didn't NULL out the global variable, leading to problems if you try to reinitialize the library. Make sure we clean up after ourselves. Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix opendir error condition checksDan McGee2009-10-27
| | | | | | | | | | Thanks to Laszlo Papp <djszapi@archlinux.us> for the following catch: opendir(path)) == (DIR *)-1; is maybe the result of misunderstanding the manpage. If an opendir() call isn't successful it returns NULL rather than '(DIR *)-1'. Noticed-by: Laszlo Papp <djszapi@archlinux.us> Signed-off-by: Dan McGee <dan@archlinux.org>
* alpm_list : fix a bug in alpm_list_removeXavier Chantry2009-10-11
| | | | | | | A NULL list element triggered an infinite loop. Not cool :) Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Chinese translation甘露(Lu.Gan)2009-10-11
| | | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Swedish translationChristian Larsson2009-10-07
| | | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update chinese translation甘露(Lu.Gan)2009-10-07
| | | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* New Greek translationXavier Chantry2009-10-07
| | | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update translationsXavier Chantry2009-10-07
| | | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update all pot and po files for 3.3.2 releaseXavier Chantry2009-10-07
| | | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* dload : fix infinite download (big type mistake)Xavier Chantry2009-09-29
| | | | | | | | | | | fetchIO_read returns -1 in case of error, and the return type is ssize_t, not size_t ! So we converted -1 to an unsigned, which led to huge file write. The rest is just changing the error return a bit. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Clean up translation file headersDan McGee2009-09-22
| | | | | | | Get them a bit more standardized across the board, as they were quite a mess. Also note the two new translations we received for 3.3.1. Signed-off-by: Dan McGee <dan@archlinux.org>
* Add Swedish translationLaszlo Papp2009-09-22
| | | | | | | | | | This is for 3.3.0, not for 3.3.1. But since there are only like 10 messages missing, it seems worth including now. Signed-off-by: Christian Larsson <congacx@gmail.com> Signed-off-by: Laszlo Papp <djszapi2@archlinux.us> [Dan: fix some busted translation strings] Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Czech translationOndrej Kucera2009-09-23
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* Update Brazilian translationRodrigo Flores2009-09-22
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* Add Norwegian translationLaszlo Papp2009-09-21
| | | | | | Signed-off-by: Hans-Kristian Arntzen <maister@archlinux.us> Signed-off-by: Laszlo Papp <djszapi@archlinux.us> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Polish translationMateusz Herych2009-09-20
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update Italian translationGiovanni Scafora2009-09-18
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update Ukrainian translationRoman Kyrylych2009-09-18
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update Turkish translationSamed Beyribey2009-09-18
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update Spanish translationJuan Pablo González Tognarelli2009-09-18
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update Russian translationSergey Tereschenko2009-09-18
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update Romanian translationVolodia Macovei2009-09-18
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update Kazakh translationBaurzhan Muftakhidinov2009-09-18
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update Hungarian translationNagy Gabor2009-09-18
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update German translationMatthias Gorissen2009-09-18
| | | | Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
* Update en_GB translationDan McGee2009-09-16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update french translationXavier Chantry2009-09-16
| | | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update all pot and po files for 3.3.1 releaseXavier Chantry2009-09-16
| | | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* String improvementsXavier Chantry2009-09-16
| | | | | | | Add more untranslated strings, improve consistency, etc. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Catch an untranslated warning in lib/remove.cNagy Gabor2009-09-15
| | | | | Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
* Add makepkgopt to be_package.cNagy Gabor2009-09-14
| | | | | | | | | After commit 774c252 the --debug output shows 5-6 "syntax error..." lines for each package. After this patch pacman recognizes makepkgopt as a valid key, but doesn't do anything. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
* dload.c : change the way to check for mtimesXavier Chantry2009-08-18
| | | | | | | | | | | | libfetch supports checking mtime so we do not need to do it manually. when the databases are already up-to-date, initiating a connection with fetchXGet and closing it right after with fetchIO_close took a very long time (up to 10min!) on some network. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> (cherry picked from commit d7675e393ff3cecb5408c243898ebaae80c5988d)
* Make fetch timeout actually 10 secondsDan McGee2009-08-13
| | | | | | | | | We had 10000 as our timeout value, assuming it was expressed in ms. This is false after looking at the current code, so reset it back to 10 seconds. Addresses FS#15369. Signed-off-by: Dan McGee <dan@archlinux.org>
* Add a missing newline.Xavier Chantry2009-08-03
| | | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Use full path to ldconfigMarc - A. Dahlhaus2009-08-03
| | | | | | | | | | If /sbin is not in the PATH and sudo is used, ldconfig cannot be found. So use /sbin/ldconfig instead. The code checked for the existence of /sbin/ldconfig anyway.. Signed-off-by: Marc - A. Dahlhaus <mad@wol.de> Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* fix warning when internal download is not usedXavier Chantry2009-08-02
| | | | | | | | | After commit 30c4d53ce5c16cbbb17a88fe1ad14faf53d91999, get_destfile and get_tempfile are only used for internal download, so move these two functions inside the ifdef Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Brazilian Portuguese translationArmando M. Baratti2009-08-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* French translation reformatDan McGee2009-08-01
| | | | | | | | 'make distcheck' had issues with this one and reformatted it. In addition, it found a fuzzy message which is now fixed due to an inadvertent msgid edit. Signed-off-by: Dan McGee <dan@archlinux.org>
* update english british translationJeff Bailes2009-07-31
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update hungarian translationNagy Gabor2009-07-30
| | | | | | | Thanks to Avramucz Peter <muczyjoe@gmail.com> for having translated all the scripts ! Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update simplified chinese translationLu Gan2009-07-30
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update russian translationSergey Tereschenko2009-07-30
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update ukrainian translationRoman Kyrylych (Роман Кирилич)2009-07-30
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update german translationMatthias Gorissen2009-07-29
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update Kazakh translationBaurzhan Muftakhidinov2009-07-29
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update romanian translationVolodia Macovei2009-07-29
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update polish translationMateusz Herych2009-07-29
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update turkish translationSamed Beyribey2009-07-29
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update czech translationVojtech Gondzala2009-07-29
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
* update spanish translationJuan Pablo Gonzalez Tognarelli2009-07-29
| | | | Signed-off-by: Xavier Chantry <shiningxc@gmail.com>