dougb 392be70ea5 Bring in a new feature, adding a -f option to readlink to print the path
of the target, similar to realpath(1). See the discussion at:
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=34662

This brings in the following changes:
1.24
"PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't
grok -f, and there's no alternative (+fix)

Patch applied with minor tweak (%y -> %R, as it was already taken) plus
some nits from myself. Thanks!"

Obtained from:	elad@NetBSD.org

1.25
"Fix a segfault when doing 'stat -f %R' on the stdin file handle, instead
fake the filename '(stdin)' like the %N format."

Obtained from:	mlelstv@NetBSD.org

1.27
"The ofmt variable is actually a bit mask (not the character that was
in the format string) so that we can "or" it with the bits in the
formats variable.  This fixes the missing " -> " in front of the real
path (when you use %SR).

Also, the ?: needs another space."

Obtained from:	atatat@NetBSD.org

I am purposely omitting the following changes:
1.23	A humanize_number(3) clone that should better be implemented by
	actually using humanize_number(3)
1.26	This is the removal of license clause 3 and 4, already handled
	by imp in r203971
2010-12-05 21:11:45 +00:00
..
2010-11-19 10:15:29 +00:00
2010-01-02 10:09:20 +00:00
2010-01-15 16:01:22 +00:00
2010-11-25 19:22:24 +00:00
2010-11-19 10:18:58 +00:00
2010-05-11 23:08:22 +00:00
2010-07-15 00:04:14 +00:00
2010-09-06 20:40:38 +00:00
2009-04-01 08:33:54 +00:00
2010-08-06 14:33:42 +00:00
2010-02-09 10:47:44 +00:00
2010-02-26 09:41:16 +00:00
2010-08-06 14:33:42 +00:00
2010-04-02 11:05:59 +00:00
2010-06-02 10:20:23 +00:00
2009-06-23 23:17:04 +00:00
2010-07-14 18:28:46 +00:00
2010-01-02 10:09:20 +00:00
2010-03-02 16:58:04 +00:00
2010-06-28 08:30:10 +00:00
2010-10-21 12:27:13 +00:00
2010-03-22 21:19:17 +00:00
2009-12-13 03:18:37 +00:00
2010-10-19 00:01:53 +00:00
2010-11-27 21:35:16 +00:00
2010-06-02 10:20:23 +00:00
2010-10-08 12:40:16 +00:00
2010-02-26 13:48:04 +00:00
2010-11-19 12:56:13 +00:00
2010-03-08 20:45:52 +00:00
2010-01-02 10:09:20 +00:00
2010-05-06 21:57:38 +00:00
2010-08-06 14:33:42 +00:00
2010-11-09 10:59:09 +00:00
2010-09-24 10:40:17 +00:00
2010-09-29 22:24:18 +00:00
2010-08-01 09:10:09 +00:00
2010-03-09 21:06:01 +00:00
2010-10-21 20:22:00 +00:00
2009-12-13 04:14:55 +00:00
2010-11-20 15:22:16 +00:00
2010-06-15 04:47:16 +00:00
2010-06-19 16:24:55 +00:00