From 9abff068b1bdc9db9eeb53745d652c9553c3e664 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 16 Jan 2008 02:44:34 +0000 Subject: [PATCH] Fix CSV parse error where was not interpreted correctly git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/plugins/tabutils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm b/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm index b5c884fea..9aeee066d 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm @@ -189,8 +189,8 @@ sub tabrestore { } my $offset=1; my $nextchar; - my $ent = ""; - while ($ent eq "") { + my $ent; + while (not defined $ent) { $offset = index($line,'"',$offset); $offset++; if ($offset <=0) {