]> Devi Nivas Git - cs3210-lab1.git/commit
Fix unsigned conversion bug.
authorPeter H. Froehlich <peter.hans.froehlich@gmail.com>
Tue, 27 Sep 2016 20:58:29 +0000 (16:58 -0400)
committerFrans Kaashoek <kaashoek@mit.edu>
Tue, 31 Jan 2017 00:31:24 +0000 (19:31 -0500)
commite916d668f7b184c41ee3d912ccda8cc7ca4aa765
tree315e85ce1da63dd0452130484942a81efd4ae111
parent462930727fa9a9d61912264683d9f26e992412c6
Fix unsigned conversion bug.

Since readi() returns -1 for errors, checking with < against an unsigned
value is inadvisable. Checking with != works as intended however.
exec.c