From: Mike Frysinger Date: Mon, 26 Sep 2011 14:16:21 -0400 Subject: [U-Boot] [RFC PATCH 04/20] sandbox: Add cpu files In-Reply-To: <20110926181221.9C5A41407999@gemini.denx.de> References: <1316278139-28635-2-git-send-email-sjg@chromium.org> <201109260048.41976.vapier@gentoo.org> <20110926181221.9C5A41407999@gemini.denx.de> Message-ID: <201109261416.22704.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, September 26, 2011 14:12:21 Wolfgang Denk wrote: > Mike Frysinger wrote: > > i would expect "reset" in the sandbox to "exit(1)". how else would you > > exit ? > > "reset" should then use "exit(EXIT_SUCCESS)" as thisis a normal > termination of the program, not an error condition. sure. my point was to use the C library's exit(), not the value. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110926/89c124ce/attachment.pgp