summaryrefslogtreecommitdiff
path: root/debug
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright statements to 2022Brian C. Lane2022-03-231-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2021Brian C. Lane2021-01-181-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-111-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2019Brian C. Lane2019-08-121-1/+1
| | | | By running make update-copyright
* maint: run "make update-copyright"Jim Meyering2014-05-251-1/+1
|
* maint: update all copyright year number rangesJim Meyering2013-01-061-1/+1
| | | | Run "make update-copyright".
* maint: remove "MAINTAINERCLEANFILES = Makefile.in" from Makefile.am'sJim Meyering2012-01-112-4/+0
| | | | | | | | | | | | | | * debug/Makefile.am: As above. * debug/test/Makefile.am: Likewise. * doc/C/Makefile.am: Likewise. * doc/pt_BR/Makefile.am: Likewise. * include/Makefile.am: Likewise. * include/parted/Makefile.am: Likewise. * libparted/Makefile.am: Likewise. * libparted/fs/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. * doc/Makefile.am: Likewise, for mdate-sh and texinfo.tex.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* remove all top-level FS-op code and the clearfat programJim Meyering2011-05-274-370/+1
|
* Remove PED_ASSERT action argumentBrian C. Lane2011-03-051-1/+1
| | | | | | The action argument was a leftover from when the PED_ASSERT macro was last changed. This removes that argument from the macro and from all occurrences of it.
* maint: update copyright year ranges to include 2011Jim Meyering2011-02-222-2/+2
| | | | Run "make update-copyright".
* maint: remove empty lines at end of fileJim Meyering2010-04-2817-17/+0
| | | | | | This lets one more "syntax-check" test pass. Run this command: git ls-files|grep -v gnulib|xargs perl -pi -0777 -e 's/\n\n+$/\n/'
* doc: use a valid http:.../AUTHORS URLJim Meyering2010-04-271-1/+1
| | | | | | | | | * debug/clearfat/clearfat.c (AUTHORS): Point to the git repo. * parted/parted.c (AUTHORS): Likewise. * partprobe/partprobe.c (AUTHORS): Likewise. * parted/parted.c: Include "version.h". (_version): Use Version, not VERSION.
* tests: distribute a few more tests and documentation filesColin Watson2010-03-301-0/+2
| | | | | | | * debug/test/Makefile.am (noinst_SCRIPTS): Add test_fs_hfs and test_fs_hfsplus. * libparted/fs/hfs/Makefile.am (EXTRA_DIST): Add DOC and HISTORY. * tests/Makefile.am (TESTS): Add t3200-type-change.sh.
* Fix minor spelling errorsOtavio Salvador2010-02-042-4/+4
| | | | | | | This fixes minor spelling errors in the source code. Basically: s/informations/information/g s/prefered/preferred/g
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-082-2/+2
| | | | Run this command: make update-copyright
* maint: update most copyright year lists to include 2009Jim Meyering2009-09-291-1/+1
| | | | | | I used this command: make update-copyright \ UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1
* build: enable many warningsJim Meyering2009-07-242-1/+3
| | | | | | | | | | | | * configure.ac: New configure-time option: --enable-gcc-warnings. * bootstrap.conf: Use gnulib modules: warnings manywarnings. * debug/Makefile.am: Define AM_CFLAGS. * libparted/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * parted/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. * debug/clearfat/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise.
* build: avoid new warningsJim Meyering2009-07-241-1/+1
| | | | | | | | | * debug/clearfat/clearfat.c (usage): Declare static. * partprobe/partprobe.c (usage): Likewise. * libparted/cs/natmath.c (abs_mod, extended_euclid): Declare static. * libparted/timer.c (PED_TIMER_START_DELAY): Remove unused definition. * libparted/unit.c (ped_unit_format_custom_byte): Remove an unnecessary cast-to-double.
* libparted: link with gnulibJim Meyering2009-06-031-1/+0
| | | | | | | | | | | | | * libparted/Makefile.am (libparted_la_LIBADD): Add $(top_builddir)/lib/libparted.la to the list. * partprobe/Makefile.am (partprobe_LDADD): Remove now-unneeded $(top_builddir)/lib/libparted.la. * libparted/tests/Makefile.am (LDADD): Remove now-unneeded $(top_builddir)/lib/libparted.la. * debug/clearfat/Makefile.am (clearfat_LDADD): Likewise. * parted/Makefile.am (parted_LDADD): Likewise. Otavio Salvador reported that linking with the resulting shared library produced an unresolved reference to last_component.
* remove all trailing blanksJim Meyering2009-03-053-8/+8
| | | | | | ...by running these commands: t=$'\t' git grep -l "[ $t]\$"|xargs perl -pi -e 's/[ \t]+$//'
* portability: use last_component, not basenameJim Meyering2009-03-051-1/+1
| | | | | | | | | | | * libparted/arch/linux.c (read_device_sysfs_file): Use last_component from gnulib's basename module, not the less-portable "basename" function. (_device_get_partition_range): Likewise. Reported by Karel Zak. * debug/clearfat/Makefile.am (clearfat_LDADD): Link gnulib *after* libparted, not before. * partprobe/Makefile.am (partprobe_LDADD): Likewise. * parted/Makefile.am (parted_LDADD): Likewise.
* clearfat: diagnose an invalid device numberJim Meyering2009-02-071-3/+13
| | | | | | * debug/clearfat/clearfat.c: Include <limits.h> and "xstrtol.h". (main): Diagnose an invalid minor device number argument. * bootstrap.conf (gnulib_modules): Add xstrtol.
* use gnulib's progname moduleJim Meyering2008-06-051-5/+3
| | | | | | | | | | | * bootstrap.conf (gnulib_modules): Add progname. * debug/clearfat/clearfat.c: Include "progname.h". (main): Call set_program_name rather than setting program_name. * parted/parted.c: Likewise. * partprobe/partprobe.c: Likewise. * libparted/tests/disk.c: Include "progname.h" and call set_program_name even though program_name isn't used, yet. * libparted/tests/label.c: Likewise.
* Updated GPL license boilerplate.David Cantrell2007-07-231-3/+2
|
* Use <config.h> consistently, not "config.h".Jim Meyering2007-03-071-1/+1
| | | | | * Makefile.cfg (local-checks-to-skip): Remove sc_require_config_h, to enable the "make distcheck" test for this.
* Make clearfat accept --help and --version options.Jim Meyering2007-03-052-20/+81
| | | | | | | | | | * debug/clearfat/clearfat.c (AUTHORS, PROGRAM_NAME): Define. Include gettext-related things. Include closeout.h. (usage): New function. (main): Set up for translations, use close_stdout. * bootstrap.conf: Add long-options, for clearfat. * debug/clearfat/Makefile.am: Use gnulib.
* Use $(VAR), rather than obsolescent @VAR@ automake notation.Jim Meyering2007-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the makefile-check rule. * Makefile.cfg: Remove makefile-check from the list of rules to skip. * Makefile.am: change e.g., @VERSION@ to $(VERSION). * debug/clearfat/Makefile.am: Likewise. * libparted/Makefile.am: Likewise. * libparted/fs/Makefile.am: Likewise. * libparted/fs/amiga/Makefile.am: Likewise. * libparted/fs/bfs/Makefile.am: Likewise. * libparted/fs/ext2/Makefile.am: Likewise. * libparted/fs/fat/Makefile.am: Likewise. * libparted/fs/hfs/Makefile.am: Likewise. * libparted/fs/jfs/Makefile.am: Likewise. * libparted/fs/linux_swap/Makefile.am: Likewise. * libparted/fs/ntfs/Makefile.am: Likewise. * libparted/fs/reiserfs/Makefile.am: Likewise. * libparted/fs/ufs/Makefile.am: Likewise. * libparted/fs/xfs/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * parted/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. The above conversion caused a problem: * libparted/Makefile.am: Remove this recursive definition: LIBS = @INTLLIBS@ @LIBS@. Once converted to LIBS = ...$(LIBS), GNU make would (rightly) fail, objecting to the recursive definition. (libparted_la_LIBADD): Instead, add $(INTLLIBS) here.
* Add a bunch of .gitignore files.Jim Meyering2007-02-251-0/+1
|
* Avoid a gcc format warning:Jim Meyering2007-02-251-1/+1
| | | | * debug/clearfat/clearfat.c (_do_help): Use fputs, not printf.
* Introduced MAINTAINERCLEANFILES in Makefile.am for carrying out 'make ↵Debarshi Ray2007-02-193-0/+4
| | | | maintainer-clean'.
* Avoid compiler warnings with gcc -Wall -Wshadow.Jim Meyering2007-02-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libparted/arch/linux.c (init_ide): Add missing "break" at end of final case: stmt. Add "default:" in the same switch to avoid a compiler warning. * libparted/fs/fat/bootsector.c (fat_boot_sector_analyse): Likewise. * libparted/fs/fat/resize.c (ask_type): Likewise. * libparted/fs/fat/traverse.c (fat_dir_entry_set_first_cluster): Likewise. * debug/clearfat/clearfat.c (_calc_fat_entry_offset): Likewise. * parted/parted.c (_timer_handler): Cast time_t values to "int" to agree with %d printf format. (g_timer): Rename file-scoped global from shadowed "timer". Update all uses of the global. (version_msg): Remove decl of unused global. * parted/ui.c (current_exception_opt): Remove decl of unused global. * libparted/filesys.c (ped_file_system_close): Remove unused label. * libparted/unit.c (parse_chs): Likewise. * libparted/debug.c (ped_assert): Use "int" as type of backtrace return value, not size_t. * libparted/fs/reiserfs/reiserfs.c (reiserfs_check): Guard declaration of local with #ifdef HAVE_REISERFS_FS_CHECK, since it's used only in a similarly-guarded block. (reiserfs_fs_check): Likewise for this file-scoped global. Avoid warnings about unused file-scoped global variables. * libparted/fs/hfs/hfs.h (hfs_type, hfsplus_type): Remove these declarations of file-scoped static variables. * libparted/fs/hfs/hfs.c: Put them here, instead. * libparted/fs/fat/table.c (_test_code_active): Remove unused function. * libparted/arch/linux.c: Add casts to avoid performing pointer arithmetic on "void *" pointers. * libparted/fs/hfs/file_plus.c (hfsplus_file_read): Don't do pointer arithmetic on a "void *" pointer. (hfsplus_file_write): Likewise. * libparted/fs/fat/count.c (flag_traverse_dir): Move decl of unused local into #if-0'd block where it is referenced. (print_chain): Guard definition with #ifdef PED_VERBOSE, since the sole use of this function is guarded the same way. * libparted/fs/amiga/amiga.c: (_amiga_valid_block_id): Remove unused function. (_amiga_get_bstr): Likewise. (_amiga_set_bstr): Likewise. Remove unused labels and/or declarations of unused variables. * parted/ui.c (_readline): Likewise. * libparted/cs/constraint.c (_constraint_get_canonical_start_range): Likewise. * libparted/cs/geom.c (ped_geometry_read): Likewise. * libparted/fs/amiga/apfs.c (_generic_apfs_probe): Likewise. * libparted/fs/ext2/ext2_mkfs.c (ext2_mkfs_write_meta): Likewise. * libparted/disk.c: Likewise. * libparted/fs/hfs/hfs.c: Likewise. * libparted/fs/fat/fat.c: Likewise. * libparted/fs/fat/clstdup.c: Likewise. * libparted/fs/fat/calc.c: Likewise. * libparted/fs/ext2/ext2.c: Likewise. * libparted/fs/amiga/affs.c: Likewise. * libparted/fs/amiga/asfs.c: Likewise. * libparted/labels/aix.c: Likewise. * libparted/labels/sun.c: Likewise. * libparted/labels/pc98.c: Likewise. * libparted/labels/mac.c: Likewise. * libparted/labels/dos.c: Likewise. * libparted/labels/loop.c (loop_alloc): Likewise. * libparted/labels/gpt.c: Likewise. * libparted/labels/dvh.c (dvh_alloc): Likewise. (dvh_read) [!DISCOVER_ONLY]: Add "default:" in a switch. * libparted/labels/fdasd.c (fdasd_reread_partition_table): Remove decl of unused local(s). (fdasd_get_partition_data): Likewise. (fdasd_partition_type): Remove unused function. (fdasd_write_vtoc_labels): Likewise. (fdasd_change_volser): Likewise. (fdasd_check_volser): Likewise. (fdasd_reread_partition_table): Likewise. Signed-off-by: Jim Meyering <jim@meyering.net>
* Fixed the copyright notices.Debarshi Ray2007-02-141-1/+1
|
* Fix ChangeLogAnant Narayanan2006-09-1421-0/+2215
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@820 2d424fd7-7fe2-0310-af74-8bc65edeb173