Commit Graph

10 Commits

Author SHA1 Message Date
Andy McFadden 7c637c4e6d Fix MakeDisk utility
This addresses two issues: (1) failing to check for regular files;
(2) failing to test for files larger than 2GB.

(issue #44)
2020-11-07 09:17:14 -08:00
boblaublaw 654f0e64b9 removing ifdef, including time.h is fine 2015-08-03 18:14:13 -07:00
boblaublaw 5d1eb055da the only fix needed for OS X support 2015-08-02 20:35:24 -07:00
Andy McFadden 1362c73a7e Gutenberg tweaks
Changed the catalog scan offset so we don't overrun the buffer.

Changed a strcpy() to strncpy().

Added Gutenberg to the list of formats MDC outputs.
2015-01-09 18:24:09 -08:00
Andy McFadden 090797a76f Change tabs to spaces, use Linux EOL
No substantative changes (unless the tabs-to-spaces messed
something up).
2015-01-09 17:52:16 -08:00
Andy McFadden 683eb05a82 Change sprintf() to snprintf() 2015-01-09 17:49:27 -08:00
Andy McFadden b97584eeb6 Update Linux build
Fix some %ld message in log messages, and update the Linux sample
code to match recent changes in NufxLib and DiskImgLib.

Also, bump MDC version to 3.0.0 to match Windows version.
2015-01-08 18:27:09 -08:00
Andy McFadden 8e910b23ca gcc/linux updates
Many updates to format strings, largely as a result of changing
various "long" variables to uint32_t.

Fixed the diskimg debug macros for gcc, which requires an extra
"##" to remove the "," when there are no arguments.  (Apparently
Visual Studio just strips this away for you.)

Stripped out a couple of dead variables spotted by gcc.  Return
the actual error in a couple of HFS file functions.
2014-12-11 16:36:40 -08:00
Andy McFadden e390a98ab8 Make gcc happy.
Remove carriage returns from linux makefiles.
Remove vestigal dependency info from libhfs makefile.
2009-01-03 19:08:48 +00:00
Andy McFadden 0d7d1b67e0 initial import 2007-03-27 17:47:10 +00:00