in reply to HPUX corruption of file handle after fork
I think the file position keeps flipping back, because I see the message to STDERR report early blocks repeatedly.
Are you sure they're being reported repeatedly, or just somewhat out of order (which would be the expected behaviour due to runtime differences of the forked processes)?.
I just tried it (with a simple test file containing dummy SQL_REPORT_ID sections) on HP-UX 11.00, 11.11 and 11.23 with Perl 5.8.4 and 5.8.8, and I'm unable to reproduce the problem you describe. I.e., the proper $Sql content, $ReportId etc. are reported once each, as expected.
Are you doing anything else in the forked processes than what you've shown in the snippet above, or should that in fact already exhibit the problem?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HPUX corruption of file handle after fork
by Abe (Acolyte) on Dec 10, 2007 at 17:07 UTC | |
by almut (Canon) on Dec 10, 2007 at 17:32 UTC | |
by Abe (Acolyte) on Dec 10, 2007 at 17:45 UTC | |
by sgt (Deacon) on Dec 10, 2007 at 22:50 UTC | |
by Abe (Acolyte) on Jan 31, 2008 at 16:57 UTC |