From 1f9a36de6828b87ba9d7dedcae2de6092eed4f41 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Thu, 12 Jan 2012 14:33:29 +0200 Subject: db: support line feed as 'world' dependency separator * default writing the world with spaces if a space is found (for backwards compatibility) for now --- src/lua-apk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua-apk.c') diff --git a/src/lua-apk.c b/src/lua-apk.c index e41e785..6fbd1cf 100644 --- a/src/lua-apk.c +++ b/src/lua-apk.c @@ -208,7 +208,7 @@ static int Papk_exists(lua_State *L) apk_blob_t blob = APK_BLOB_STR(depstr); apk_blob_pull_dep(&blob, db, &dep); - if (APK_BLOB_IS_NULL(blob)) + if (APK_BLOB_IS_NULL(blob) || b.len > 0) goto ret_nil; name = dep.name; -- cgit v1.2.3-60-g2f50