[gPXE-devel] Minor Scripting Improvements

Stefan Hajnoczi stefanha at gmail.com
Sun Mar 14 05:21:11 EDT 2010


if ( rc | shell_exit_flag ) {

The bitwise OR saves a few bytes compared to logical OR but looks odd.
 On my system I can get the same size using:

while ( ! shell_exit_flag && offset < image->len ) {

Stefan


More information about the gPXE-devel mailing list