Date: Tue, 14 Dec 2010 18:23:15 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/printf printf.c Message-ID: <201012141823.oBEINQ2l032492@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2010-12-14 18:23:15 UTC FreeBSD src repository Modified files: usr.bin/printf printf.c Log: SVN rev 216439 on 2010-12-14 18:23:15Z by delphij When printf is being used as a sh(1) builtin, it can not call exit(3) as pointed out by jilles@ so revert to using return(), also change the return value back to 1 as requested by bde@. This is logically a revert of revision 216422. Revision Changes Path 1.47 +1 -3 src/usr.bin/printf/printf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012141823.oBEINQ2l032492>