Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 10 Jan 2005 15:45:20 -0800 From: Yitzchak Scott-Thoennes To: "Gerrit P. Haase" Cc: cygwin AT cygwin DOT com Subject: Re: atoi() missing on Win98, perl extension breaks Message-ID: <20050110234135.GA3704@efn.org> References: <41E2E111 DOT 5040701 AT iopan DOT gda DOT pl> <41E2E529 DOT 1020603 AT familiehaase DOT de> <41E2EBF1 DOT 8050108 AT iopan DOT gda DOT pl> <41E2ED4F DOT 6030901 AT familiehaase DOT de> <20050110210930 DOT GD3757 AT trixie DOT casa DOT cgf DOT cx> <41E2F203 DOT 2040400 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E2F203.2040400@familiehaase.de> User-Agent: Mutt/1.4.1i Organization: bs"d X-IsSubscribed: yes On Mon, Jan 10, 2005 at 10:22:11PM +0100, Gerrit P. Haase wrote: > Christopher Faylor wrote: > > >>>All I needed to trigger it was "perl -V". > >> > >>Hmmm, atoi() is not available on Win98/ME? Strange. > > > > > >Why would perl be finding atoi in ntdll.dll? It should be coming from > >the cygwin DLL shouldn't it? > > Yes, as it used to be, it is used all over the place in the perl > sources. I'm a little clueless now. Did you verify that it was Win32CORE at fault by trying a perl built without it? Perl itself doesn't use atoi, nor does Win32CORE.xs. I'm guessing Win32CORE is calling a win32 routine that isn't fully supported on win9x. One of: WideCharToMultiByte CloseHandle CopyFileA CreateProcessA FindClose FindFirstFileA FormatMessageA FreeLibrary GetComputerNameA GetCurrentDirectoryA GetDriveTypeA GetFullPathNameA GetLastError GetProcAddress GetShortPathNameA GetTickCount GetUserNameA GetVersionExA GetVolumeInformationA LoadLibraryA LookupAccountNameA SetLastError Sleep -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/