mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	remove Linux check around XML::Simple::PREFERRED_PARSER
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -23,9 +23,7 @@ my %mm_comm_pids; | ||||
| #a 'browser' for http actions | ||||
| my $browser; | ||||
| use XML::Simple; | ||||
| if ($^O =~ /^linux/i) { | ||||
|  $XML::Simple::PREFERRED_PARSER='XML::Parser'; | ||||
| } | ||||
| $XML::Simple::PREFERRED_PARSER='XML::Parser'; | ||||
| use Data::Dumper; | ||||
| use POSIX "WNOHANG"; | ||||
| use Storable qw(freeze thaw); | ||||
|   | ||||
| @@ -9,9 +9,7 @@ use Storable qw(freeze thaw); | ||||
| use Time::HiRes qw(gettimeofday); | ||||
| use IO::Select; | ||||
| use XML::Simple; | ||||
| if ($^O =~ /^linux/i) { | ||||
|  $XML::Simple::PREFERRED_PARSER='XML::Parser'; | ||||
| } | ||||
| $XML::Simple::PREFERRED_PARSER='XML::Parser'; | ||||
| use xCAT::PPCdb; | ||||
|  | ||||
| require xCAT::MacMap; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user