From owner-freebsd-doc Mon Jul 8 12:26:49 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D16637B400 for ; Mon, 8 Jul 2002 12:26:46 -0700 (PDT) Received: from xp.minerva.nl (catv6086.extern.kun.nl [131.174.116.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99F6B43E54 for ; Mon, 8 Jul 2002 12:26:44 -0700 (PDT) (envelope-from root@xp.minerva.nl) Received: (from root@localhost) by xp.minerva.nl (8.11.6/8.11.6) id g68LaIs11079 for doc@FreeBSD.org; Mon, 8 Jul 2002 21:36:18 GMT (envelope-from root) Content-Type: text/plain; charset="iso-8859-1" From: Charlie & To: doc@FreeBSD.org Subject: Syntax error in listing Date: Mon, 8 Jul 2002 21:36:17 +0000 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200207082136.17951.root@xp.minerva.nl> Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for excellent documentation, perhaps i made an error but compiling daytime. In Chapter 7 switch (fork()) { case -1: perror("fork"); return 3; break; default: <-------------------------------------- close s; return 0; break; case 0: break; } didn't work. I Think the problem was in the line default. Replacing this to the end of switch solved my problem in cc-ing. Greetings. R.vandruten r.vandruten@usc.kun.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message