- 17 Apr, 2001 1 commit
-
-
Stewart Brodie authored
Initialised so_far in stdio.c to remove compiler warning. Admin: Built. strcmptest() still indicates that strcmp() is working OK! Version 5.32. Tagged as 'RISC_OSLib-5_32'
-
- 11 Apr, 2001 1 commit
-
-
Stewart Brodie authored
Detail: This alternate implementation returned non-zero for equal strings, because the tidyup routine failed to stop examining the differing words when it found matching zero bytes. Admin: Tested in softload C library, and in Lazarus ROM image. strcmp() appears to be working per spec now. Version 5.31. Tagged as 'RISC_OSLib-5_31'
-
- 06 Apr, 2001 1 commit
-
-
Stewart Brodie authored
Fix for RISC_OSLib res() function. Detail: Version 4.89 featured an improved strcmp() routine that didn't actually work properly (bug #4085). The return values had the wrong sign if this optimised code was used and the string contained top-bit set chars. Removed that rlib.s.asmdefs hack as the comment in the makefile suggested. Nothing needs it any more as the assembler sources that require it now get via a -PD argument. res_ prefix function was still wrong as it failed to detect valid but wrong filenames, hence the "Make$Path not defined" errors in the latest tools release. Admin: Fixes Bugzilla bug #4085 Should fix BaseSW's build problems too. Version 5.29. Tagged as 'RISC_OSLib-5_29'
-
- 22 Feb, 2001 1 commit
-
-
Stewart Brodie authored
Another getenv() bug fixed. Detail: stdio.c contains a vastly improved implementation of fwrite. hostsys.h declares _terminate_getenv to remove build warnings. armsys.c contains fix to getenv() to stop Omni dying. Admin: Tested on desktop machine for over a week without incident, including several heavy fwrite users (WebServe, C compiler) fwrite change is documented in Doc/fwrite getenv() bug is Bugzilla bug #28 Version 5.27. Tagged as 'RISC_OSLib-5_27'
-
- 19 Oct, 2000 1 commit
-
-
Paul Skirrow authored
OS_ReadVarVal. Detail: getenv calls OS_ReadVarVal to read a system variable into a buffer. If the buffer is not big enough it increases the size of the buffer by 256 bytes and tries again. However, the first time it was called, it would have no buffer and would call OS_ReadVarVal with r2=-1. The PRM says this "may" return an error which should be ignored, but if it did not return an error then getenv would not allocate a buffer and the call would fail. This change allocates a 256 byte buffer before OS_ReadVarVal is called. Admin: Untested. Version 5.20. Tagged as 'RISC_OSLib-5_20'
-
- 03 Oct, 2000 1 commit
-
-
Kevin Bracey authored
Version 5.17. Tagged as 'RISC_OSLib-5_17'
-
- 02 Oct, 2000 2 commits
-
-
Stewart Brodie authored
Fixed bug in getenv() relating to macro and numeric system variables. Detail: Uses SYMDEFS file to avoid messing around with generating little text files, generating assembler source, assembling it etc. abssym et al are construct as symbol definition template files and then updated directly by the linker ready for export. The linker can use these files directly without needing them to be assembled into AOF format. Fixed getenv so that it can read macro and numeric variables. With these variable types, R2 does not equal -length of the variable value, so trying to obtain a variable with a larger value than any previously read variable would fail. This is now fixed. This module will refuse to build without link 5.19 or later. Admin: Requires Library 0.54 or later. This component will not build with Library 0.53 or earlier. Version 5.16. Tagged as 'RISC_OSLib-5_16'
-
Kevin Bracey authored
* Correction to static base location in modulewrap - was affecting some DSL 4000 video software. Version 5.15. Tagged as 'RISC_OSLib-5_15'
-
- 14 Sep, 2000 1 commit
-
-
Stewart Brodie authored
Detail: %#x shows a leading 0x (and %#X leads with 0X) only when the value to be displayed is NOT zero. Admin: Cross-verified against: C89 standard; C9X standard; gcc 2.95 implementation. Built. Version 5.14. Tagged as 'RISC_OSLib-5_14'
-
- 09 May, 2000 1 commit
-
-
Kevin Bracey authored
Version 5.06. Tagged as 'RISC_OSLib-5_06'
-
- 07 Mar, 2000 1 commit
-
-
Kevin Bracey authored
This is the standard RISC OS convention (cf OS_NewLine) - some apps assume it when redirecting output. Version 5.02. Tagged as 'RISC_OSLib-5_02'
-
- 22 Sep, 1999 1 commit
-
-
Stewart Brodie authored
Detail: Somebody had modified the SWI call to Territory_Collate to be done via _swix instead of _kernel_swi, but didn't remove the _kernel_swi_regs variable (r) and didn't change the function return value to return the new "ret" variable instead of r.r[0] which gives arbitrary results - in particular it confuses qsort. Admin: Tested that it builds. Version 4.97. Tagged as 'RISC_OSLib-4_97'
-
- 21 Sep, 1999 1 commit
-
-
Stewart Brodie authored
Detail: If qsort is passed an invalid base pointer and the number of entries is zero, then due to some pointer artihmetic going wrong, it aborts. The fix is to trap zero length arrays and exit quickly. Admin: Required by cmhg prior to version 5.20 which had an explicit fix to prevent triggering this bug. Reportedly this fix is required by PhotoDesk prior to version 3.03. Version 4.96. Tagged as 'RISC_OSLib-4_96'
-
- 01 Oct, 1998 1 commit
-
-
Kevin Bracey authored
StrongARMfudge flag removed. StrongARM compatibility set according to AMBKernel flag in Hdr:RISCOS strftime %U and %W specifiers fixed for week 0. Version 4.89. Tagged as 'RISC_OSLib-4_89'
-
- 27 Aug, 1998 1 commit
-
-
Simon Middleton authored
Merged Spinner branch changes onto trunk (new RCA messages files and Makefile changes). Convert to srccommit while we're at it. Removed a few $Revision's to prevent future spurious merge clashes. Version 4.87. Tagged as 'RISC_OSLib-4_87'
-
- 21 Aug, 1998 1 commit
-
-
Richard Manby authored
If a module written in C uses function getenv, buffer space is allocated in the RMA. This buffer was never freed, leading to RMA leakage when the module was 'RMKill'ed or 'RMReInit'ed. Changes c.armsys added function _terminate_getenv to free the buffer c.stdlib added flag getenv_finalised to the exit_s structure initialised getenv_finalised in function _exit_init atexit tests getenv_finalised, calls _terminate_getenv s.version version string changed to 4.86 (27 Jul 1998)
-
- 21 Jan, 1997 1 commit
-
-
Neil Turton authored
-
- 05 Nov, 1996 2 commits
-
-
Neil Turton authored
-
Neil Turton authored
-