mark mielke aanmmarkmielkecc 32bit stdio solaris doesnt support 256 file descriptors either compile 64bit believe libca work around reenable case isnt perl limitation cheers mark robert martinlegène via rt wrote new ticket created robert martinlegène please include string perl 46749 subject line future correspondence issue bug report perl aydalxmartinlegenedk generated help perlbug 134 running perl v580 please enter report seemingly solaris 7 sparc solaris 9 sparc solaris 10 intel cant get perl return file number 256 truss shows file descriptor 255 returned script supposed 256 immediately closed perl undef returned opendevnull o_rdonly 255 fstat255 0x0010f9d8 0 fcntl255 f_setfd 0x00000001 0 got fileno 255 write1 j u g f l 20 20 opendevnull o_rdonly 256 close256 0 getcontext0xffbfed58 getcontext0xffbfebf8 opendevnull o_rdonly 256 close256 0 perls open b0rken many open files stopped 256pl line 18 write2 p e r l p e n 75 75 ulimit n 1234 256pl got fileno 252 got fileno 253 got fileno 254 got fileno 255 perls open b0rken many open files stopped 256pl line 18 cat 256pl usrbinperl w use strict use warnings use iofile 1 fh new iofiledevnull fh printf got fileno dn fhfileno push fh exit fhfileno 1029 else last open haha devnull die perls open b0rken stopped extra open make sure fault iofile os issue works c cat 256c include include include include main int fh 1 fh opendevnull o_rdonly fh 1 perroropen exit1 printfjust got fileno dn fh fh 1030 exit0 aydalxthunder 0 make 256 gcc 256c 256 256tail 2 got fileno 1030 got fileno 1031 please change anything line flags categorycore severityhigh site configuration information perl v580 configured haarbo sun jan 19 133331 cet 2003 summary perl5 revision 50 version 8 subversion 0 configuration platform osnamesolaris osvers29 archnamesun4solaris unamesunos thunder 59 generic_11223303 sun4u sparc sunwsunfire280r config_argsdccgcc hintrecommended useposixtrue d_sigactiondefine usethreadsundef use5005threadsundef useithreadsundef usemultiplicityundef useperliodefine d_sfioundef uselargefilesundef usesocksundef use64bitintundef use64bitallundef uselongdoubleundef usemymallocn bincompat5005undef compiler ccgcc ccflags fnostrictaliasing optimizeo cppflagsfnostrictaliasing ccversion gccversion321 gccosandverssolaris29 intsize4 longsize4 ptrsize4 doublesize8 byteorder4321 d_longlongdefine longlongsize8 d_longdbldefine longdblsize16 ivtypelong ivsize4 nvtypedouble nvsize8 off_toff_t lseeksize4 alignbytes8 prototypedefine linker libraries ldgcc ldflags lusrlocallib libpthusrlocallib usrlib usrccslib libslsocket lnsl ldl lm lc perllibslsocket lnsl ldl lm lc libc soso useshrplibfalse libperllibperla gnulibc_version dynamic linking dlsrcdl_dlopenxs dlextso d_dlsymunundef ccdlflags cccdlflagsfpic lddlflagsg lusrlocallib locally applied patches inc perl v580 usrlocallibperl5580sun4solaris usrlocallibperl5580 usrlocallibperl5site_perl580sun4solaris usrlocallibperl5site_perl580 usrlocallibperl5site_perl environment perl v580 homehomerobert lang unset language unset lc_ctypeiso_8859_1 ld_library_path unset logdir unset pathhomerobertbinusrlocalbinhomerobertbinusrlocalbinusrbinbinusrsbinsbinusrlocalbinusrlocalsbinusrlocalbinusrbinusrccsbinusrucbusrsbinoptgnubinusrlocalsslusrlocalsslbinusrlocalmysqlbinoptsunwpprobinusrsadmbinusrlocalperlusrlocalpimbinusropenwinbinusrlocalsbinusrlocalbinusrbinusrccsbinusrucbusrsbinoptgnubinusrlocalsslusrlocalsslbinusrlocalmysqlbinoptsunwpprobinusrsadmbinusrlocalperlusrlocalpimbinusropenwinbin perl_badlang unset shellusrlocalbinbash mark mielke wed 06 aug 2008 195622 0400 perl 46749 cant open 256 files solaris