The reason we have a fork is because padre.exe doesn't currently set up a STDIN/STDOUT/STDERR that matches that of "normal" Perl. As a result, things like IPC::Run3 and many other system()-like things that expect to temporarily hijack fd(0) etc and move it around fail (because that filehandle doesn't exist, or isn't the same).
The fork we have implements a different method of calling the underlying scripts, and will only need to survive until we are absolutely sure that padre.exe replicates a normal STD* setup. ::Migrate is also fairly mature at this point, most of the changes at the moment in the ORLite family are happening in the core ORLite.pm distribution, which we don't inline. In this particular case, the inlining shouldn't be a big problem. Adam K On 1 April 2010 02:17, Damyan Ivanov <[email protected]> wrote: > Hi, > > Since 0.50, Padre includes a fork of ORLite::Migrate as > Padre::DB::Migrate. Quite some time passed and the fork is still > there. What is the perspective of using the 'main' ORLite::Migrate > again? > > I ask this because code duplication can increase downstream > maintenance cost when a bad bug (for example a security-related one) > needs to be fixed in multiple places. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iQIcBAEBCAAGBQJLs2elAAoJEOQbTFV/DYC+68MP+gK3X9GzGg3/0wGiLG/rzADj > MC0KHEekuIEW9NIpZsPCtS1cIAOmOSqdE6xuhfVmaUmQhyx1IYNmhSiqz+xgU7dM > EIIwjYJDOlZ6enbl6wYRefKNkXgoYvkJCg54nVXIyEkty74qTpTum72le4uiVq6V > nHzsbHKKIrPxqhakkVV+u02tYONEp+3byTwu0ShXb11Jdx16cm49UXoD3y3qYm2j > jcB36V5MC0uGy4/RUtgH1JJ+cexNBr9vAdLCzHIaCUEY2q4ZuE8J8eLCbccBebE/ > lDXMQyhYY/bDnqOX0ntDQTaRIsbdKalRXy/o2936cupO0VcmrI63HjxwJz7Wfuq5 > pzYb8tykgru9/GQhKfOHoZGFpP3/AbTawIpp9vaSdKJ9b9dRue/aPbJHXdvU2MiN > AvuO8NFWq3XLTh6sBAC3vgx24rhjaACEZudaqQHsPExrfaCuB55BUs5w/WWjjcKQ > r7ascspCr9i9Q9JqwMBAjcRfG/l6deA/wTFwzaDsyvH3yAXKuSky7u3KckgiooYe > /3lySrkRn4wR+/B80Il41sJD7eimbcywZzlYIwrMR5wVOmrkh9F10DKmps7onSmp > SDJVNcJxIUbOBe8XvrGyDxlMO90A8NocVyQPfjbOsNKqyJGUnXZ7+bkuLHfZxZw0 > j4oKKistvQoBTcfgSINs > =+/hH > -----END PGP SIGNATURE----- > > _______________________________________________ > Padre-dev mailing list > [email protected] > http://mail.perlide.org/mailman/listinfo/padre-dev > > _______________________________________________ Padre-dev mailing list [email protected] http://mail.perlide.org/mailman/listinfo/padre-dev
