[pacman-dev] [PATCH] strncpy() fix in pacman/download.c
VMiklos
vmiklos at frugalware.org
Sat Dec 17 18:07:39 EST 2005
hi
original result:
$ sudo pacman -Sy
:: Synchronizing package databases...
vmiklos [----------------] 100% 3K 19.7K/s 00:00:00
frugalware-current [/home/ftp/pub/frugalware/frugalwaan/vmiklos/xscorch-0.2.0-1/changelog] 100% LOCAL
extra-current [/home/ftp/pub/frugalware/frugalwaan/frugalware-current/zsh-4.2.6-1/changelog] 100% LOCAL
expected result:
$ sudo pacman -Sy
:: Synchronizing package databases...
vmiklos [----------------] 100% 3K 22.7K/s 00:00:00
frugalware-current [/home/ftp/pub/frugalware/frugalw] 100% LOCAL
extra-current [/home/ftp/pub/frugalware/frugalw] 100% LOCAL
the STRNCPY macro in liblapm is for this, but we don't have such in
pacman. so i added it to util.h + changed download.c to use the macro
http://frugalware.org/~vmiklos/patches/libpacman-proposed/pacman_strncpy_macro.diff
udv / greetings,
VMiklos
--
Developer of Frugalware Linux, to make things frugal - http://frugalware.org
More information about the pacman-dev
mailing list