diff options
author | Laszlo Papp <djszapi@archlinux.us> | 2009-10-17 23:12:19 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-10-19 14:37:53 +0200 |
commit | 4281a1a7f2d24cfcf0997122cc75c216a17f3e5b (patch) | |
tree | 3d752f02c3c1ad8189c911fab0c2e84ad9fdcce2 /lib/libalpm/db.c | |
parent | f9582c7df223e1eb4078e6db4e2d35dc0f2bf9be (diff) | |
download | pacman-4281a1a7f2d24cfcf0997122cc75c216a17f3e5b.tar.gz pacman-4281a1a7f2d24cfcf0997122cc75c216a17f3e5b.tar.xz |
Size handling was changed in fgets() functions
Pacman's fgets function in the API used hardcoded numbers to identify the size.
This is not good practice, so replace them with sizeof handling.
Signed-off-by: Laszlo Papp <djszapi@archlinux.us>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions