libevent-svn-mingw.diff 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647
  1. === Makefile.am
  2. ==================================================================
  3. --- Makefile.am (revision 8794)
  4. +++ Makefile.am (local)
  5. @@ -1,6 +1,5 @@
  6. AUTOMAKE_OPTIONS = foreign no-dependencies
  7. -SUBDIRS = . sample test
  8. bin_SCRIPTS = event_rpcgen.py
  9. @@ -22,18 +21,34 @@
  10. lib_LTLIBRARIES = libevent.la
  11. +if BUILD_WIN32
  12. +
  13. +SUBDIRS = . sample
  14. +SYS_LIBS = -lws2_32
  15. +SYS_SRC = WIN32-Code/misc.c WIN32-Code/win32.c
  16. +SYS_INCLUDES = -IWIN32-Code
  17. +
  18. +else
  19. +
  20. +SUBDIRS = . sample test
  21. +SYS_LIBS =
  22. +SYS_SRC =
  23. +SYS_INCLUDES =
  24. +
  25. +endif
  26. +
  27. libevent_la_SOURCES = event.c buffer.c evbuffer.c log.c event_tagging.c \
  28. - http.c evhttp.h http-internal.h evdns.c evdns.h
  29. + http.c evhttp.h http-internal.h evdns.c evdns.h $(SYS_SRC)
  30. libevent_la_LIBADD = @LTLIBOBJS@
  31. libevent_la_LDFLAGS = -release @VERSION@ -version-info 1:3:0
  32. include_HEADERS = event.h evhttp.h evdns.h
  33. -INCLUDES = -Icompat
  34. +INCLUDES = -Icompat $(SYS_INCLUDES)
  35. man_MANS = event.3
  36. verify: libevent.la
  37. - cd $(srcdir)/test && make verify
  38. + cd $(srcdir)/test && make verify
  39. DISTCLEANFILES = *~
  40. === WIN32-Code/misc.c
  41. ==================================================================
  42. --- WIN32-Code/misc.c (revision 8794)
  43. +++ WIN32-Code/misc.c (local)
  44. @@ -4,6 +4,12 @@
  45. #include <sys/timeb.h>
  46. #include <time.h>
  47. +#ifdef __GNUC__
  48. +/*our prototypes for timeval and timezone are in here, just in case the above
  49. + headers don't have them*/
  50. +#include "misc.h"
  51. +#endif
  52. +
  53. /****************************************************************************
  54. *
  55. * Function: gettimeofday(struct timeval *, struct timezone *)
  56. === WIN32-Code/misc.h
  57. ==================================================================
  58. --- WIN32-Code/misc.h (revision 8794)
  59. +++ WIN32-Code/misc.h (local)
  60. @@ -1,6 +1,9 @@
  61. #ifndef MISC_H
  62. #define MISC_H
  63. +struct timezone;
  64. +struct timeval;
  65. +
  66. int gettimeofday(struct timeval *,struct timezone *);
  67. #endif
  68. === WIN32-Code/win32.c
  69. ==================================================================
  70. --- WIN32-Code/win32.c (revision 8794)
  71. +++ WIN32-Code/win32.c (local)
  72. @@ -60,7 +60,8 @@
  73. /* MSDN says this is required to handle SIGFPE */
  74. volatile double SIGFPE_REQ = 0.0f;
  75. -int signal_handler(int sig);
  76. +static void signal_handler(int sig);
  77. +
  78. void signal_process(void);
  79. int signal_recalc(void);
  80. @@ -207,8 +208,9 @@
  81. }
  82. int
  83. -win32_insert(struct win32op *win32op, struct event *ev)
  84. +win32_insert(void *op, struct event *ev)
  85. {
  86. + struct win32op *win32op = op;
  87. int i;
  88. if (ev->ev_events & EV_SIGNAL) {
  89. @@ -253,8 +255,9 @@
  90. }
  91. int
  92. -win32_del(struct win32op *win32op, struct event *ev)
  93. +win32_del(void *op, struct event *ev)
  94. {
  95. + struct win32op *win32op = op;
  96. int i, found;
  97. if (ev->ev_events & EV_SIGNAL)
  98. @@ -304,9 +307,10 @@
  99. */
  100. int
  101. -win32_dispatch(struct event_base *base, struct win32op *win32op,
  102. +win32_dispatch(struct event_base *base, void *op,
  103. struct timeval *tv)
  104. {
  105. + struct win32op *win32op = op;
  106. int res = 0;
  107. int i;
  108. int fd_count;
  109. @@ -389,13 +393,11 @@
  110. free(win32op);
  111. }
  112. -static int
  113. +static void
  114. signal_handler(int sig)
  115. {
  116. evsigcaught[sig]++;
  117. signal_caught = 1;
  118. -
  119. - return 0;
  120. }
  121. int
  122. === buffer.c
  123. ==================================================================
  124. --- buffer.c (revision 8794)
  125. +++ buffer.c (local)
  126. @@ -197,7 +197,7 @@
  127. u_char *data = EVBUFFER_DATA(buffer);
  128. size_t len = EVBUFFER_LENGTH(buffer);
  129. char *line;
  130. - u_int i;
  131. + unsigned int i;
  132. for (i = 0; i < len; i++) {
  133. if (data[i] == '\r' || data[i] == '\n')
  134. === configure.in
  135. ==================================================================
  136. --- configure.in (revision 8794)
  137. +++ configure.in (local)
  138. @@ -111,6 +111,22 @@
  139. )
  140. fi
  141. +dnl - check if the macro WIN32 is defined on this compiler.
  142. +dnl - (this is how we check for a windows version of GCC)
  143. +AC_MSG_CHECKING(for WIN32)
  144. +AC_TRY_COMPILE(,
  145. + [
  146. + #ifndef WIN32
  147. + #error
  148. + #endif
  149. + ],
  150. + bwin32=true; AC_MSG_RESULT(yes),
  151. + bwin32=false; AC_MSG_RESULT(no),
  152. +)
  153. +
  154. +AM_CONDITIONAL(BUILD_WIN32, test x$bwin32 = xtrue)
  155. +
  156. +
  157. dnl Checks for typedefs, structures, and compiler characteristics.
  158. AC_C_CONST
  159. AC_C_INLINE
  160. === evbuffer.c
  161. ==================================================================
  162. --- evbuffer.c (revision 8794)
  163. +++ evbuffer.c (local)
  164. @@ -139,7 +139,6 @@
  165. if (bufev->readcb != NULL)
  166. (*bufev->readcb)(bufev, bufev->cbarg);
  167. return;
  168. -
  169. reschedule:
  170. bufferevent_add(&bufev->ev_read, bufev->timeout_read);
  171. return;
  172. @@ -163,12 +162,20 @@
  173. if (EVBUFFER_LENGTH(bufev->output)) {
  174. res = evbuffer_write(bufev->output, fd);
  175. if (res == -1) {
  176. +#ifndef WIN32
  177. +/*todo. evbuffer uses WriteFile when WIN32 is set. WIN32 system calls do not
  178. + *set errno. thus this error checking is not portable*/
  179. if (errno == EAGAIN ||
  180. errno == EINTR ||
  181. errno == EINPROGRESS)
  182. goto reschedule;
  183. /* error case */
  184. what |= EVBUFFER_ERROR;
  185. +
  186. +#else
  187. + goto reschedule;
  188. +#endif
  189. +
  190. } else if (res == 0) {
  191. /* eof case */
  192. what |= EVBUFFER_EOF;
  193. @@ -191,6 +198,7 @@
  194. return;
  195. reschedule:
  196. +
  197. if (EVBUFFER_LENGTH(bufev->output) != 0)
  198. bufferevent_add(&bufev->ev_write, bufev->timeout_write);
  199. return;
  200. === install-sh
  201. ==================================================================
  202. --- install-sh (revision 8794)
  203. +++ install-sh (local)
  204. @@ -1,15 +1,27 @@
  205. -#! /bin/sh
  206. +#!/bin/sh
  207. #
  208. # install - install a program, script, or datafile
  209. -# This comes from X11R5.
  210. +# This comes from X11R5 (mit/util/scripts/install.sh).
  211. #
  212. +# Copyright 1991 by the Massachusetts Institute of Technology
  213. +#
  214. +# Permission to use, copy, modify, distribute, and sell this software and its
  215. +# documentation for any purpose is hereby granted without fee, provided that
  216. +# the above copyright notice appear in all copies and that both that
  217. +# copyright notice and this permission notice appear in supporting
  218. +# documentation, and that the name of M.I.T. not be used in advertising or
  219. +# publicity pertaining to distribution of the software without specific,
  220. +# written prior permission. M.I.T. makes no representations about the
  221. +# suitability of this software for any purpose. It is provided "as is"
  222. +# without express or implied warranty.
  223. +#
  224. # Calling this script install-sh is preferred over install.sh, to prevent
  225. # `make' implicit rules from creating a file called install from it
  226. # when there is no Makefile.
  227. #
  228. # This script is compatible with the BSD install script, but was written
  229. -# from scratch.
  230. -#
  231. +# from scratch. It can only install one file at a time, a restriction
  232. +# shared with many OS's install programs.
  233. # set DOITPROG to echo to test this script
  234. @@ -29,7 +41,7 @@
  235. rmprog="${RMPROG-rm}"
  236. mkdirprog="${MKDIRPROG-mkdir}"
  237. -tranformbasename=""
  238. +transformbasename=""
  239. transform_arg=""
  240. instcmd="$mvprog"
  241. chmodcmd="$chmodprog 0755"
  242. @@ -97,7 +109,7 @@
  243. echo "install: no input file specified"
  244. exit 1
  245. else
  246. - true
  247. + :
  248. fi
  249. if [ x"$dir_arg" != x ]; then
  250. @@ -106,8 +118,9 @@
  251. if [ -d $dst ]; then
  252. instcmd=:
  253. + chmodcmd=""
  254. else
  255. - instcmd=mkdir
  256. + instcmd=$mkdirprog
  257. fi
  258. else
  259. @@ -115,9 +128,9 @@
  260. # might cause directories to be created, which would be especially bad
  261. # if $src (and thus $dsttmp) contains '*'.
  262. - if [ -f $src -o -d $src ]
  263. + if [ -f "$src" ] || [ -d "$src" ]
  264. then
  265. - true
  266. + :
  267. else
  268. echo "install: $src does not exist"
  269. exit 1
  270. @@ -128,7 +141,7 @@
  271. echo "install: no destination specified"
  272. exit 1
  273. else
  274. - true
  275. + :
  276. fi
  277. # If destination is a directory, append the input filename; if your system
  278. @@ -138,7 +151,7 @@
  279. then
  280. dst="$dst"/`basename $src`
  281. else
  282. - true
  283. + :
  284. fi
  285. fi
  286. @@ -150,8 +163,8 @@
  287. # Skip lots of stat calls in the usual case.
  288. if [ ! -d "$dstdir" ]; then
  289. -defaultIFS='
  290. -'
  291. +defaultIFS='
  292. + '
  293. IFS="${IFS-${defaultIFS}}"
  294. oIFS="${IFS}"
  295. @@ -170,7 +183,7 @@
  296. then
  297. $mkdirprog "${pathcomp}"
  298. else
  299. - true
  300. + :
  301. fi
  302. pathcomp="${pathcomp}/"
  303. @@ -181,10 +194,10 @@
  304. then
  305. $doit $instcmd $dst &&
  306. - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
  307. - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
  308. - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
  309. - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
  310. + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
  311. + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
  312. + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
  313. + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
  314. else
  315. # If we're going to rename the final executable, determine the name now.
  316. @@ -203,7 +216,7 @@
  317. then
  318. dstfile=`basename $dst`
  319. else
  320. - true
  321. + :
  322. fi
  323. # Make a temp file name in the proper directory.
  324. @@ -222,10 +235,10 @@
  325. # ignore errors from any of these, just make sure not to ignore
  326. # errors from the above "$doit $instcmd $src $dsttmp" command.
  327. - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
  328. - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
  329. - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
  330. - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
  331. + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
  332. + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
  333. + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
  334. + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
  335. # Now rename the file to the real destination.
  336. === missing
  337. ==================================================================
  338. --- missing (revision 8794)
  339. +++ missing (local)
  340. @@ -1,10 +1,6 @@
  341. #! /bin/sh
  342. # Common stub for a few missing GNU programs while installing.
  343. -
  344. -scriptversion=2003-09-02.23
  345. -
  346. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003
  347. -# Free Software Foundation, Inc.
  348. +# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
  349. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  350. # This program is free software; you can redistribute it and/or modify
  351. @@ -42,23 +38,12 @@
  352. configure_ac=configure.in
  353. fi
  354. -msg="missing on your system"
  355. -
  356. case "$1" in
  357. --run)
  358. # Try to run requested program, and just exit if it succeeds.
  359. run=
  360. shift
  361. "$@" && exit 0
  362. - # Exit code 63 means version mismatch. This often happens
  363. - # when the user try to use an ancient version of a tool on
  364. - # a file that requires a minimum version. In this case we
  365. - # we should proceed has if the program had been absent, or
  366. - # if --run hadn't been passed.
  367. - if test $? = 63; then
  368. - run=:
  369. - msg="probably too old"
  370. - fi
  371. ;;
  372. esac
  373. @@ -89,13 +74,11 @@
  374. lex create \`lex.yy.c', if possible, from existing .c
  375. makeinfo touch the output file
  376. tar try tar, gnutar, gtar, then tar without non-portable flags
  377. - yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  378. -
  379. -Send bug reports to <bug-automake@gnu.org>."
  380. + yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
  381. ;;
  382. -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
  383. - echo "missing $scriptversion (GNU Automake)"
  384. + echo "missing 0.4 - GNU automake"
  385. ;;
  386. -*)
  387. @@ -111,7 +94,7 @@
  388. fi
  389. echo 1>&2 "\
  390. -WARNING: \`$1' is $msg. You should only need it if
  391. +WARNING: \`$1' is missing on your system. You should only need it if
  392. you modified \`acinclude.m4' or \`${configure_ac}'. You might want
  393. to install the \`Automake' and \`Perl' packages. Grab them from
  394. any GNU archive site."
  395. @@ -125,7 +108,7 @@
  396. fi
  397. echo 1>&2 "\
  398. -WARNING: \`$1' is $msg. You should only need it if
  399. +WARNING: \`$1' is missing on your system. You should only need it if
  400. you modified \`${configure_ac}'. You might want to install the
  401. \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
  402. archive site."
  403. @@ -139,7 +122,7 @@
  404. fi
  405. echo 1>&2 "\
  406. -WARNING: \`$1' is $msg. You should only need it if
  407. +WARNING: \`$1' is missing on your system. You should only need it if
  408. you modified \`acconfig.h' or \`${configure_ac}'. You might want
  409. to install the \`Autoconf' and \`GNU m4' packages. Grab them
  410. from any GNU archive site."
  411. @@ -163,7 +146,7 @@
  412. fi
  413. echo 1>&2 "\
  414. -WARNING: \`$1' is $msg. You should only need it if
  415. +WARNING: \`$1' is missing on your system. You should only need it if
  416. you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
  417. You might want to install the \`Automake' and \`Perl' packages.
  418. Grab them from any GNU archive site."
  419. @@ -179,10 +162,10 @@
  420. fi
  421. echo 1>&2 "\
  422. -WARNING: \`$1' is needed, but is $msg.
  423. - You might have modified some files without having the
  424. +WARNING: \`$1' is needed, and you do not seem to have it handy on your
  425. + system. You might have modified some files without having the
  426. proper tools for further handling them.
  427. - You can get \`$1' as part of \`Autoconf' from any GNU
  428. + You can get \`$1Help2man' as part of \`Autoconf' from any GNU
  429. archive site."
  430. file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
  431. @@ -202,7 +185,7 @@
  432. bison|yacc)
  433. echo 1>&2 "\
  434. -WARNING: \`$1' $msg. You should only need it if
  435. +WARNING: \`$1' is missing on your system. You should only need it if
  436. you modified a \`.y' file. You may need the \`Bison' package
  437. in order for those modifications to take effect. You can get
  438. \`Bison' from any GNU archive site."
  439. @@ -232,7 +215,7 @@
  440. lex|flex)
  441. echo 1>&2 "\
  442. -WARNING: \`$1' is $msg. You should only need it if
  443. +WARNING: \`$1' is missing on your system. You should only need it if
  444. you modified a \`.l' file. You may need the \`Flex' package
  445. in order for those modifications to take effect. You can get
  446. \`Flex' from any GNU archive site."
  447. @@ -260,7 +243,7 @@
  448. fi
  449. echo 1>&2 "\
  450. -WARNING: \`$1' is $msg. You should only need it if
  451. +WARNING: \`$1' is missing on your system. You should only need it if
  452. you modified a dependency of a manual page. You may need the
  453. \`Help2man' package in order for those modifications to take
  454. effect. You can get \`Help2man' from any GNU archive site."
  455. @@ -285,7 +268,7 @@
  456. fi
  457. echo 1>&2 "\
  458. -WARNING: \`$1' is $msg. You should only need it if
  459. +WARNING: \`$1' is missing on your system. You should only need it if
  460. you modified a \`.texi' or \`.texinfo' file, or any other file
  461. indirectly affecting the aspect of the manual. The spurious
  462. call might also be the consequence of using a buggy \`make' (AIX,
  463. @@ -340,10 +323,10 @@
  464. *)
  465. echo 1>&2 "\
  466. -WARNING: \`$1' is needed, and is $msg.
  467. - You might have modified some files without having the
  468. +WARNING: \`$1' is needed, and you do not seem to have it handy on your
  469. + system. You might have modified some files without having the
  470. proper tools for further handling them. Check the \`README' file,
  471. - it often tells you about the needed prerequisites for installing
  472. + it often tells you about the needed prerequirements for installing
  473. this package. You may also peek at any GNU archive site, in case
  474. some other package would contain this missing \`$1' program."
  475. exit 1
  476. @@ -351,10 +334,3 @@
  477. esac
  478. exit 0
  479. -
  480. -# Local variables:
  481. -# eval: (add-hook 'write-file-hooks 'time-stamp)
  482. -# time-stamp-start: "scriptversion="
  483. -# time-stamp-format: "%:y-%02m-%02d.%02H"
  484. -# time-stamp-end: "$"
  485. -# End:
  486. === mkinstalldirs
  487. ==================================================================
  488. --- mkinstalldirs (revision 8794)
  489. +++ mkinstalldirs (local)
  490. @@ -4,12 +4,56 @@
  491. # Created: 1993-05-16
  492. # Public domain
  493. -# $Id$
  494. -
  495. errstatus=0
  496. +dirmode=""
  497. +usage="\
  498. +Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
  499. +
  500. +# process command line arguments
  501. +while test $# -gt 0 ; do
  502. + case "${1}" in
  503. + -h | --help | --h* ) # -h for help
  504. + echo "${usage}" 1>&2; exit 0 ;;
  505. + -m ) # -m PERM arg
  506. + shift
  507. + test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
  508. + dirmode="${1}"
  509. + shift ;;
  510. + -- ) shift; break ;; # stop option processing
  511. + -* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option
  512. + * ) break ;; # first non-opt arg
  513. + esac
  514. +done
  515. +
  516. for file
  517. do
  518. + if test -d "$file"; then
  519. + shift
  520. + else
  521. + break
  522. + fi
  523. +done
  524. +
  525. +case $# in
  526. +0) exit 0 ;;
  527. +esac
  528. +
  529. +case $dirmode in
  530. +'')
  531. + if mkdir -p -- . 2>/dev/null; then
  532. + echo "mkdir -p -- $*"
  533. + exec mkdir -p -- "$@"
  534. + fi ;;
  535. +*)
  536. + if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
  537. + echo "mkdir -m $dirmode -p -- $*"
  538. + exec mkdir -m "$dirmode" -p -- "$@"
  539. + fi ;;
  540. +esac
  541. +
  542. +for file
  543. +do
  544. set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
  545. shift
  546. @@ -22,13 +66,24 @@
  547. esac
  548. if test ! -d "$pathcomp"; then
  549. - echo "mkdir $pathcomp"
  550. + echo "mkdir $pathcomp"
  551. - mkdir "$pathcomp" || lasterr=$?
  552. + mkdir "$pathcomp" || lasterr=$?
  553. - if test ! -d "$pathcomp"; then
  554. - errstatus=$lasterr
  555. - fi
  556. + if test ! -d "$pathcomp"; then
  557. + errstatus=$lasterr
  558. + else
  559. + if test ! -z "$dirmode"; then
  560. + echo "chmod $dirmode $pathcomp"
  561. +
  562. + lasterr=""
  563. + chmod "$dirmode" "$pathcomp" || lasterr=$?
  564. +
  565. + if test ! -z "$lasterr"; then
  566. + errstatus=$lasterr
  567. + fi
  568. + fi
  569. + fi
  570. fi
  571. pathcomp="$pathcomp/"
  572. @@ -37,4 +92,8 @@
  573. exit $errstatus
  574. +# Local Variables:
  575. +# mode: shell-script
  576. +# sh-indentation: 3
  577. +# End:
  578. # mkinstalldirs ends here