sort -g now uses long doubles for greater range and precision.
+ touch's --file option is no longer recognized. Use --reference=F (-r)
+ instead. --file has not been documented for 15 years, and its use has
+ elicited a warning since coreutils-7.1.
+
truncate now supports setting file sizes relative to a reference file.
Also errors are no longer suppressed for unsupported file types, and
relative sizes are restricted to supported file types.
+
* Noteworthy changes in release 8.5 (2010-04-23) [stable]
** Bug fixes
Robert Lindgren robert@orcafat.com
Robert Millan zeratul2@wanadoo.es
Robert Schwebel r.schwebel@pengutronix.de
+Robin H. Johnson robbat2@gentoo.org
Rogier Wolff R.E.Wolff@BitWizard.nl
Roland Huebner ro-huebner@gmx.de
Roland Turner raz.tah.bet@raz.cx
{"time", required_argument, NULL, TIME_OPTION},
{"no-create", no_argument, NULL, 'c'},
{"date", required_argument, NULL, 'd'},
- {"file", required_argument, NULL, 'r'}, /* FIXME: remove --file in 2010 */
{"reference", required_argument, NULL, 'r'},
{"no-dereference", no_argument, NULL, 'h'},
{GETOPT_HELP_OPTION_DECL},
bool date_set = false;
bool ok = true;
char const *flex_date = NULL;
- int long_idx; /* FIXME: remove in 2010, when --file is removed */
initialize_main (&argc, &argv);
set_program_name (argv[0]);
change_times = 0;
no_create = use_ref = false;
- while ((c = getopt_long (argc, argv, "acd:fhmr:t:", longopts, &long_idx)) != -1)
+ while ((c = getopt_long (argc, argv, "acd:fhmr:t:", longopts, NULL)) != -1)
{
switch (c)
{
break;
case 'r':
- if (long_idx == 3)
- error (0, 0,
- _("warning: the --%s option is obsolete; use --reference"),
- longopts[long_idx].name);
use_ref = true;
ref_file = optarg;
break;