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

Diff of /lbbs/src/main.c

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

Revision 1.81 by sysadm, Tue Nov 18 15:15:18 2025 UTC Revision 1.82 by sysadm, Tue Nov 18 15:38:49 2025 UTC
# Line 142  int main(int argc, char *argv[]) Line 142  int main(int argc, char *argv[])
142                  fprintf(stderr, "chdir(..) error: %d\n", errno);                  fprintf(stderr, "chdir(..) error: %d\n", errno);
143                  return -1;                  return -1;
144          }          }
 #ifdef __CYGWIN__  
         if (chdir("..") < 0)  
         {  
                 fprintf(stderr, "chdir(..) error: %d\n", errno);  
                 return -1;  
         }  
 #endif  
145    
146          // Apply the specified locale          // Apply the specified locale
147          if (setlocale(LC_ALL, "en_US.UTF-8") == NULL)          if (setlocale(LC_ALL, "en_US.UTF-8") == NULL)


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

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