[BACK]Return to buffer.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/buffer.c between version 1.68 and 1.69

version 1.68, 2008/09/15 16:11:35 version 1.69, 2009/06/02 18:52:42
Line 111 
Line 111 
  * Ask for the name. Look it up (don't get too   * Ask for the name. Look it up (don't get too
  * upset if it isn't there at all!). Clear the buffer (ask   * upset if it isn't there at all!). Clear the buffer (ask
  * if the buffer has been changed). Then free the header   * if the buffer has been changed). Then free the header
  * line and the buffer header. Bound to "C-X K".   * line and the buffer header. Bound to "C-X k".
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 int  int
Line 807 
Line 807 
 }  }
   
 /*  /*
  * Ensures a buffer has not been modified elsewhere.   * Ensures a buffer has not been modified elsewhere; e.g. on disk.
  * Returns TRUE if it has NOT. FALSE or ABORT otherwise   * Prompt the user if it has.
    * Returns TRUE if it has NOT (i.e. buffer is ok to edit).
    * FALSE or ABORT otherwise
  */   */
 int  int
 checkdirty(struct buffer *bp)  checkdirty(struct buffer *bp)

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69