[Freeciv-Dev] Another OS/2 issue
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
First an addition to the sys/select.h stuff:
given the configure patch one may adjust the lines in
sernet.c, civserver.c and mapview.c, too.
It seems to affect AIX, too. Another fine IBM product ;-)
Another fix is that the check in civserver assumes we're running
a real multi-user operating system and not a single-user one.
Here the only user is the super-user, at least if the
related calls exist. Here it does and unless one find a more
sophisticated catch I need
--- civserver.c.orig Tue Jul 27 01:36:36 1999
+++ civserver.c Tue Jul 27 01:37:46 1999
@@ -142,12 +142,14 @@
int save_counter=0;
int loglevel=LOG_NORMAL;
+#ifndef __EMX__
if (!getuid() || !geteuid()) {
fprintf(stderr, "%s: Fatal error: you're trying to run me as superuser!\n",
(argv[0] ? argv[0] : "freeciv_server"));
fprintf(stderr,"Use a non-privileged account instead.\n");
exit(1);
}
+#endif
strcpy(metaserver_info_line, DEFAULT_META_SERVER_INFO_STRING);
------------------------------------------------------------------
Alexander Mai
st002279@xxxxxxxxxxxxxxxxxxxxxx
------------------------------------------------------------------
- [Freeciv-Dev] Another OS/2 issue,
Alexander Mai <=
|
|