OSDN Git Service
Jim Meyering [Thu, 17 May 2007 11:21:00 +0000 (13:21 +0200)]
Avoid spurious test failures due to buggy ncurses-5.6.
* tests/test-lib.sh: Also unset TERM.
Benno Schulenberg [Wed, 16 May 2007 20:28:35 +0000 (22:28 +0200)]
partprobe: new option: --dry-run, synonym for now-deprecated --no-update; improve its description
Anant Narayanan [Wed, 16 May 2007 02:56:37 +0000 (08:26 +0530)]
Test commit
David Cantrell [Wed, 9 May 2007 20:45:38 +0000 (16:45 -0400)]
Removed clean.sh script. Using git now, we don't need it anymore (git clean -d -x).
David Cantrell [Wed, 9 May 2007 19:15:47 +0000 (15:15 -0400)]
Use gnulib xmalloc() and xrealloc().
Flavio Leitner [Mon, 14 May 2007 10:04:18 +0000 (12:04 +0200)]
Fix exception handling in mkpart and mkpartfs
Parted mkpart and mkpartfs commands does:
...
ped_exception_fetch_all();
if (!ped_disk_add_partition (disk, part, final_constraint)) {
ped_exception_leave_all();
...
}
...
In mkpart if the ped_disk_add_partition() returns true it skips
ped_exception_leave_all() leaving ex_fetch_count = 1.
In mkpartfs if the ped_disk_add_partition() returns false it will
call ped_exception_leave_all() leaving ex_fetch_count negative.
The wrong count in ex_fetch_count will prevent next commands to
correctly handle exceptions, failing to prompt users for example.
Note: test script t2000-mkfs.sh improved to verify against this issue.
Signed-off-by: Flavio Leitner <flavio.leitner@gmail.com>
Signed-off-by: Jim Meyering <jim@meyering.net>
Jim Meyering [Fri, 11 May 2007 17:15:05 +0000 (19:15 +0200)]
* tests/t1100-busy-label.sh: Quote uses of $dev, in case
the user's device name contains a shell meta-character.
SCALAR(0x7f6040)
Jim Meyering [Fri, 11 May 2007 15:27:47 +0000 (17:27 +0200)]
When labeling a disk in --script mode, fail if it is in use.
* parted/parted.c (_disk_warn_busy): In script mode,
throw a "PED_EXCEPTION_ERROR", not a warning.
(do_mklabel): Guard only the _disk_warn_loss call with
"if (!opt_script_mode...", not the _disk_warn_loss call.
* tests/t1100-busy-label.sh: New file. Test the above,
in interactive mode as well as in script mode. Requires
root privilege (to mount a fs), and an actual block device.
* tests/Makefile.am (TESTS): Add t1100-busy-label.sh.
* tests/test-lib.sh: Add infrastructure to support new
privileges_required_=1 and erasable_device_required_=1
settings used by t1100.
Jim Meyering [Fri, 11 May 2007 15:20:09 +0000 (17:20 +0200)]
No longer require "srcdir=." when running a test manually.
* tests/Makefile.am (init.sh): New rule, so one doesn't have to
set "srcdir=." when running a test manually.
* .gitignore: Ignore new generated file: tests/init.sh.
* tests/t0000-basic.sh: Source new init.sh, rather than test-lib.sh.
* tests/t1000-mkpartfs.sh: Likewise.
* tests/t2000-mkfs.sh: Likewise.
* tests/test-lib.sh: Remove useless srcdir-setting code.
Otavio Salvador [Wed, 9 May 2007 19:03:39 +0000 (16:03 -0300)]
[parted] Fix script mode support on mkfs commandline command
Parted was lacking support to script mode on do_mkfs method hence
always failing.
Note: tests/t2000-mkfs.sh was created to avoid it to happen again
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Debarshi Ray [Tue, 8 May 2007 17:35:23 +0000 (23:05 +0530)]
Preventing compilation of DASD code on GNU Hurd systems through the use of AC_COMPILE_IFELSE and AM_CONDITIONAL, instead of #ifdef.
Jim Meyering [Mon, 7 May 2007 16:42:38 +0000 (18:42 +0200)]
Rewrite integration tests to use a new framework (git's).
* tests/t1000-mkpartfs.sh: New file.
* tests/t0000-basic.sh: New file.
* tests/test-lib.sh: New file. Derived from git's t/test-lib.sh.
* tests/lang-default, tests/priv-check: Remove files.
* tests/Makefile.am (EXTRA_DIST): Add test-lib.sh.
Remove lang-default and priv-check; no longer used.
* tests/part-01, tests/label-01: Remove files.
* tests/part-02, tests/label-02: Likewise.
Jim Meyering [Mon, 7 May 2007 15:09:37 +0000 (17:09 +0200)]
Merge branch 'inhibit-word-wrap'
Jim Meyering [Mon, 7 May 2007 15:05:31 +0000 (17:05 +0200)]
Merge branch 'include-limits-h-for-CHAR_MAX'
Jim Meyering [Mon, 7 May 2007 14:51:29 +0000 (16:51 +0200)]
Make ---pretend-input-tty inhibit output word-wrap.
* parted/ui.c (screen_width): Use effectively-unlimited screen width
with ---pretend-input-tty, just as for '--script' mode.
Jim Meyering [Mon, 7 May 2007 14:45:27 +0000 (16:45 +0200)]
Suppress "you are not superuser..." warning in script mode.
* parted/parted.c (_init): Do not emit this warning in script mode:
"You are not superuser. Watch out for permissions."
Jim Meyering [Mon, 7 May 2007 14:38:00 +0000 (16:38 +0200)]
Avoid "make distcheck" failure, with newer system headers.
* parted/parted.c: Include <limits.h>, for use of CHAR_MAX.
Anant Narayanan [Thu, 3 May 2007 23:39:52 +0000 (05:09 +0530)]
Updated Doxyfile
David Cantrell [Wed, 2 May 2007 18:22:28 +0000 (14:22 -0400)]
On the edge branch, labeled the version as 1.9.0 so we can mark it more correctly as the development tree.
David Cantrell [Mon, 30 Apr 2007 13:44:24 +0000 (09:44 -0400)]
Whitespace cleanups.
David Cantrell [Mon, 30 Apr 2007 13:42:33 +0000 (09:42 -0400)]
Whitespace cleanups.
David Cantrell [Mon, 30 Apr 2007 13:22:44 +0000 (09:22 -0400)]
Whitespace cleanups.
David Cantrell [Mon, 30 Apr 2007 13:21:48 +0000 (09:21 -0400)]
Whitespace cleanups.
David Cantrell [Mon, 23 Apr 2007 20:41:02 +0000 (16:41 -0400)]
Revert "Remove unused label."
This reverts commit
bfd9a6d8b6322d870650b0e92bd936035ab28e76.
David Cantrell [Mon, 23 Apr 2007 20:25:11 +0000 (16:25 -0400)]
Patch from Jim Meyering <jim@meyering.net> to linux_write() to support logical
sector sizes other than 512 (PED_SECTOR_SIZE_DEFAULT).
David Cantrell [Mon, 23 Apr 2007 20:02:13 +0000 (16:02 -0400)]
Fix primary partition cylinder alignment error for DOS disk labels.
David Cantrell [Mon, 23 Apr 2007 20:00:54 +0000 (16:00 -0400)]
Fix off-by-one bug in parted when displaying information about the disk label (the disk size, specifically).
David Cantrell [Mon, 23 Apr 2007 19:58:03 +0000 (15:58 -0400)]
Do not translate partition names in 'parted print' command. This causes problems for non-Latin-based character sets. Also, we don't want to translate the partition name here as we are just showing what is in the disklabel, translating it distorts what the value is.
Also added some malloc checks in table.c.
David Cantrell [Mon, 23 Apr 2007 19:53:48 +0000 (15:53 -0400)]
Remove unused label.
David Cantrell [Thu, 15 Mar 2007 16:53:35 +0000 (12:53 -0400)]
Reverted my patch to configure.ac to remove -Wl,--as-needed from LDFLAGS when checking for libreadline.
David Cantrell [Wed, 14 Mar 2007 18:55:49 +0000 (14:55 -0400)]
libreadline is a problematic library. Autoconf adds a block to the generated configure script that checks to see if we should be passing the --as-needed flag to ld(1). There are portability reasons this code exists (best I can figure), but it presents a problem when we scan for libreadline.
libreadline specifically has unresolved symbols on at least Fedora and RHEL. Why? Well, the developer can choose to provide libtermcap, libncurses, or libncursesw (wide-char support) at compile time which all satisfy the curses API dependency that libreadline has. When the parted configure script runs, it fails on readline because the --as-needed flag causes the linker to not include libncurses even though we already have that on the link line.
My solution is to remove the --as-needed flag when we scan for libreadline and then later check for rl_completion_matches() in libreadline.
David Cantrell [Tue, 13 Mar 2007 19:05:53 +0000 (15:05 -0400)]
More changes to set the version number to 1.8.3.
David Cantrell [Tue, 13 Mar 2007 17:03:02 +0000 (13:03 -0400)]
Set version to 1.8.3 for upcoming release.
Debarshi Ray [Tue, 1 May 2007 04:31:50 +0000 (10:01 +0530)]
[tests] Separate and improved test for reading of disk labels.
Matthew Harris [Tue, 24 Apr 2007 15:13:41 +0000 (08:13 -0700)]
Fix endianness bugs
Jim Meyering [Thu, 26 Apr 2007 21:17:32 +0000 (23:17 +0200)]
Add integration tests, then adjust code so that they pass.
These changes affect how --script (-s) works, and when diagnostics
are displayed.
* Makefile.am (SUBDIRS): Add tests.
* configure.ac (AC_OUTPUT): Add tests/Makefile.
* tests/Makefile.am: New file.
* tests/part-01, tests/label-01: New files.
* tests/part-02, tests/label-02: New files.
* parted/parted.c (enum) [PRETEND_INPUT_TTY]: Define.
Support a new, undocumented option: ---pretend-input-tty.
It is intended solely for testing. The leading '---' ensures
that it will never conflict with a "regular" long option.
(do_mkpartfs): Prompt only when not in script mode.
Call ped_exception_leave_all() to decrement global counter.
Without this, the use of parted in tests/part-01 would still fail,
but would not issue the diagnostic explaining why.
* parted/ui.h (pretend_input_tty): Declare new global.
* parted/ui.c (exception_handler): Let the new "pretend_input_tty"
option override "!isatty (0)".
(init_ui): Don't set opt_script_mode.
* tests/lang-default, tests/priv-check: New files.
Jim Meyering [Thu, 26 Apr 2007 19:54:51 +0000 (21:54 +0200)]
Temporarily disable the clone-dvh-label test.
* libparted/tests/label.c (test_clone_label):
Jim Meyering [Sat, 21 Apr 2007 16:59:43 +0000 (18:59 +0200)]
[PATCH] Avoid warning from -Wformat-security; tweak error diagnostic.
* parted/parted.c (_parse_options): Upon failure, output diagnostic
to stderr, not stdout. Use "program_name" value, not literal "parted".
Signed-off-by: Jim Meyering <jim@meyering.net>
Debarshi Ray [Fri, 20 Apr 2007 19:29:15 +0000 (00:59 +0530)]
[tests] New test for probing of disk labels.
Otavio Salvador [Fri, 20 Apr 2007 15:03:45 +0000 (12:03 -0300)]
Revert "[libparted] dvh label fixes"
This reverts commit
dcf8e966abf997b9df69b1664c470ed2aa5c166b.
Otavio Salvador [Fri, 20 Apr 2007 15:01:37 +0000 (12:01 -0300)]
[libparted] dvh label fixes
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 20 Apr 2007 06:53:18 +0000 (03:53 -0300)]
[tests] Simplify test_clone_label removing the label reading test
Since the test_create_label already tests the label reading we
shouldn't redo it. It's always better to have simple tests so is much
easier to find the bugs.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 20 Apr 2007 03:37:07 +0000 (00:37 -0300)]
[tests] Trivial coding style fixes around the tests code
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 20 Apr 2007 00:30:53 +0000 (21:30 -0300)]
[tests] Add _test_exception_handler to fail every time an exception is raised
Sometimes parts of code raises exceptions and this shouldn't happen on
tests. To ensure we catch them a specific exception handler has been
implemented.
The handler usage is very easy. You just need to put the following
code at testsuite main method:
...
/* Fail when an exception is raised */
ped_exception_set_handler (_test_exception_handler);
...
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Debarshi Ray [Fri, 20 Apr 2007 00:19:44 +0000 (05:49 +0530)]
[tests] New test for cloning of disk labels.
Debarshi Ray [Thu, 19 Apr 2007 19:30:50 +0000 (01:00 +0530)]
[tests] Fix spacing around brackets and asterisks.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Benno Schulenberg [Mon, 9 Apr 2007 21:34:15 +0000 (23:34 +0200)]
Handle options independent of their order.
Abort on any invalid option, and handle -v and -h first.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 18 Apr 2007 22:37:11 +0000 (19:37 -0300)]
[tests] Small refactoring on test_create_label
- Destroy the temporary device once the test has been finished,
- Use the _implemented_disk_label and _create_disk_label methods
to avoid code duplication.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 18 Apr 2007 22:35:57 +0000 (19:35 -0300)]
[tests] Implements _implemented_disk_label and _create_disk_label on common.[hc]
- _implemented_disk_label: returns 0 when we haven't yet implemented
this specific label and 1 otherwise;
- _create_disk_label: creates a disk label of a specific type on a
specific device;
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 18 Apr 2007 20:05:05 +0000 (17:05 -0300)]
[tests] Ensure that we're able to read the just created disk label
To ensure we're able to read the just created disk label we introduced a call
ped_disk_new using the same loopback. This could detect bad label creating or
probing detectiong mistakes.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Debarshi Ray [Tue, 17 Apr 2007 15:38:14 +0000 (21:08 +0530)]
Indentation fixes in libparted/tests/.
Debarshi Ray [Mon, 16 Apr 2007 18:34:54 +0000 (00:04 +0530)]
Show the update /etc/fstab message only when there has been a change to the disk. The message is now shorter and more direct.
solsTiCe d'Hiver [Thu, 5 Apr 2007 22:01:46 +0000 (00:01 +0200)]
change the variable named start to offset to be consistent with the doc
solsTiCe d'Hiver [Thu, 5 Apr 2007 12:39:45 +0000 (14:39 +0200)]
remove any trace of PED_PARTITION_PRIMARY which was deprecated a long time ago to use PED_PARTITION_NORMAL
Benno Schulenberg [Thu, 29 Mar 2007 17:28:25 +0000 (19:28 +0200)]
Added 'rescue', 'unit', and 'version' to the man page, plus some small edits.
Otavio Salvador [Wed, 4 Apr 2007 12:04:30 +0000 (09:04 -0300)]
Avoid segfault due a double free on reiserfs support (patch sent by Jakub Bogusz <qboosh@pld-linux.org>)
Benno Schulenberg [Wed, 4 Apr 2007 10:03:29 +0000 (12:03 +0200)]
Make the wording of warning somewhat clearer.
Benno Schulenberg [Mon, 26 Mar 2007 22:23:18 +0000 (00:23 +0200)]
Tweak some help messages: change third person to imperative for consistency, add single quotes and remove letters for clarity
David Cantrell [Mon, 19 Mar 2007 18:01:46 +0000 (14:01 -0400)]
Conditionalize the System Z stuff correctly. We get headers installed on non-System Z platforms, but the code only compiles on that platform.
David Cantrell [Mon, 19 Mar 2007 15:20:55 +0000 (11:20 -0400)]
Remove the COMPILE_FOR_S390 flag-setting stuff. It wasn't correct anyway. Take a kernel-style approach and check uname -m to see if we are on s390. If so, we build for zSeries. Otherwise we do not.
David Cantrell [Mon, 19 Mar 2007 14:43:56 +0000 (10:43 -0400)]
Sleep for one second after uploading a file to ftp-upload.gnu.org. Seems transactions need to be spaced out a bit otherwise the server will reject files.
David Cantrell [Mon, 19 Mar 2007 15:09:25 +0000 (11:09 -0400)]
Fix for compile problems with gcc-4.1.2 as indicated here:
http://lists.gnu.org/archive/html/bug-parted/2007-03/msg00008.html
David Cantrell [Mon, 19 Mar 2007 15:10:38 +0000 (11:10 -0400)]
Check for tgetent() in libtinfo as well as ncurses, curses, termcap, and termlib.
David Cantrell [Mon, 19 Mar 2007 15:12:11 +0000 (11:12 -0400)]
Remove some unused variables, check the return values from fgets() and asprintf(), and remove the unused _dm_remove_map() function.
David Cantrell [Mon, 19 Mar 2007 15:19:27 +0000 (11:19 -0400)]
Include vtoc.h for the format1_label_t typedef.
David Cantrell [Mon, 19 Mar 2007 18:20:52 +0000 (14:20 -0400)]
Remove GNU make-specific things from po4a.mk.
David Cantrell [Fri, 16 Mar 2007 19:18:08 +0000 (15:18 -0400)]
Install the libparted.pc file, not the libparted.pc.in file.
David Cantrell [Fri, 16 Mar 2007 19:19:57 +0000 (15:19 -0400)]
More spec file template cleanups.
David Cantrell [Fri, 16 Mar 2007 20:09:08 +0000 (16:09 -0400)]
Updated the release script to work with the new source layout.
Debarshi Ray [Fri, 16 Mar 2007 14:20:32 +0000 (19:50 +0530)]
Fixed faulty information in README-hacking (Bison is not a maintainer tool for Parted), and Makefile.maint (every project has certain variations of it).
Jim Meyering [Fri, 16 Mar 2007 09:59:19 +0000 (10:59 +0100)]
po/POTFILES.in: Add lib/getopt.c
Debarshi Ray [Fri, 16 Mar 2007 06:42:34 +0000 (12:12 +0530)]
Prevented DASD specific headers and sources from being compiled/installed on non-s390 systems; and conditionally included fdasd.h in linux.h for s390 systems.
David Cantrell [Thu, 15 Mar 2007 17:03:24 +0000 (13:03 -0400)]
Move static variable flagging little endian or not to journal.c. We don't want static variables in general, but if they must exist, put them in a C file, not a header.
Parameterize the little_endian flag for the macros in journal.h.
David Cantrell [Tue, 13 Mar 2007 21:34:05 +0000 (17:34 -0400)]
Modernize the spec file template.
David Cantrell [Tue, 13 Mar 2007 21:33:44 +0000 (17:33 -0400)]
Ignore more files.
David Cantrell [Tue, 13 Mar 2007 17:37:45 +0000 (13:37 -0400)]
Patch from Matthew Garrett <mjg59@srcf.ucam.org> to add HFS+ resize support.
Jim Meyering [Mon, 12 Mar 2007 13:58:40 +0000 (14:58 +0100)]
hfs.c: Detect write failure.
* libparted/fs/hfs/hfs.c (hfs_extract_file, hfs_extract_bitmap):
(hfs_extract_mdb, hfsplus_extract_file, hfsplus_extract_vh):
Fail when fclose fails for a written-to file handle.
Jim Meyering [Thu, 8 Mar 2007 22:40:03 +0000 (23:40 +0100)]
aix.c: Avoid memory overrun. Don't assume logical sector size <= 512B
* libparted/labels/aix.c (struct AixLabel): Remove definition.
(aix_label_magic_get, aix_label_magic_set): New functions.
(read_sector): New function.
(aix_probe): Rewrite not to use the above, and not a static buffer.
(aix_clobber): Likewise.
Also, rather than PED_ASSERT'ing that aix_probe returns 1,
simply return 0 if aix_probe returns fails.
(ped_disk_aix_init): Remove assertion, now that AixLabel is gone.
Jim Meyering [Thu, 8 Mar 2007 22:11:53 +0000 (23:11 +0100)]
Use PED_SECTOR_SIZE_DEFAULT not 512
* libparted/arch/beos.c (beos_read, beos_write):
* libparted/arch/linux.c (_device_get_length, _device_seek)
(linux_read, linux_write, _blkpg_add_partition):
* libparted/fs/fat/bootsector.c (fat_boot_sector_read):
* libparted/labels/bsd.c (bsd_alloc):
* libparted/labels/dos.c (probe_filesystem_for_geom):
* libparted/labels/rdb.c (amiga_read):
Jim Meyering [Thu, 8 Mar 2007 21:39:33 +0000 (22:39 +0100)]
* parted/ui.c (non_interactive_mode): Plug a tiny leak.
Exercise by running the following with a CD-ROM in the drive:
valgrind --leak-check=full parted/parted /dev/cdrom print
Before, we'd leak the 6-byte command: "print\0".
Jim Meyering [Thu, 8 Mar 2007 16:41:34 +0000 (17:41 +0100)]
linux.c: Avoid memory overrun. Handle 2048-byte logical sectors.
* libparted/arch/linux.c (linux_read): Allocate the right amount of
space for the (potentially 2048-byte-long) sectors we're about to read.
Jim Meyering [Thu, 8 Mar 2007 00:05:33 +0000 (01:05 +0100)]
Don't use deprecated mktemp, to avoid linker warning
* libparted/tests/common.c (_create_disk): Rewrite to
use mkstemp instead.
Jim Meyering [Thu, 8 Mar 2007 00:04:44 +0000 (01:04 +0100)]
* libparted/tests/label.c: Plug a trivial leak.
Debarshi Ray [Wed, 7 Mar 2007 20:22:08 +0000 (01:52 +0530)]
Merge branch 'master' of git+ssh://rishi-guest@git.debian.org/git/parted/parted
Debarshi Ray [Wed, 7 Mar 2007 20:18:30 +0000 (01:48 +0530)]
Replaced [f]printf with fput[c|s] globally.
Jim Meyering [Wed, 7 Mar 2007 18:39:56 +0000 (19:39 +0100)]
libparted/unit.c: constify interfaces
* include/parted/unit.h (PED_UNIT_LAST):
* libparted/unit.c (ped_unit_get_size):
(ped_unit_format_custom_byte, ped_unit_format_byte):
(ped_unit_format_custom, ped_unit_format, ped_unit_parse):
(find_suffix, parse_chs, clip, geometry_from_centre_radius):
(ped_unit_parse_custom):
Jim Meyering [Wed, 7 Mar 2007 18:27:18 +0000 (19:27 +0100)]
Declare some static arrays to be "const".
* libparted/labels/dos.c (MBR_BOOT_CODE):
* libparted/labels/efi_crc32.c (crc32_tab):
* libparted/labels/pc98.c (MBR_BOOT_CODE):
* libparted/labels/vtoc.c (EBCtoASC, ASCtoEBC):
Jim Meyering [Wed, 7 Mar 2007 17:58:29 +0000 (18:58 +0100)]
* configure.ac: Fix a typo: s/have_scintilla/have_check/
Jim Meyering [Wed, 7 Mar 2007 17:56:21 +0000 (18:56 +0100)]
tests/label: Don't dereference NULL if open fails.
* libparted/tests/label.c (START_TEST): Return right away if
ped_device_get returns NULL.
Jim Meyering [Wed, 7 Mar 2007 17:17:00 +0000 (18:17 +0100)]
Add "const" to parameters in these public interfaces.
* libparted/disk.c (ped_disk_check):
(ped_disk_get_primary_partition_count):
(ped_disk_get_last_partition_num, ped_partition_print):
(ped_disk_print):
(ped_partition_print): Also declare to be "static".
This is ok, since the function is referenced only from this file.
* include/parted/disk.h: Update their prototypes.
Jim Meyering [Wed, 7 Mar 2007 11:29:47 +0000 (12:29 +0100)]
Use <config.h> consistently, not "config.h".
* Makefile.cfg (local-checks-to-skip): Remove sc_require_config_h,
to enable the "make distcheck" test for this.
David Cantrell [Tue, 6 Mar 2007 22:19:31 +0000 (17:19 -0500)]
start_pos is a PedSector, not a PedGeometry.
David Cantrell [Tue, 6 Mar 2007 16:18:20 +0000 (11:18 -0500)]
Preserve starting sector for primary NTFS 3.1 partitions (Windows Vista)
when modifying the DOS disk label. NTFS 3.1 partitions do not start on
the 2nd head of the 1st cylinder at the beginning of the drive.
David Cantrell [Fri, 2 Mar 2007 18:20:28 +0000 (13:20 -0500)]
Patched parted.8 man page to show partition names apply to GPT disk labels
as well as Mac and PC98 disk labels.
Debarshi Ray [Tue, 6 Mar 2007 15:17:58 +0000 (20:47 +0530)]
Replaced [f]printf with fput[c|s] in libparted/fs/ext2/ext2_block_relocator.c.
Debarshi Ray [Tue, 6 Mar 2007 11:08:33 +0000 (16:38 +0530)]
Re-arranging .gitignore in alphabetical order.
Debarshi Ray [Tue, 6 Mar 2007 10:27:24 +0000 (15:57 +0530)]
Defined a dummy '_dump_history' function in parted/ui.c when Readline is absent. Thanks to Jim Meyering for the suggestion.
Debarshi Ray [Tue, 6 Mar 2007 10:21:58 +0000 (15:51 +0530)]
Added libparted/tests/label to .gitignore.
Debarshi Ray [Tue, 6 Mar 2007 09:07:25 +0000 (14:37 +0530)]
Fixed parted/ui.c to incorporate signal handlers for systems lacking 'sigaction', 'SA_SIGINFO', and other constants in signal.h.
Jim Meyering [Mon, 5 Mar 2007 21:44:38 +0000 (22:44 +0100)]
Undo part of the dos.c constification.
* libparted/disk.c: The sole parameter of ped_disk_type_register
and ped_disk_type_unregister must *not* be const.
* libparted/labels/dos.c (msdos_disk_type): Likewise for the
corresponding static struct in dos.c, since those functions modify
the struct. This didn't show up at compile time due to casts.
* include/parted/disk.h: Update prototypes, too.