RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Previous|Next

  • Tickets
  • » Ticket #297

Ticket #297 (Fixed)Wed Aug 10 15:12:15 UTC 2011

Bad SWI call in CLXLite

Reported by: hilltop (573) Severity: Normal
Part: RISC OS: C/C++ toolchain Release:
Milestone: Status Fixed

Details by hilltop (573):

In file:castle/RiscOS/Sources/Lib/CLXLite/c/wholefls

Line 94, function wf_save:

<pre>err = swix(OSFile, _INR(0,2) | _INR(4,5),
10, filename, 0xFFD, buf, bufsz);</pre>

should be something like:

<pre>err = swix(OSFile, _INR(0,2) | _INR(4,5),
10, filename, 0xFFD, buf, (int32)buf + bufsz);</pre>

This is because OS_File 0,10 take start, end address, not start, length.
(Assigned to toolchain becaused used by modsqz.)

Changelog:

Modified by Jeffrey Lee (213) Wed, August 10 2011 - 23:04:11 GMT

  • Status changed from Open to Fixed

Well spotted! I vaguely recall ROOL commenting about something going wrong when they tried building some tools with CLXLite, maybe this was the issue.

  • Comment on, or change status of, this ticket

Previous|Next

Search tickets

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Options

  • Tickets
  • New ticket
  • Milestones
  • Subversion: Changesets
  • Subversion: Browse
  • CVS: Revisions
  • CVS: Browse
  • Search

RSS feeds Rss

  • Tickets
  • Everything!
  • More feeds...
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Collaboa theme is distantly based on the Collaboa default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Collaboa
This site runs on Rails

Hosted by Arachsys