On Wed, Sep 29, 2010 at 3:43 AM, Dimitry Andric <dim_at_freebsd.org> wrote: > On 2010-09-29 02:28, Derek Tattersall wrote: >> >> A test shell script using mktemp (1) works fine on current built with >> clang today. The clang case produces a filename with all "A"'s rather >> than the random letters expected. > > I cannot reproduce this on a system compiled entirely with clang: > > $ mktemp foo.XXXXXX > foo.MyUM5k > $ mktemp foo.XXXXXX > foo.YidMeT > $ mktemp foo.XXXXXX > foo.L27Cfz > $ mktemp foo.XXXXXX > foo.k3haLx > > ... and so on. Can you post that test script, please? > I'm using perl 5.12.2_2 and this is the code to reproduce the problem. I didn't tested with other perl versions because it's a hard task to move to another perl. #!/usr/bin/perl use File::Temp; my ( $fh, $filename ) = File::Temp::tempfile(); print "$filename\n"; -- Renato BotelhoReceived on Wed Sep 29 2010 - 09:24:05 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC