View Issue Details

IDProjectCategoryView StatusLast Update
0000585fileGeneralpublic2024-12-08 18:59
ReporterAnton Monroe Assigned Tochristos  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
OSOS/2 
Product Version5.46 
Fixed in VersionHEAD 
Summary0000585: File 5.46 will not compile on OS/2
DescriptionI am compileing file 5.46 on OS/2, but am slightly handicapped by not knowing much about C.

In older versions of src/funcs.c, file_os2_apptype was called with
    m = file_os2_apptype(ms, inname, buf, nb);
Starting with version 5.33, it was changed to
    m = file_os2_apptype(ms, inname, &b);
which won't compile because it has the wrong number of arguments

If I simply replace that line with the old version, file 5.46 compiles and runs
as expected. So was that change an accident or is there something going on that
I don't understand?

(Well, it wasn't quite that simple; I had to edit the libtool script by hand.
Also tests/Makefile.)
TagsNo tags attached.

Activities

christos

2024-12-08 18:59

manager   ~0004124

Fixed, thanks

Issue History

Date Modified Username Field Change
2024-12-08 09:49 Anton Monroe New Issue
2024-12-08 18:59 christos Assigned To => christos
2024-12-08 18:59 christos Status new => assigned
2024-12-08 18:59 christos Status assigned => resolved
2024-12-08 18:59 christos Resolution open => fixed
2024-12-08 18:59 christos Fixed in Version => HEAD
2024-12-08 18:59 christos Note Added: 0004124