New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forking on Tru64 (alpha-dec-osf) #2096
Comments
From nwhite@incyte.comHello, http://x29.deja.com/[ST_rn=ps]/getdoc.xp?AN=616626501&CONTEXT=957551601.942669865&hitnum=1 http://x29.deja.com/[ST_rn=ps]/getdoc.xp?AN=618007855&CONTEXT=957551601.942669865&hitnum=0 If the links do not work, I've appended a copy below. Many thanks in advance for any guidance. ***************MESSAGE 1************************ I'm having some difficulty using fork with open filehandles #!/usr/local/bin/perl -w open( FILE, "file" ) or die "Couldn't open file\n"; while( <FILE> ){ where "file" is Now, on a linux machine running perl 5.005_03 for i386-linux, the On an OSF1 v4.0 1229 alpha running perl 5.005_03 for alpha-dec_osf, I This program illustrates how the filehandle gets confused Is this a bug with 5.005_03 for alpha-dec_osf? My apologizes if this question has been answered recently. 385089536&hitnum=75 Regards, |
From nwhite@incyte.comThis is a bug report for perl from nwhite@incyte.com, There seems to be a problem with open filehandles getting #!/usr/local/bin/perl -w open( FILE, "file" ) or die "Couldn't open file\n"; while( <FILE> ){ sleep 2; File "file" contains: The output should be: The output is: Site configuration information for perl 5.00503: Configured by root at Fri Aug 6 17:00:28 PDT 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Locally applied patches: @INC for perl 5.00503: Environment for perl 5.00503: |
From [Unknown Contact. See original ticket]At 17:47 -0700 2000-06-15, Neill White wrote:
Wow. That's really odd. There have been similar bug reports for A few questions: 1. Is output the same whether STDERR is directed to a terminal 2. Does replacing sleep 2 in your program with the (more 3. How does the corresponding C program behave on the Alpha and on int if ((f = fopen("file", "r")) == NULL) { while(fgets(b, sizeof b, f) != NULL) { 4. Does wait() instead of sleep(2) in the C code change things? 5. Does perl 5.6.0 change/eliminate the symptoms? |
From @ysthIn article <p04320400b56f95025ade@[192.168.1.4]>,
I see this problem on os2 5.6.0. The C program also fails, with |
From [Unknown Contact. See original ticket]At 02:16 -0700 2000-06-18, Yitzchak Scott-Thoennes wrote:
Hmmm. May be a different problem. Are the failure symptoms of the |
From @ysthIn article <p04320400b573c51b5032@[192.168.1.4]>,
Yes.
Sadly, README.os2 (aka perlos2.pod) is out of date. The problem it |
From [Unknown Contact. See original ticket]Apologies for the hand-washing tone of what follows... At 20:27 -0700 2000-06-19, Yitzchak Scott-Thoennes wrote:
Well, I think we've reached the stage where someone who can see the
Oh dear. As I don't run OS/2, and as quite a lot of the README is |
From @ysthI'm resending this, since I don't see it in my perl5-porters spool. In article <p04320401b57637341967@[192.168.1.4]>,
It's been on my list to look at doing for a long time now. A number |
From @smpeters
I've been able to replicate the above problem on Tru64, in the Perl |
From perl@franz-fischer.deHello, I came across this bug while debugging a foomatic-filters standalone After some further testing with the attached forktest.c program - The effect of getting duplicate input is present in - The effect is not perl specific, as the test with the C - The effect happens only with seekable input: - The effect seems to be caused by the child process - The effect is also present on HP-UX B.11.11, |
From perl@franz-fischer.deSome additional info regarding my previous comment: - HP-UX is somewhat different: Input duplication seems to happen - The fgetpos / fsetpos pair does not help on Tru64 V5.1B-3 |
From [Unknown Contact. See original ticket]Some additional info regarding my previous comment: - HP-UX is somewhat different: Input duplication seems to happen - The fgetpos / fsetpos pair does not help on Tru64 V5.1B-3 |
Given the reporter can no longer be reached by email and the hp problem is different I am going to close this. If new information can be provided we can open a new ticket |
Migrated from rt.perl.org#3387 (status was 'open')
Searchable as RT3387$
The text was updated successfully, but these errors were encountered: