summaryrefslogtreecommitdiff
path: root/partprobe
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* Set partprobe's text domain.Benno Schulenberg2007-08-161-0/+5
| | | | * partprobe/partprobe.c (main): Set textdomain.
* Updated GPL license boilerplate.David Cantrell2007-07-231-3/+2
|
* partprobe: new option: --dry-run, synonym for now-deprecated --no-update; ↵Benno Schulenberg2007-05-161-6/+9
| | | | improve its description
* 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 partprobe accept --help and --version options.Jim Meyering2007-03-051-46/+81
| | | | | | | | | | | Add long options: --no-update (same as existing -d), and --summary (same as existing -s). * partprobe/partprobe.c Include configmake.h, getopt.h, and NLS-related things. (main): Rewrite option handling. Along the way, fix a bug whereby "partprobe DEV1 DEV2 ... DEVN" would exit successfully whenever process_dev (DEVN) returns nonzero, even when that function fails for each of the preceding devices.
* 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 -I$(top_srcdir)/lib, required for new use of close_stdout.Jim Meyering2007-02-271-1/+1
| | | | * partprobe/Makefile.am (partedincludedir):
* partprobe: Detect/report any error when writing to stdout.Jim Meyering2007-02-252-8/+25
| | | | | | | | | | | | | * partprobe/Makefile.am (partprobe_LDADD): Add lib/libparted.la. * partprobe/partprobe.c: Include "closeout.h" for close_stdout. Include "version-etc.h" for version_etc prototype. Declare global, program_name. (PROGRAM_NAME, AUTHORS): Define. (help): Use PROGRAM_NAME, rather than hard-coding it. (version): Use gnulib's version_etc. (main): Set program_name. Use atexit to close stdout carefully upon exit.
* Introduced MAINTAINERCLEANFILES in Makefile.am for carrying out 'make ↵Debarshi Ray2007-02-191-0/+1
| | | | maintainer-clean'.
* Fix ChangeLogAnant Narayanan2006-09-142-0/+174
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@820 2d424fd7-7fe2-0310-af74-8bc65edeb173