Commit graph

20 commits

Author SHA1 Message Date
Andrea Rogers
9aeaf911d4 Include string.h in hpwd.c 2024-06-28 20:55:30 -05:00
Andrea Rogers
ca23080bcb git: Ignore compiled output 2024-06-28 20:54:40 -05:00
Andrea Rogers
21d0d418e3 autoconf: Generate libhfs and librsrc Makefiles 2024-06-28 20:53:04 -05:00
Andrea Rogers
a288be6e3b git: Ignore config.h and config.status 2024-06-28 20:43:22 -05:00
Andrea Rogers
0e079e8ff0 automake: Create .stamp directory for reasons
Might rework in the future to get rid of silly hacky thing...
2024-06-28 20:36:11 -05:00
Andrea Rogers
d983eb6ee9 We configure.ac now 2024-06-28 20:28:42 -05:00
Andrea Rogers
8af7cee4a8 autoconf: rm AC_REQUIRE(AC_PROG_CC) and more warnings
We're getting closer to these macros actually working!! 😻

The generated ./configure now runs without any errors, but it looks like
it's time to set my sights on de-crustifying the Automake stuffs...
2024-06-28 20:17:54 -05:00
Andrea Rogers
d588aca777 README: We markdown now 2024-06-23 07:34:43 -05:00
Andrea Rogers
678ca78131 Added Git ignore file
Note this probably isn't an all-inclusive list, as I still have yet to
autoreconfig to working "./configure" glory.  More patches incoming...
2024-06-23 07:20:52 -05:00
Andrea Rogers
55c7d8a76f configure.ac: Trad is bad 2024-06-23 07:19:15 -05:00
Andrea Rogers
14f09fbfa2 rm all config.h.in files, rm configure.ac cruft 2024-06-23 07:03:37 -05:00
Andrea Rogers
32f605347a configure belongs in tarball src dists, not VCS 2024-06-23 06:30:24 -05:00
Andrea Rogers
2da4aa5692 autoconf: Ran autoupdate and moved .in to .ac 2024-06-23 06:27:17 -05:00
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ]
263327c7cd
Merge pull request #2 from dcoshea/tcl-alloc-free
xhfs: Use Tcl_Alloc()/Tcl_Free() as required when interacting with Tcl.

Signed-of-by: Pablo Lezaeta
Signed-of-by: dcochea
2018-01-18 01:36:18 -03:00
David O'Shea
e62ea3c5ac xhfs: Use Tcl_Alloc()/Tcl_Free() as required when interacting with Tcl.
On CentOS 7 with tcl-8.5.13-8, xhfs failed with SIGABRT in a number of
code paths, including cases where free() was called and eventually
resulted in munmap_chunk() reporting e.g.:

    munmap_chunk(): invalid pointer: 0x000000000089df40 ***

and cases where Tcl_Free() was called (presumably internally by Tcl)
and eventually resulted in Tcl_Panic() being called and reporting
e.g.:

    alloc: invalid block: 0xb9ce00: 95 8

The failures when calling free() were due to attempts to free memory
that was allocated using Tcl_Alloc() and similar functions (possibly
via other Tcl calls), so this fix replaces some calls to free() with
calls to Tcl_Free().

The failures when calling Tcl_Free() were due to Tcl calling that
function for memory that was passed to it via Tcl_SetResult(..., ...,
TCL_DYNAMIC) when that memory had been allocated using malloc() or
similar functions, so this fix replaces a call to ALLOC() with a call
to Tcl_Alloc(), and copies the malloc()'d buffer returned by
cs_macroman() or cs_latin1() into a Tcl_Alloc()'d buffer.
2018-01-11 20:41:34 +10:30
Pablo Lezaeta Reyes
b6df6a4599
Fixed compilation with tcl-8.6+
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2017-09-27 00:18:41 -03:00
Pablo Lezaeta Reyes
45b8c14fd1
Add support for files larger than 2 GB, like any dvd image
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2017-09-27 00:18:10 -03:00
Pablo Lezaeta Reyes
81a6c106d4
Fix the errno issue on glibc-2.3.2+
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2017-09-27 00:17:37 -03:00
Pablo Lezaeta Reyes
ca2d077127
Fixed Makefile patch
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2017-09-27 00:16:42 -03:00
Pablo Lezaeta Reyes
60d1b2c293
Initial import from https://www.mars.org/home/rob/proj/hfs/
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2017-09-27 00:10:03 -03:00