[rhel6-branch] check if stdout and stderr are the same strings in execWithRedirect (#750710)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As commented in the bug (https://bugzilla.redhat.com/show_bug.cgi?id=750710):
We have to check if stdout and stderr are the same in execWithRedirect() because if they are the same we
should open the file only once and have the same file descriptor for both stdout and stderr. Opening the file
twice (thus having two file descriptors) causes rewrites and inconsistency in the file.

--
Vratislav Podzimek

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux