mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-13 09:50:19 +00:00
-Support utf-8 on output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -6516,6 +6516,8 @@ sub process_request {
|
||||
socketpair($pfd, $cfd,AF_UNIX,SOCK_STREAM,PF_UNSPEC) or die "socketpair: $!";
|
||||
$cfd->autoflush(1);
|
||||
$pfd->autoflush(1);
|
||||
binmode($cfd,':utf8');
|
||||
binmode($pfd,':utf8');
|
||||
my $child = xCAT::Utils->xfork();
|
||||
unless (defined $child) { die "Fork failed" };
|
||||
if ($child == 0) {
|
||||
|
Reference in New Issue
Block a user