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

Diff of /lbbs/src/file_loader.c

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

Revision 1.3 by sysadm, Sat May 17 05:54:42 2025 UTC Revision 1.4 by sysadm, Sat May 17 05:59:14 2025 UTC
# Line 53  int file_loader_init() Line 53  int file_loader_init()
53    
54  static void trie_file_dict_cleanup_cb(const char *filename, int64_t shmid)  static void trie_file_dict_cleanup_cb(const char *filename, int64_t shmid)
55  {  {
         log_std("Cleanup: %s %ld\n", filename, shmid);  
56          if (shmctl((int)shmid, IPC_RMID, NULL) == -1)          if (shmctl((int)shmid, IPC_RMID, NULL) == -1)
57          {          {
58                  log_error("shmctl(shmid=%d, IPC_RMID) error (%d)\n", (int)shmid, errno);                  log_error("shmctl(shmid=%d, IPC_RMID) error (%d)\n", (int)shmid, errno);


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

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