16 Jul
2008
16 Jul
'08
2:03 p.m.
From c44fec0058d8a69d29eeb947698bfaf165a6a080 Mon Sep 17 00:00:00 2001 From: Nagy Gabor <ngaba@bibl.u-szeged.hu> Date: Wed, 16 Jul 2008 15:57:08 +0200 Subject: [PATCH] alpm_list_remove treat NULL needle as "nothing"
So if you want to remove NULL needle from a list, alpm_list_remove will return with "not found".
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
After this patch my previous "fix segfault" patch is not needed. But if you like "safe programming", you will like that patch too. Bye