Hm, I wouldn't have changed 'ip', as that name is used in other places
as well, but OK.

The attached patch fixes g++ compilation broken by Troman's commit. The
removed casts inspired a new SVN rule: "ALWAYS do 'svn up' before 'svn
diff' (and fix conflicts, if necessary)." I guess I should make a new
draft for the SVN guidelines soon.

The removed inline was necessary for g++ to actually find the function
when linking. "extern inline" doesn't really make sense. If we want to
keep the function inlined (probably not necessary, as the compiler will
inline functions when optimizing*), we can add it to
lib/script/script.h, but then we have to include the RetStackPos
variable there as well.

* That means we could remove all 'inline's and just let the compiler
decide.

-- 
Besides, REAL computers have a rename() system call.    :-)
                -- Larry Wall in <[EMAIL PROTECTED]>

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to