standards/128546: commit references a PR

dfilter service dfilter at
Wed Oct 14 20:10:04 UTC 2009

The following reply was made to PR standards/128546; it has been noted by GNATS.

From: dfilter at (dfilter service)
To: bug-followup at
Subject: Re: standards/128546: commit references a PR
Date: Tue, 13 Oct 2009 21:52:05 +0000 (UTC)

 Author: jilles
 Date: Tue Oct 13 21:51:50 2009
 New Revision: 198056
   ls: Make -p not inhibit following symlinks.
   According to the man page, when neither -H/-L nor -F/-d/-l are given, -H is
   implied. This agrees with POSIX, GNU ls and Solaris ls. This means that -p,
   although it is very similar to -F, does not prevent the implicit following
   of symlinks.
   PR:		standards/128546
 Modified: head/bin/ls/ls.c
 --- head/bin/ls/ls.c	Tue Oct 13 21:28:51 2009	(r198055)
 +++ head/bin/ls/ls.c	Tue Oct 13 21:51:50 2009	(r198056)
 @@ -399,7 +399,7 @@ main(int argc, char *argv[])
  	 * If not -F, -d or -l options, follow any symbolic links listed on
  	 * the command line.
 -	if (!f_longform && !f_listdir && !f_type)
 +	if (!f_longform && !f_listdir && (!f_type || f_slash))
  		fts_options |= FTS_COMFOLLOW;
 svn-src-all at mailing list
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at"

More information about the freebsd-standards mailing list