Guest User

Waffle 1.64 linking problems on FreeBSD 12

a guest
Nov 5th, 2016
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 25.04 KB | None | 0 0
  1. /****** The missing functions are:
  2.  
  3. NOTE: I've tried compiling wiht -L/lib -L/usr/lib on TrueOS,
  4. uname="FreeBSD trueosvm 12.0-CURRENT FreeBSD 12.0-CURRENT #14 1717ae3(drm-next-4.7): Fri Oct 28 13:49:49 UTC 2016    
  5. root@gauntlet:/usr/obj/usr/src/sys/GENERIC  amd64"
  6.  
  7. changedir
  8. direx
  9. exists
  10. firstpw
  11. follow
  12. getuser
  13. make
  14. makedir
  15. neat
  16. nextpw
  17. own
  18. ran
  19. randomize
  20. removedir
  21. savepw
  22. spawn
  23. stricmp
  24. strnicmp
  25. syshell
  26. systime
  27. timestring
  28.  
  29. *******/
  30.  
  31.  
  32.  
  33.  
  34.  
  35. /*---------------------------- START changedir --------------------------------*/
  36. command.c:  changedir (xUser);
  37. command.c:  changedir (user->name);
  38. extern.c:    changedir (ex->dir);
  39. extern.c:    changedir (here);
  40. files.c:    return changedir (dir);
  41. files.c:    return changedir (dir);
  42.  
  43.  
  44.  
  45.  
  46.  
  47. /*---------------------------- START direx --------------------------------*/
  48. files.c:  else if (!direx (dir))
  49. files.c:      if (!locate (temp, "..") && direx (temp))
  50. files.c:  else if (!direx (dir))
  51. files.c:      if (!locate (temp, "..") && direx (temp))
  52. forum.c:  if (active->type == forum_LOCAL && !direx (filename))
  53. mail.c:      if (!direx (filename))
  54. mail.c:      if (!direx (filename))
  55. startup.c:  if (!direx (xTemp))
  56. startup.c:    if (direx (temp) && !any (temp, WILD, 0L))
  57. waffle.c:  if (!direx (filename)) makepath (filename, PUBLIC);
  58.  
  59.  
  60.  
  61.  
  62.  
  63. /*---------------------------- START exists --------------------------------*/
  64. admin.c:      print ("admin: User %s exists\n", name);
  65. admin.c:      print ("admin: User %s exists\n", arg2);
  66. command.c:      if (exists (buf))
  67. command.c:    if (exists (file))
  68. command.c:  if (exists (planfile))
  69. command.c:  if (exists (descend))
  70. command.c:  if (!locate (subtopic, "..") && exists (subtopic))
  71. edit.c:    if ((disked = exists (editFILE)) != TRUE)
  72. extern.c:  else if (exists (command))
  73. files.c:  if (exists ("@banner"))
  74. files.c:  if (exists (file))
  75. files.c:    print ("File exists - use another name.\n");
  76. files.c:  if (exists ("@files"))
  77. files.c:  else if (exists (file))
  78. files.c:    print ("File exists - use another name.\n");
  79. files.c:  if (!exists (file))
  80. files.c:  if (exists (temp))
  81. files.c:  if (exists (temp))
  82. files.c:  if (exists ("@files"))
  83. forum.c:  if (!exists (joinfile))
  84. forum.c:  if (!exists (joinfile))
  85. forum.c:  if (exists (lastfile)) readtext (lastfile);
  86. forum.c:  if (exists (filename))
  87. forum.c:      if (!exists (filename))
  88. login.c:  if (!exists (buf))
  89. mail.c:      if (exists (filename))
  90. mail.c:  if (exists (buf))
  91. mail.c:    ex = exists (filename);
  92. mail.c:    if (exists (filename))
  93. mail.c: *  If /user/username/sig exists, add it to the end
  94. mail.c:  if (exists (sigfile))
  95. mail.c:  if (exists (sigfile))
  96. mail.c: *  an alias exists for the name in question.
  97. mail.c:  already exists */
  98. startup.c:  if (!exists (dataFILE) || !exists (passFILE))
  99. startup.c:    if (exists (temp))
  100. startup.c:  if (exists (filename))
  101. waffle.c:  if (exists (temp)) type (temp);
  102. waffle.c: *  the separator character 'sep' occur. It is assumed that there exists
  103.  
  104.  
  105.  
  106.  
  107.  
  108. /*---------------------------- START firstpw --------------------------------*/
  109. admin.c:  for (pw = firstpw (NIL); pw; pw = nextpw())
  110. command.c:  for (pw = firstpw (args); pw; pw = nextpw())
  111. command.c:  for (pw = firstpw (NIL); pw; pw = nextpw())
  112. pass.c: *     Load account, also called as a firstpw() would be.
  113. pass.c: *   PROFILE *firstpw (name)
  114. pass.c: *     Called after firstpw() or getuser(), loads next account.
  115. pass.c: *  in behavior to firstpw() except it will return NULL when account
  116. pass.c:PROFILE *firstpw (name)
  117.  
  118.  
  119.  
  120.  
  121.  
  122. /*---------------------------- START follow --------------------------------*/
  123. forum.c: *  Midlevel message entering, called from post() and followup() with
  124. forum.c: *    Followup-To: /dev/null    - Author wants NO followups
  125. forum.c:followup()
  126. forum.c:     followups if they are requested */
  127. forum.c:    input ("Send MAIL followup to author? ");
  128. forum.c:    if (yes) follow();
  129. forum.c:    print ("Can't followup.\n");
  130. forum.c:      input ("Direct followup to %s? ", oFollowupto);
  131. forum.c:    print ("Message too long to followup.\n");
  132. forum.c:moderated (follow)
  133. forum.c:  int follow;
  134. forum.c:    if (follow == FOLLOW)
  135. forum.c:    sendletter (moderator, follow);
  136. forum.c: *  to NEW scan, as we allow the NEXT command to skip to the following
  137. forum.c:                  followup();
  138. forum.c:      case 'M': follow();
  139. mail.c:          follow();
  140. mail.c:sendletter (name, follow)
  141. mail.c:  char *name; int follow;
  142. mail.c:  if (follow == NEW)
  143. mail.c:  if (edit (follow))
  144. mail.c:follow()
  145. mail.c:    /* Snarf address following p, for attempting
  146. mail.c:       name following the last bang. We only want the last host */
  147. startup.c:    /* The following lines must be removed if running NNTP */
  148. text.c:  "Followup-To", /* Where followups are to be sent */
  149. text.c: *  The following are all aliases for items in the header[] array.
  150. text.c:     *followupto = header[11],
  151. text.c:       /* The following is used when processing mail from retarded
  152. text.c:       /* The following is used when processing mail from retarded
  153. text.c:  strcpy (oFollowupto, followupto);
  154. unix.c: *  Return following numbered file. If passed 4 it will
  155. waffle.c: *  Substring search. This returns the original part of s1 following
  156.  
  157.  
  158.  
  159.  
  160.  
  161. /*---------------------------- START getuser --------------------------------*/
  162. admin.c:      if ((profile = getuser ("default")) == NULL)
  163. admin.c:      profile = getuser (arg1);
  164. admin.c:  if ((profile = getuser (name)) == NULL)
  165. admin.c:    user = getuser (profile->name);
  166. admin.c:  if ((pw = getuser (name)) == NULL)
  167. admin.c:  if ((profile = getuser (name)) == NULL)
  168. admin.c:    user = getuser (profile->name);
  169. command.c:      else if ((pw = getuser (list [i])) == NULL)
  170. command.c:           in the address prevents getuser */
  171. login.c:    profile = getuser (prelogin);
  172. login.c:  profile = getuser (username);
  173. login.c:  if ((profile = getuser ("default")) == NULL)
  174. login.c:  if ((user = getuser (name)) == NULL)
  175. mail.c:  if ((profile = getuser (address)) != NULL)
  176. pass.c: *   PROFILE *getuser (name)
  177. pass.c: *     Called after firstpw() or getuser(), loads next account.
  178. pass.c: *  Routines which call getuser() or nextpw() have the responsibility
  179. pass.c:PROFILE *getuser (name)
  180.  
  181.  
  182.  
  183.  
  184.  
  185. /*---------------------------- START make --------------------------------*/
  186. admin.c:  make (newFILE, "admin", "password.new");
  187. admin.c:  make (newFILE, "admin", "password.new");
  188. command.c:    make (buf, "words", strlwr (*words));
  189. command.c:      make (buf, "extern", *words);
  190. command.c:    make (file, "admin", strlwr (log));
  191. command.c:     this doesn't make much sense with FINGER */
  192. command.c:    make (cookieFILE, "system", filename);
  193. command.c:  make (cookieFILE, "system", filename);
  194. command.c:  make (cookieFILE, "system", filename);
  195. extern.c:  make (buf, "extern", set);
  196. extern.c:  make (buf, "extern", set);
  197. extern.c:  make (command, "extern", set);
  198. extern.c:  make (command, "menus", set);
  199. extern.c:    make (filename, "system", "stamp");
  200. extern.c:    make (filename, "system", "stamp");
  201. forum.c:    makeid (messageid);
  202. forum.c:    makeid (messageid);
  203. forum.c:    makepath (filename, PUBLIC);
  204. login.c:  make (buf, "system", "signup");
  205. login.c: *  list of troublemakers, undesirables, and naughty bits.
  206. login.c:  make (buf, "system", "refuse");
  207. mail.c:  maketo (destination);
  208. mail.c:    maketo (line);
  209. mail.c:  make (sigfile, "system", "sig");
  210. mail.c:maketo (string)
  211. mail.c:  makeid (messageid);
  212. mail.c: makepath (filename, PUBLIC);
  213. mail.c: makepath (filename, PRIVATE);
  214. startup.c:  make (callersFILE, "admin", "callers");
  215. startup.c:  make (cookieFILE, "system", "cookies");
  216. startup.c:  make (dataFILE, "system", "data");
  217. startup.c:  make (dirsFILE, "system", "dirs");
  218. startup.c:  make (indexFILE, "system", "index");
  219. startup.c:  make (journalFILE, "system", "journal");
  220. startup.c:  make (passFILE, "admin", "password");
  221. startup.c:  make (requestFILE, "admin", "requests");
  222. startup.c:    makepath (xTemp, PUBLIC);
  223. startup.c:  make (filename, "system", file);
  224. startup.c:  make (buf, "system", Forum->com);
  225. startup.c:  make (temp, "vote", "current");
  226. text.c: *  Doing it this way makes neater code than with #defines..
  227. text.c:makeid (string)
  228. waffle.c:  make (filename, "admin", file);
  229. waffle.c:  make (temp, "system", filename);
  230. waffle.c:  make (temp, "menus", item);
  231. waffle.c:  if (!direx (filename)) makepath (filename, PUBLIC);
  232. waffle.c:makepath (dir, mode)
  233. waffle.c:   makedir (dir, mode);
  234. waffle.c:    makedir (dir, mode);
  235.  
  236.  
  237.  
  238.  
  239.  
  240. /*---------------------------- START makedir --------------------------------*/
  241. waffle.c:   makedir (dir, mode);
  242. waffle.c:    makedir (dir, mode);
  243.  
  244.  
  245.  
  246.  
  247.  
  248. /*---------------------------- START neat --------------------------------*/
  249. command.c:    panic ("Edit %s", neat (file));
  250. files.c:      panic ("Denied %s", neat (dir));
  251. mail.c:      file = neat (filename);
  252. startup.c:  case 'f': blok ("%s", d, neat (getdir()));
  253. text.c: *  Doing it this way makes neater code than with #defines..
  254. text.c:      input ("\nCreate %s? ", neat (filename));
  255. text.c: *  our idea, but pretty neat..
  256. unix.c: *  directory. Run through neat() though this probably won't
  257. unix.c:  return neat (getwd (path));
  258. unix.c:  ret = neat (getcwd (path, 1024));
  259. waffle.c:    error ("type", neat (filename));
  260.  
  261.  
  262.  
  263.  
  264.  
  265. /*---------------------------- START nextpw --------------------------------*/
  266. admin.c:  for (pw = firstpw (NIL); pw; pw = nextpw())
  267. command.c:  for (pw = firstpw (args); pw; pw = nextpw())
  268. command.c:  for (pw = firstpw (NIL); pw; pw = nextpw())
  269. pass.c: *   PROFILE *nextpw()
  270. pass.c: *  Routines which call getuser() or nextpw() have the responsibility
  271. pass.c:static int _nextpw;
  272. pass.c:    _nextpw = 0;
  273. pass.c:  _nextpw++;
  274. pass.c:  _nextpw = 1;
  275. pass.c:  return nextpw();
  276. pass.c:PROFILE *nextpw()
  277. pass.c:  pw = loadpw (_nextpw++);
  278. pass.c:      _nextpw = mid;
  279. pass.c:  lastpw = _nextpw = (low > hi) ? low : hi;
  280.  
  281.  
  282.  
  283.  
  284.  
  285. /*---------------------------- START own --------------------------------*/
  286. admin.c:    default : print ("admin: Unknown command\n");
  287. admin.c: *  in case the system is shutdown during writes. Copy entries up to the
  288. admin.c:  print ("  Upload: %d\nDownload: %d\n\n",
  289. admin.c:     pw->upload, pw->download);
  290. admin.c:  intinpu ("Download", &pw->download);
  291. command.c:    login(), bye(), mail(), newscan(), shownode(), post(), scan(),
  292. command.c:  "node", shownode,
  293. command.c: *  Set the baud rate (shown in the LIST command) to something
  294. command.c: *  fictitious. For unknown reasons people enjoy changing this to
  295. command.c:shownode()
  296. command.c: *  specification of whether or not the phone number should be shown.
  297. command.c:           uploaded or downloaded any files */
  298. command.c:        if (pw->upload || pw->download)
  299. command.c:          print   ("     U/D: %dk uploaded %dk downloaded\n",
  300. command.c:                     pw->upload, pw->download);
  301. command.c:  own (planfile, pw->name, "plan");
  302. files.c:    print ("Must be at least %d to download..\n", xDL_slow);
  303. files.c:      user->download += size;
  304. files.c: *  Check that a user's upload_to_download ratio
  305. files.c:  if (user->download >= xGratis && xRatio [acc])
  306. files.c:    if (user->download / (user->upload + 1) > xRatio [acc])
  307. files.c:      user->download / (user->upload + 1), xRatio [acc]);
  308. forum.c:      case 'D': down_message (current);
  309. forum.c:  own (joinfile, user->name, "join");
  310. forum.c: *  Download a message using the last selected protocol.
  311. forum.c:down_message (message)
  312. forum.c:    input ("Download #%ld via %c protocol? ",
  313. forum.c:     since they will be owned by waffle and not news */
  314. login.c:  own (line, user->name, file);
  315. mail.c:          down_message (number);
  316. mail.c:  own (buf, user->name, "aliases");
  317. mail.c:  own (filename, name, name);
  318. mail.c:    print (" shown ]\n\n");
  319. mail.c:  own (sigfile, user->name, sig);
  320. mail.c:  own (forwarding, address, "forward");
  321. pass.c:  pw->download = fetchint();
  322. pass.c:             pw->download, pw->mail, pw->first, pw->level);
  323. startup.c:char *xNode = "unknown";
  324. startup.c:char *xUucpname = "unknown";
  325. startup.c:       remove a directory; use setuid at own risk */
  326. startup.c:  case 's': blok ("%d", d, user->download);
  327. text.c: *  Search all known header items for a given target string,
  328. unix.c:  termcap ("unknown");
  329. unix.c:    term = "unknown";
  330. unix.c:#define down(c) (c >= 'A' && c <= 'Z' ? c + ' ' : c)
  331. unix.c:    c1 = down (*s1);
  332. unix.c:    c2 = down (*s2);
  333. unix.c:    c1 = down (*s1);
  334. unix.c:    c2 = down (*s2);
  335. waffle.c:  own (filename, user->name, file);
  336.  
  337.  
  338.  
  339.  
  340.  
  341. /*---------------------------- START ran --------------------------------*/
  342. admin.c: *  users, but only if there exist a sufficient number to warrant it.
  343. command.c: *  the user has done any transfers, display that as well. Also
  344. command.c:    if (*xComment && xCh_rank < 10)
  345. command.c:      case 'R': if (user->access < xCh_rank) goto DENY;
  346. command.c:        /* Transfer statistics, if they have ever
  347. command.c:    randomize();
  348. command.c:    fseek (fp, ran (length), 0);
  349. edit.c:      case 'R':      edit_rank();            break;
  350. edit.c:static int range (message)
  351. edit.c:  else if (!get_range())
  352. edit.c:  status = get_range();
  353. edit.c:    print ("Line out of range 1-%d\n", top);
  354. edit.c:  if (range ("Delete"))
  355. edit.c:  if (range ("Edit"))
  356. edit.c:  else if (range ("Insert"))
  357. edit.c:  if (get_range())
  358. edit.c:edit_rank()
  359. edit.c:int get_range()
  360. files.c: *  11/1/90 - Transfer Section
  361. files.c:      logtrans ("S", file, size);
  362. files.c:    logtrans ("R", file, size);
  363. files.c:logtrans (command, file, size)
  364. files.c:  logfile ("transfer", temp);
  365. forum.c:extern int WW_read(), WW_range();
  366. forum.c:  { nothing, nothing, WW_read, WW_range, WW_next };
  367. forum.c:  { nothing, nothing, WW_read, WW_range, WW_next };
  368. forum.c:      (*net.range)();
  369. forum.c:      case '#': build ("%N: ranges %[-%], Next/%+%|", NIL);
  370. forum.c:          print ("Message out of range.\n");
  371. forum.c: *  Use the highest_read routine to provide a smooth transition. Only
  372. forum.c:    (*net.range)();
  373. forum.c:    present = Forum; active = Active; (*net.range)();
  374. forum.c:      (*net.range)();
  375. forum.c:      (*net.range)();
  376. forum.c: *  specific directory read routine derange() - pretty deranged.
  377. forum.c:WW_range()
  378. forum.c:  derange (wild, &active->low, &active->high);
  379. login.c: *  Newuser questionaire. Read the signup file and grant
  380. mail.c:      case '#':  print ("Mail ranges 1-%d", numlet);
  381. mail.c:                   print ("\nMessage out of range.\n");
  382. mail.c:  if (*user->comment && xCh_rank < 10)
  383. mail.c:  /* Find range of mail to be listed, specified by a number
  384. news.c:extern int openNNTP(), closeNNTP(), readNNTP(), rangeNNTP();
  385. news.c:  { openNNTP, closeNNTP, readNNTP, rangeNNTP, nextNNTP };
  386. news.c:rangeNNTP()
  387. pass.c: *  Return index entry into password file. This is NOT guaranteed to
  388. pass.c:/* Binary search of password file. This is guaranteed to
  389. startup.c:    xCh_rank = 10,    /* change rank %R */
  390. startup.c:  "ch_rank",  INT,        &xCh_rank,  NULL,       NULL,
  391. startup.c:     because of the transience of its contents */
  392. startup.c: *  must be set to their defaults or things get really strange.
  393. text.c:  "Path",        /* Usenet article transit path */
  394. text.c: *  Indices are subject to change without notice, but are guaranteed
  395. unix.c: *  Transforms a time_t (usually long) Unix 1970+ time into
  396. unix.c:derange (dir, low, high)
  397. waffle.c: *  In addition to /waffle/system/events, the /waffle/system/transfers
  398. waffle.c: *  transform ASCII dates or other date formats into canonical time_t.
  399.  
  400.  
  401.  
  402.  
  403.  
  404. /*---------------------------- START randomize --------------------------------*/
  405. command.c:    randomize();
  406.  
  407.  
  408.  
  409.  
  410.  
  411. /*---------------------------- START removedir --------------------------------*/
  412. startup.c:      removedir (temp);
  413.  
  414.  
  415.  
  416.  
  417.  
  418. /*---------------------------- START savepw --------------------------------*/
  419. admin.c:      savepw (profile);
  420. admin.c:  savepw (profile);
  421. admin.c:      savepw (profile);
  422. command.c:      default : savepw (user);
  423. extern.c:          savepw (user);
  424. login.c:  savepw (profile);
  425. pass.c: *   int savepw (PROFILE *user)
  426. pass.c:int savepw (pw)
  427. startup.c:    savepw (user);
  428.  
  429.  
  430.  
  431.  
  432.  
  433. /*---------------------------- START spawn --------------------------------*/
  434. extern.c:  return spawn (remote, argvec);
  435. unix.c:    panic ("spawn: can't fork, %s", *argv);
  436.  
  437.  
  438.  
  439.  
  440.  
  441. /*---------------------------- START stricmp --------------------------------*/
  442. admin.c:      if (!stricmp (user->name, profile->name))
  443. admin.c:      if (!stricmp (user->name, profile->name))
  444. command.c:    if (!stricmp (verbs[i].name, *words))
  445. command.c:      if (!stricmp (verbs[i].name, *Disable))
  446. command.c:        if (stricmp (editor, "none") &&
  447. command.c:    if (sysop && !stricmp (words [1], "add"))
  448. command.c:    if (!stricmp (log, logs [numlogs].name))
  449. command.c:    else if (!len || first == ' ' || first == '.' || !stricmp (line, "Q"))
  450. command.c:  if (!stricmp (args, "list") || atoi (args))
  451. command.c:  else if (!stricmp (args, "add"))
  452. command.c:  else if (!stricmp (line, "cookie") || !stricmp (line, "bufu") ||
  453. command.c:        !stricmp (line, "oreo") || !stricmp (line, "list"))
  454. command.c:    if (pw->access == lev && stricmp (pw->name, "default"))
  455. edit.c:  return ! (*(user->editor) && stricmp (user->editor, "none") &&
  456. edit.c:       stricmp (user->editor, "line"));
  457. edit.c:  if (!stricmp (string, "/S") ||
  458. edit.c:      !stricmp (string, ".S"))
  459. edit.c:  if (!stricmp (string, "/Q") ||
  460. edit.c:      !stricmp (string, ".Q"))
  461. edit.c:  if (!stricmp (string, "/EX") ||
  462. edit.c:      !stricmp (string, ".EX"))
  463. edit.c:  if (!stricmp (string, "/") ||
  464. edit.c:      !stricmp (string, "."))
  465. extern.c:      if (!stricmp (option, "access" )) flag->access = atoi (arg);
  466. extern.c:      else if (!stricmp (option, "command")) flag->command = strdup (arg);
  467. extern.c:      else if (!stricmp (option, "deny"   )) flag->deny++;
  468. extern.c:      else if (!stricmp (option, "dir"    )) flag->dir = strdup (arg);
  469. extern.c:      else if (!stricmp (option, "drop"   )) flag->drop++;
  470. extern.c:      else if (!stricmp (option, "exit"   )) flag->exit = atoi (arg);
  471. extern.c:      else if (!stricmp (option, "group"  )) flag->group = strdup (arg);
  472. extern.c:      else if (!stricmp (option, "local"  )) flag->local = LOCAL;
  473. extern.c:      else if (!stricmp (option, "log"    )) flag->log++;
  474. extern.c:      else if (!stricmp (option, "logout" )) flag->logout = strdup (arg);
  475. extern.c:      else if (!stricmp (option, "pass"   )) flag->pass = strdup (arg);
  476. extern.c:      else if (!stricmp (option, "priv"   )) flag->priv = atoi (arg);
  477. extern.c:      else if (!stricmp (option, "result" )) flag->result++;
  478. extern.c:      else if (!stricmp (option, "screen" )) flag->screen++;
  479. extern.c:      else if (!stricmp (option, "shell"  )) flag->shell = 1;
  480. extern.c:      else if (!stricmp (option, "slash"  )) flag->slash++;
  481. extern.c:      else if (!stricmp (option, "then"   )) flag->then = strdup (arg);
  482. extern.c:      else if (!stricmp (option, "waffle" )) flag->shell = 2;
  483. files.c:      if (stricmp (line, op.pass))
  484. files.c:  else if (sysop || !stricmp (homedir, dir) || !stricmp (homedir+2, dir))
  485. files.c:  else if (sysop || !stricmp (homedir, dir) || !stricmp (homedir+2, dir))
  486. forum.c:  if (stricmp (previous, active->com))
  487. forum.c:    if (stricmp (groups, active->com) && !enter (words [i]))
  488. forum.c:  if (!stricmp (oFollowupto, "poster"))
  489. forum.c:  if (!*oFrom || !*oSubject || !stricmp (oFollowupto, "/dev/null"))
  490. forum.c:    if (*oFollowupto && stricmp (oFollowupto, active->com))
  491. forum.c:  if (stricmp (previous, active->com))
  492. forum.c:          if (!stricmp (buf, Active->com))
  493. forum.c:    if (!stricmp (args, "LIST"))
  494. forum.c:    else if (!stricmp (args, "HELP"))
  495. forum.c:        if (!stricmp (Active->com, where) ||
  496. forum.c:        Active->alias && !stricmp (Active->alias, where))
  497. login.c:    if (!stricmp (line, *list))
  498. login.c:  if (!stricmp (line, "LOGIN"))
  499. login.c:  if (!stricmp (*words, "new"))
  500. login.c:  else if (!stricmp (*words, "type"))
  501. login.c:  else if (!stricmp (*words, "drop"))
  502. login.c:  else if (!stricmp (*words, "exit"))
  503. login.c:  if (parse_address (CHECK, name) || !stricmp (name, *xNew) ||
  504. login.c:       !stricmp (name, "LOGIN") || !stricmp (name, "ORPHAN"))
  505. login.c:    if (!stricmp (string, *quit++))
  506. mail.c: else if (!stricmp (username, user->name))
  507. mail.c: if (!stricmp (username, user->name))
  508. mail.c: if (!stricmp (address, buf))
  509. mail.c:    if (!stricmp (name, user->name) && numlet > user->mail)
  510. mail.c:  else if (!stricmp (args, "ALL"))
  511. mail.c:  else if (stricmp (name, user->name))
  512. mail.c:    if (stricmp (list [i], list [i-1]))
  513. mail.c:      if (!stricmp (Host, xNode) || !stricmp (Host, xUucpname))
  514. mail.c:   if (!stricmp (Host, *Alias))
  515. pass.c:    lex = stricmp (name, pwbuf);
  516. startup.c:        if (!stricmp (*xEcho, ttynam()))
  517. startup.c:      if (!stricmp (items->line, *words))
  518. startup.c:      if (!stricmp (option, "type"))
  519. startup.c:  if (!stricmp (arg, "USENET"))
  520. startup.c:  else if (!stricmp (arg, "LOCAL"))
  521. startup.c:      else if (!stricmp (option, "alias"))
  522. startup.c:      else if (!stricmp (option, "anon"))
  523. startup.c:      else if (!stricmp (option, "ask"))
  524. startup.c:      else if (!stricmp (option, "dir"))
  525. startup.c:      else if (!stricmp (option, "dist"))
  526. startup.c:      else if (!stricmp (option, "expire"))
  527. startup.c:      else if (!stricmp (option, "fast"))
  528. startup.c:      else if (!stricmp (option, "group"))
  529. startup.c:      else if (!stricmp (option, "hush"))
  530. startup.c:      else if (!stricmp (option, "junk"))
  531. startup.c:      else if (!stricmp (option, "keep"))
  532. startup.c:      else if (!stricmp (option, "mod"))
  533. startup.c:      else if (!stricmp (option, "name"))
  534. startup.c:      else if (!stricmp (option, "new"))
  535. startup.c:      else if (!stricmp (option, "post"))
  536. startup.c:      else if (!stricmp (option, "read"))
  537. startup.c:      else if (!stricmp (option, "sig"))
  538. startup.c:      else if (!stricmp (option, "solo"))
  539. startup.c:      else if (!stricmp (option, "spy"))
  540. startup.c:      else if (!stricmp (option, "warn"))
  541. startup.c:    if (!stricmp (*list, string))
  542. startup.c:    poofing = !stricmp (reason, "POOF");
  543. text.c:      if (!stricmp (items[i], *ignore))
  544. text.c:      if (!*header [i] && !stricmp (*List, items [i]))
  545. text.c:    if (!stricmp (items [i], item))
  546. unix.c:  if (!stricmp (term, "none"))
  547. unix.c:      if (!stricmp (name, "@") && !since)
  548. unix.c:int stricmp (s1, s2)
  549. waffle.c:    if (!stricmp (*++argv, "local"))
  550. waffle.c:    else if (!stricmp (*argv, "debug"))
  551. waffle.c:    else if (!stricmp (*argv, "term"))
  552. waffle.c:    else if (!stricmp (*argv, "online"))
  553.  
  554.  
  555.  
  556.  
  557.  
  558. /*---------------------------- START strnicmp --------------------------------*/
  559. command.c:    else if (!strnicmp (verbs[i].name, *words, length))
  560. command.c:    if (!priv && strnicmp (timestamp (ALL), user->laston, 9))
  561. extern.c:    if (!strnicmp (using, buf, length))
  562. extern.c:      if (!strnicmp (using, buf, length))
  563. extern.c:    if (!strnicmp (*words, buffer [i], length))
  564. forum.c:      case 'C': if (!strnicmp (*words, "CAN", 3))
  565. forum.c:      case 'F': if (!strnicmp (*words, "FOR", 3))
  566. login.c:    if ( ! (profile && !strnicmp (line, profile->pass, 8)
  567. login.c:  if (!strnicmp (user->laston, timestamp (DATE), 9))
  568. login.c:       if (!strnicmp (buffer [index] + 1, *item, 3))
  569. mail.c:        if (!strnicmp (line, "FOR", 3))
  570. mail.c:        if (!strnicmp (*words, "DO", 2))
  571. mail.c:    if (length == adrlen && !strnicmp (address, *Alias, length))
  572. text.c:        !strnicmp (buf, "From ", 5) || !strnicmp (buf, ">From ", 6))
  573. text.c:  if (!strnicmp (items[i], buf, strlen (items[i])) &&
  574. text.c:        !strnicmp (buf, "From ", 5) || !strnicmp (buf, ">From ", 6))
  575. text.c:  if (!strnicmp (items[i], buf, strlen (items[i])) &&
  576. text.c:  if (*oSubject && strnicmp (oSubject, "Re:", 3))
  577. unix.c:          if (!strnicmp (buffer [i], name, len))
  578. unix.c:int strnicmp (s1, s2, n)
  579. waffle.c:     if (!strnicmp (s1, s2, len))
  580.  
  581.  
  582.  
  583.  
  584.  
  585. /*---------------------------- START syshell --------------------------------*/
  586. extern.c:      case 1: status = syshell (remote, command);
  587.  
  588.  
  589.  
  590.  
  591.  
  592. /*---------------------------- START systime --------------------------------*/
  593. command.c:  ontime = (int) ( (systime (&now) - intime) / 60L );
  594. extern.c:    systime (&moment);
  595. files.c:  systime (&start);
  596. files.c:  timelimit += (systime (&end) - start) / 60L;
  597. forum.c:      sprintf (filename, "%s/%8.8x.waf", xTemp, systime ((time_t *) NULL));
  598. login.c:  systime (&then);
  599. login.c:  if (systime (&now) - then > 300)
  600. login.c:  systime (&intime);
  601. login.c:  systime (&intime);
  602. login.c:  left = timelimit - (int) ((systime (&now) - intime) / 60L);
  603. startup.c:    ontoday += (systime (&now)-intime)/60L;
  604. startup.c:  case 'O': blok ("%d", d, timelimit - (systime (&now) - intime) / 60L);
  605. startup.c:        case 'S': blok ("%d", d, (systime (&now) - intime) / 60L);
  606. text.c:  moment = systime (&moment) - 627777777L;
  607. waffle.c:  systime (&moment);
  608.  
  609.  
  610.  
  611.  
  612.  
  613. /*---------------------------- START timestring --------------------------------*/
  614. extern.c:      /* printf ("    Crontime = %s", timestring(&crontime)); */
  615. extern.c:      /* printf ("      Moment = %s", timestring(&moment)); */
  616. extern.c:      /* printf ("   Last Time = %s", timestring(&stamp)); */
  617. waffle.c:  cdate = timestring (&moment);
  618. waffle.c: *  or timestring() form, to Unix long integer.
Add Comment
Please, Sign In to add comment