Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 08:33:42 -0800 (PST)
From:      Dru Lavigne <dru.lavigne@att.net>
To:        freebsd-doc@freebsd.org
Subject:   Fw: Links page has some non-working urls
Message-ID:  <1352306022.47224.YahooMailClassic@web184904.mail.gq1.yahoo.com>

next in thread | raw e-mail | index | archive | help
While this report was for a mirror, it looks like the commercial/isp.html p=
age has bad links for Bluegravity and DBI hosting.

Cheers,

Dru

--- On Wed, 11/7/12, Sabrina Jackson <jacksonsabrina80@gmail.com> wrote:

From: Sabrina Jackson <jacksonsabrina80@gmail.com>
Subject: Links page has some non-working urls
To: board@FreeBSDFoundation.org
Date: Wednesday, November 7, 2012, 4:49 AM

Hi,

I was browsing your website today and was checking out some of your resourc=
es at http://freebsd4.riverwillow.net.au/commercial/isp.html . A few that s=
eemed interesting to me were no longer available. I am =0Aemailing you to b=
ring this to your attention in case you did not =0Arealize. Here are two li=
nks that did not work.
=A0=A0=A0=20
http://www.bluegravity.com/index_bsd.php=A0=A0=A0=20
http://www.dbihosting.com/bsdvps.html
=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=
=0A=0A=0A
As=0A a website owner myself, keeping up with broken links is a daunting =
=0Atask. If you would like to update your resource page, I can give you a =
=0Aheads up on a few others I found.=20

=0AHave a great rest of the day,

Sabrina Jackson
BestFreeDatingSites.net

--=20
=0A=0A

--This is not a spam message and only intends in discussing your resource p=
age =0Aissues.


=0A=0A
=0A
From owner-freebsd-doc@FreeBSD.ORG  Wed Nov  7 18:30:00 2012
Return-Path: <owner-freebsd-doc@FreeBSD.ORG>
Delivered-To: freebsd-doc@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
 by hub.freebsd.org (Postfix) with ESMTP id C7B735F9
 for <freebsd-doc@hub.freebsd.org>; Wed,  7 Nov 2012 18:30:00 +0000 (UTC)
 (envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 by mx1.freebsd.org (Postfix) with ESMTP id 9D5938FC14
 for <freebsd-doc@hub.freebsd.org>; Wed,  7 Nov 2012 18:30:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA7IU0U3061807
 for <freebsd-doc@freefall.freebsd.org>; Wed, 7 Nov 2012 18:30:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA7IU0XP061806;
 Wed, 7 Nov 2012 18:30:00 GMT (envelope-from gnats)
Resent-Date: Wed, 7 Nov 2012 18:30:00 GMT
Resent-Message-Id: <201211071830.qA7IU0XP061806@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-doc@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
 Fernando <fernando.apesteguia@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
 by hub.freebsd.org (Postfix) with ESMTP id 8FF83599
 for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Nov 2012 18:25:24 +0000 (UTC)
 (envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
 by mx1.freebsd.org (Postfix) with ESMTP id 775608FC0C
 for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Nov 2012 18:25:24 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
 by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qA7IPOOi072923
 for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Nov 2012 18:25:24 GMT
 (envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
 by red.freebsd.org (8.14.5/8.14.5/Submit) id qA7IPOCY072896;
 Wed, 7 Nov 2012 18:25:24 GMT (envelope-from nobody)
Message-Id: <201211071825.qA7IPOCY072896@red.freebsd.org>
Date: Wed, 7 Nov 2012 18:25:24 GMT
From: Fernando <fernando.apesteguia@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: docs/173448: ftw.3 manual page example addition
X-BeenThere: freebsd-doc@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Documentation project <freebsd-doc.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-doc>,
 <mailto:freebsd-doc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-doc>;
List-Post: <mailto:freebsd-doc@freebsd.org>
List-Help: <mailto:freebsd-doc-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-doc>,
 <mailto:freebsd-doc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Nov 2012 18:30:00 -0000


>Number:         173448
>Category:       docs
>Synopsis:       ftw.3 manual page example addition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 07 18:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Fernando
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD beastie 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
While having a look at the ftw(3) man page, I noticed we lacked an example. The attached patch adds a small yet clear example on how to use this function.
>How-To-Repeat:
man ftw
>Fix:
Apply the attached patch if it is found to be suitable.

Patch attached with submission follows:

--- /usr/src/lib/libc/gen/ftw.3	2012-01-03 04:26:08.000000000 +0100
+++ ftw_man/ftw.3	2012-11-07 19:18:48.000000000 +0100
@@ -155,6 +155,54 @@
 will stop processing the tree and return the value from
 .Fa fn .
 Both functions return \-1 if an error is detected.
+.Sh EXAMPLES
+Following there is a small example that shows how
+.Nm
+works. It traverses the file tree starting at the directory pointed
+by the only program argument and shows the complete path and a brief
+indicator about the file type.
+.Bd -literal
+#include <ftw.h>
+#include <stdio.h>
+
+int
+ftw_callback(const char *path, const struct stat *sb, int typeflag)
+{
+	char type;
+
+	switch(typeflag) {
+	case FTW_F: 
+		type = 'F';
+		break;
+	case FTW_D:
+		type = 'D';
+		break;
+	case FTW_DNR:
+		type = '-';
+		break;
+	case FTW_NS:
+		type = 'X';
+		break;
+	}
+
+	printf("[%c] %s\n", type, path);
+
+	return (0);
+}
+
+int
+main(int argc, char **argv)
+{
+
+	if (argc != 2) {
+		printf("Usage %s <directory>\n", argv[0]);
+		return (0);
+	} else {
+		return (ftw(argv[1], ftw_callback, /*UNUSED*/ 10));
+	}
+
+}
+.Ed
 .Sh ERRORS
 The
 .Fn ftw


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1352306022.47224.YahooMailClassic>