nm: Support C++ demangling.
ar: Support D modifier for "deterministic output" with no uid/gid/mtime info.
-ranlib: Support -D flag with same meaning.
+ The U modifier is the inverse.
+ranlib: Support -D and -U flags with same meaning.
Version 0.152
2012-01-20 Roland McGrath <roland@hack.frob.com>
+ * arlib-argp.c (options, parse_opt): Grok -U as inverse of -D.
+
* ranlib.c (argp): Use arlib_argp_children.
* arlib.c (arlib_init): Obey arlib_deterministic_output.
{
{ NULL, 'D', NULL, 0,
N_("Use zero for uid, gid, and date in archive members."), 0 },
+ { NULL, 'U', NULL, 0,
+ N_("Use actual uid, gid, and date in archive members."), 0 },
{ NULL, 0, NULL, 0, NULL, 0 }
};
arlib_deterministic_output = true;
break;
+ case 'U':
+ arlib_deterministic_output = false;
+ break;
+
default:
return ARGP_ERR_UNKNOWN;
}