2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>

* psxfile01/test.c: truncate on /dev/console now works.
This commit is contained in:
Joel Sherrill
2008-07-17 21:23:19 +00:00
parent ffb9eeb5ce
commit 05480bb8be
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c: truncate on /dev/console now works.
2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxrwlock01/main.c, psxspin01/main.c: Now accounts for extra stack

View File

@@ -481,7 +481,7 @@ int main(
/* try to truncate the console and see what happens */
status = truncate( "/dev/console", 40 );
assert(status == -1 );
assert( status == 0 );
puts( "truncate /tmp/j to length of 0" );
status = truncate( "/tmp/j", 0 );