[PATCH] openvt coding style and minor cleanup

Tito farmatito at tiscali.it
Fri Mar 10 14:58:39 PST 2006


Hi,
this is a coding style patch for openvt.c.
There are also some minor code changes
that save a few bytes.
Please apply.


BTW: Rob, could we rip out this #define?

#ifdef   ESIX_5_3_2_D
		if (setpgrp() < 0) {
#else
		if (setsid() < 0) {
#endif

if yes the next line could be changed to save more bytes to:

             if (setsid() < 0) {
                        bb_perror_msg_and_die("setsid");
                }

Thanks.

Ciao,
Tito
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openvt_cleanup.patch
Type: text/x-diff
Size: 1011 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20060310/85c5d6b8/openvt_cleanup.bin


More information about the busybox mailing list