/[LeafOK_CVS]/lbbs/src/screen.c
ViewVC logotype

Diff of /lbbs/src/screen.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.99 by sysadm, Tue Jun 17 02:06:48 2025 UTC Revision 1.101 by sysadm, Wed Jun 18 02:29:54 2025 UTC
# Line 14  Line 14 
14   *                                                                         *   *                                                                         *
15   ***************************************************************************/   ***************************************************************************/
16    
 #define _POSIX_C_SOURCE 200809L  
   
17  #include "screen.h"  #include "screen.h"
18  #include "bbs.h"  #include "bbs.h"
19  #include "common.h"  #include "common.h"
# Line 24  Line 22 
22  #include "io.h"  #include "io.h"
23  #include "editor.h"  #include "editor.h"
24  #include "file_loader.h"  #include "file_loader.h"
25    #include "login.h"
26  #include <fcntl.h>  #include <fcntl.h>
27  #include <ctype.h>  #include <ctype.h>
28  #include <string.h>  #include <string.h>
# Line 495  int display_file(const char *filename, i Line 494  int display_file(const char *filename, i
494                  return KEY_NULL;                  return KEY_NULL;
495          }          }
496    
497            if (user_online_update("VIEW_FILE") < 0)
498            {
499                    log_error("user_online_update(VIEW_FILE) error\n");
500            }
501    
502          ret = display_data(p_data, line_total, p_line_offsets, eof_exit, display_file_key_handler, DATA_READ_HELP);          ret = display_data(p_data, line_total, p_line_offsets, eof_exit, display_file_key_handler, DATA_READ_HELP);
503    
504          if (detach_file_shm(p_shm) < 0)          if (detach_file_shm(p_shm) < 0)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1