| Title: | Too much Unix code is dangerously copied and not shared. |
| Status: | open |
| Priority: | essential |
| Assigned user: | David Jones |
| Product: | mps |
| Organization: | Ravenbrook |
| Description: | Too much Unix code is dangerously copied and not shared. There are lots of almost the same files: prot*.c lock*.c vm*.c Maybe others. |
| Analysis: | Historically many Unixes were almost the same but not quite. In the 21st century those Unixes have either died, evolved into, or been replaced by Unixes that implement a common interface, usually some sort of POSIX interface or an evolution thereof. See what code can be shared across different unixes and share it. Use the platform code ix for implementations that are shared across more than one Unix-like operating system. 2007-03-09 DRJ: protix.c, protsgix.c now used on Intel Darwin and FreeBSD. protix.c now also used on Linux. protli.c removed. 2007-03-12 DRJ: lockix.c now used on Darwin and FreeBSD. lockfr.c removed. vmix.c now used on Darwin and FreeBSD. vmfr.c and vmxc.c removed. 2007-07-20 DRJ: vmix.c now used on Linux. vmli.c removed. |
| How found: | unknown |
| Observed in: | 1.107.0 |
| Introduced in: | 0.0.0 |
| Test procedure: | none |
| Created by: | David Jones |
| Created on: | 2007-03-09 09:29:15 |
| Last modified by: | David Jones |
| Last modified on: | 2007-07-20 19:23:00 |
| History: | 2007-03-09 DRJ Created. 2007-03-09 DRJ protix.c protsgix.c 2007-03-12 DRJ lockix.c 2007-03-12 DRJ vmix.c 2007-07-20 DRJ vmli.c removed |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 162974 | open | 2007-07-20 19:15:15 | David Jones | MPS: Linux: using vmix rather than vmli |
| 161967 | open | 2007-03-21 14:03:40 | Richard Kistruck | MPS: (xcpp) Replacing protxc.c with protix.c |
| 161918 | open | 2007-03-12 12:17:50 | David Jones | MPS: Replacing vmfr.c with vmix.c |
| 161917 | open | 2007-03-12 12:16:18 | David Jones | MPS: Replaced vmxc.c with vmix.c |
| 161916 | open | 2007-03-12 11:01:35 | David Jones | MPS: Replaced lockfr.c with lockix.c |
| 161909 | open | 2007-03-09 14:13:53 | David Jones | MPS: removing protli.c |
| 161906 | open | 2007-03-09 10:09:48 | David Jones | MPS: Using protix.c and protsgix.c on FreeBSD. |
Generated at 2008-11-21 23:16:12 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#430 $
Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may not duplicate or reproduce this document in any form without the express permission of the copyright holder.