21a339880d
Gentoo bugzilla - http://bugs.gentoo.org/show_bug.cgi?id=270372. This makes it compile on Linux glibc-2.10 and other systems (also DragonFly). cdrkit (1.1.9) * wodim: In -msinfo mode, only suggest dvd+rw-mediainfo in verbose mode. Thanks to Michael Karcher <debian@mkarcher.dialup.fu-berlin.de> for the patch. * genisoimage: undo a mistake in the directory permissions change in the last release. Fixes handling of deep directory structures. cdrkit (1.1.8) * genisoimage/joliet.c: Fix a potential memory corruption bug. * genisoimage/md5.c: Trivial cleanup * genisoimage/genisoimage.[c1]: Add command-line support for -jigdo-template-compress * genisoimage/sha1.h: Fix a type issue that broke sha1 support on 64-bit arches. * genisoimage/checksum.[ch]: Added test code; changed internal layout slightly to make for easier debug. * genisoimage: Applied patch from Roman Rakus <rrakus@redhat.com> to preserve directory permissions. * genisoimage: Add a patch from Ivan Shmakov. "-o -" will now write to stdout, as typical for command line programs. And we will try not to corrupt stdout by default if it's a terminal. * genisoimage/genisoimage.1: Add a mention of -chrp-boot. * genisoimage/mac_label.c: Fix an over-keen s/mkisofs/genisoimage. cdrkit (1.1.7.1) * Re-spin the 1.1.7 release with a few silly release process errors fixed. cdrkit (1.1.7) * lots of fixes to prevent gcc warnings * Fix for Joliet directory length bug in genisoimage * wodim.1: small fixes. * genisoimage/jte.c: add support for bzip2-compressed templates * genisoimage/jte.c: fix bzip2-compressed template data to be compatible with jigdo. * genisoimage/jte.c: fix exclude list handling. * genisoimage/checksum.[ch]: Add a generic infrastructure for checksums so we can use sha1/<whatever> as well as just md5sum. Will make things much faster for generating sha1sums for images and jigdos. * genisoimage/sha1.[ch]: Add GPL-licensed SHA1 implementation. * s/mkisofs/genisoimage/ in ABOUT
22 lines
976 B
Text
22 lines
976 B
Text
$NetBSD: patch-ai,v 1.1 2009/06/07 22:02:24 hasso Exp $
|
|
|
|
--- readom/readom.c.orig
|
|
+++ readom/readom.c
|
|
@@ -1605,7 +1605,7 @@ read_generic(SCSI *usalp, parm_t *parmp,
|
|
fprintf(stderr, "Copy from SCSI (%d,%d,%d) disk to file\n",
|
|
usal_scsibus(usalp), usal_target(usalp), usal_lun(usalp));
|
|
fprintf(stderr, "Enter filename [%s]: ", defname); flush();
|
|
- (void) getline(filename, sizeof (filename));
|
|
+ (void) get_line(filename, sizeof (filename));
|
|
}
|
|
|
|
if (askrange) {
|
|
@@ -1772,7 +1772,7 @@ write_disk(SCSI *usalp, parm_t *parmp)
|
|
fprintf(stderr, "Copy from file to SCSI (%d,%d,%d) disk\n",
|
|
usal_scsibus(usalp), usal_target(usalp), usal_lun(usalp));
|
|
fprintf(stderr, "Enter filename [%s]: ", defname); flush();
|
|
- (void) getline(filename, sizeof (filename));
|
|
+ (void) get_line(filename, sizeof (filename));
|
|
fprintf(stderr, "Notice: reading from file always starts at file offset 0.\n");
|
|
|
|
getlong("Enter starting sector for copy:", &addr, 0L, end-1);
|