While I was making a turtle-run tree farm, a small error in my coding caused a turtle to place a log instead of a sapling. What ended up happening was that, because this is minecraft 1.3.2, the log was placed sideways. The program had been running for quite some time with logs in the slot of saplings, but I noticed that every time it reached a log it had placed, it thought the log was the base of a tree, which shouldn't have happened. The turtle should have compared that placed log, which it thought was a sapling, to the logs in its inventory, which it also thinks are saplings, found them to be the same, and continued going.
It appears that the turtle also compares damage values, which in most cases would be a beneficial feature, except in the case of logs. Because sideways logs have a different damage value, turtle.compare() returns sideways logs as being a different item than logs in an inventory.
Since it is impossible to get sideways logs as an item, in situations where a turtle is roaming while looking for wood (such as in this http://www.computerc...62-competition/ ) and comes across a large oak tree, it wouldn't be able to identify the branches as being logs.
I propose that the turtle.compare() function should be changed so that logs of the same type (birch, spruce, oak) return as the same item, ignoring the damage value denoting them as being sideways logs.
EDIT: I am using computercraft 1.42, so if this has been changed in 1.43, somebody please tell me.