Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ogicse!cvedc!gssc!timr From: timr@gssc.UUCP (Tim Roberts) Newsgroups: comp.lang.perl Subject: Possible bug in MS-DOS Perl pl41? Keywords: msdos perl bug Message-ID: <6504@gssc.UUCP> Date: 23 Jan 91 17:19:57 GMT References: <119440@uunet.UU.NET> <1991Jan22.054732.14797@convex.com> <119542@uunet.UU.NET> Organization: Graphic Software Systems, Inc. Beaverton, Or. Lines: 29 I am encountering what I believe to be a bug in the MS-DOS port of Perl at patch level 41, with header "perly.c,v 3.0.1.9 90/11/10 01:53:26". Before I really dig in to investigate, however, I want to check to see if anyone else has encountered this problem. Occasionally while reading data files, my scripts see repeated or missing characters. It happens during the read; if I put a "print" immediately after the "while () {", I see the bad data. Here is a sample of what I see: Actual data: io16 aee8 = 1111 # This should cause another interrupt My script sees: ioio16 aee8 = 1111 # This should cause another ierrupt It's almost as if a strncpy or memmove were being done in the middle of the input buffer. Has anyone else seen any unexplained character duplications? I have not yet tried to isolate this down to the minimum script necessary to duplicate, but if I don't get any responses, I will do so. -- timr@gssc.gss.com Tim N Roberts, CCP Graphic Software Systems Beaverton, OR Zen Master to hot dog vendor: "Make me one with everything."