comparison src/fileio.c @ 78501:1677cf1c2509

Replace `iff' in comments.
author Glenn Morris <rgm@gnu.org>
date Wed, 08 Aug 2007 07:49:21 +0000
parents d22d1c8033b8
children ac06b6d5fee4 e5a68f18fcb9
comparison
equal deleted inserted replaced
78500:f3583f35fc6a 78501:1677cf1c2509
5189 /* 5189 /*
5190 * Kludge Warning: The VMS C RTL likes to insert carriage returns 5190 * Kludge Warning: The VMS C RTL likes to insert carriage returns
5191 * if we do writes that don't end with a carriage return. Furthermore 5191 * if we do writes that don't end with a carriage return. Furthermore
5192 * it cannot handle writes of more then 16K. The modified 5192 * it cannot handle writes of more then 16K. The modified
5193 * version of "sys_write" in SYSDEP.C (see comment there) copes with 5193 * version of "sys_write" in SYSDEP.C (see comment there) copes with
5194 * this EXCEPT for the last record (iff it doesn't end with a carriage 5194 * this EXCEPT for the last record (if it doesn't end with a carriage
5195 * return). This implies that if your buffer doesn't end with a carriage 5195 * return). This implies that if your buffer doesn't end with a carriage
5196 * return, you get one free... tough. However it also means that if 5196 * return, you get one free... tough. However it also means that if
5197 * we make two calls to sys_write (a la the following code) you can 5197 * we make two calls to sys_write (a la the following code) you can
5198 * get one at the gap as well. The easiest way to fix this (honest) 5198 * get one at the gap as well. The easiest way to fix this (honest)
5199 * is to move the gap to the next newline (or the end of the buffer). 5199 * is to move the gap to the next newline (or the end of the buffer).