The NetBSD Project

CVS log for src/sbin/gpt/remove.c

[BACK] Up to [] / src / sbin / gpt

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: netbsd-4

Revision / (download) - annotate - [select for diffs], Tue Apr 8 20:32:38 2008 UTC (11 years, 9 months ago) by jdc
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since +8 -4 lines
Diff to previous (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up revisions:
  src/sbin/gpt/add.c		1.5
  src/sbin/gpt/create.c		1.3
  src/sbin/gpt/destroy.c	1.3
  src/sbin/gpt/gpt.c		1.4-1.6
  src/sbin/gpt/label.c		1.5-1.6
  src/sbin/gpt/migrate.c	1.4
  src/sbin/gpt/recover.c	1.3
  src/sbin/gpt/remove.c		1.4
  src/sbin/gpt/show.c		1.3
(requested by riz in ticket #1117).

Produce more useful error messages.

Fix the usage strings for each command, and print them all for the
"global" usage.  It's still a little ugly, but hopefully not as
fantastically confusing as before...

Your friendly neighborhood 64-bit architecture here to remind you that
strlen returns size_t, and printf's precision specifier uses int.

Revision / (download) - annotate - [select for diffs], Tue Feb 20 15:13:59 2007 UTC (12 years, 11 months ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-base-1, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0
Branch point for: wrstuden-fixsa
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Pull up following revision(s) (requested by riz in ticket #445):
	sbin/gpt/add.c: revision 1.4
	sbin/gpt/remove.c: revision 1.3
	sbin/gpt/label.c: revision 1.4
	sbin/gpt/gpt.c: revision 1.3
Use strtoll() when converting a 64-bit quantity.  This makes "gpt add"
work with an offset of more than 2147483647 sectors.  While I'm here,
use strtoul() when converting an unsigned quantity.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 15 22:36:29 2006 UTC (13 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.1: +13 -3 lines
Diff to previous 1.1 (colored)

Make this work under NetBSD.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>