DELTA 31367 416 227
SVN  /X>	 G  &HC D@. O? voF OwG  Ff =rCONSOLE_BUF_SIZE 100
static char console_buf[CONSOLE_BUF_SIZE + 1];*****/

#ifdef WIN32_NATIVE
static HANDLE console_thread = INVALID_HANDLE_VALUE;

static DWORD WINAPI thread_proc(LPVOID arg)
{
  if (fgets(console_buf, CONSOLE_BUF_SIZE, stdin)) {
    char *s;

    if ((s = strchr(console_buf, '\n'))) {
      *s = '\0';
    }
  }

  return 0;
}
#endif /* WIN32_NATIVEInitializevoid fc_init_console(void)
{
#ifdef WIN32_NATIVE
  DWORD threadid;

  if (console_thread != INVALID_HANDLE_VALUE) {
    return;
  }

  console_buf[0] = '\0';
  console_thread = (HANDLE) CreateThreadbool initialized = FALSE;

  if (!initialized) {
    initialized = TRUEconsole_thread, 0) == WAIT_OBJECT_0) {
    CloseHandle(console_thread);
    console_thread = INVALID_HANDLE_VALUE;

    return console_buf;
  }

  return NULL;
#else  /* WIN32_NATIVE */
  if (!feof(stdin)) {    /* input from server operator */
    static char *bufptr = console_buf;
{
        *bufptr = '\0';
      }
      if (*bufptr == '\0') {
	bufptr = console_buf;

	return console_buf;
      }
      if ((bufptr - console_buf) <= CONSOLE_BUF_SIZE) {
        bufptr++; /* prevent overrun */
      }
    }
  }
ENDREP
id: m9.5qi.r31480/1264
type: file
pred: m9.5qi.r31367/35158
count: 72
text: 31480 0 1237 36312 ad44d1688f8601c71b2ee55b91ecba79
props: 10006 230 111 0 b4233197920770c602c29330b7f7c623
cpath: /branches/S2_6/utility/support.c
copyroot: 27474 /branches/S2_6

PLAIN
K 11
Makefile.am
V 25
file 2gg.5ck.r26188/18425
K 9
astring.c
V 23
file h5.5ck.r22395/1264
K 9
astring.h
V 23
file h6.5ck.r20479/1668
K 11
bitvector.c
V 25
file 4un.5ck.r26905/46406
K 11
bitvector.h
V 25
file 4uo.5qi.r28013/32595
K 12
capability.c
V 24
file 7p.5ck.r24916/10883
K 12
capability.h
V 24
file 7q.5ck.r18858/85852
K 12
distribute.c
V 26
file 2lp.5ck.r19259/362511
K 12
distribute.h
V 25
file 2lq.5ck.r18858/87951
K 9
fc_utf8.c
V 23
file 4ku.5ck.r26944/198
K 9
fc_utf8.h
V 25
file 4kv.5ck.r26905/46695
K 13
fcbacktrace.c
V 23
file 731.5qi.r31417/176
K 13
fcbacktrace.h
V 23
file 732.5qi.r31452/150
K 9
fciconv.c
V 25
file 2g7.5ck.r26800/15337
K 9
fciconv.h
V 25
file 2g8.5ck.r18858/89144
K 8
fcintl.c
V 22
file k3.5qi.r30877/137
K 8
fcintl.h
V 24
file fw.5qi.r29620/12681
K 10
fcthread.c
V 24
file 6hv.5ck.r27333/1127
K 10
fcthread.h
V 23
file 6hw.5qi.r31338/341
K 20
generate_specenum.py
V 23
file 4ia.5ck.r27150/401
K 9
genhash.c
V 23
file 57v.5ck.r27456/668
K 9
genhash.h
V 25
file 57w.5ck.r26905/43784
K 9
genlist.c
V 24
file 51.5qi.r30000/53290
K 9
genlist.h
V 24
file 52.5qi.r30000/53547
K 11
inputfile.c
V 22
file h9.5qi.r31246/218
K 11
inputfile.h
V 24
file ha.5qi.r31201/27185
K 5
ioz.c
V 24
file uh.5qi.r31367/34133
K 5
ioz.h
V 24
file ui.5qi.r29108/10744
K 10
iterator.c
V 25
file 4h5.5ck.r26905/44951
K 10
iterator.h
V 25
file 4f3.5ck.r26905/45830
K 5
log.c
V 21
file 53.5qi.r30920/68
K 5
log.h
V 24
file 54.5qi.r30375/35630
K 5
md5.c
V 22
file 33q.5ck.r25082/54
K 5
md5.h
V 25
file 33r.5ck.r19849/16287
K 5
mem.c
V 23
file d9.5qi.r31278/1011
K 5
mem.h
V 24
file da.5ck.r20315/22211
K 9
netfile.c
V 22
file 6m8.5qi.r31357/96
K 9
netfile.h
V 25
file 6m9.5ck.r26905/41734
K 9
netintf.c
V 24
file t6.5qi.r31367/34386
K 9
netintf.h
V 24
file t7.5qi.r31367/34641
K 6
rand.c
V 25
file m5.5ck.r19259/363664
K 6
rand.h
V 24
file m6.5ck.r20315/22687
K 10
registry.c
V 25
file agw.5ck.r26905/40563
K 10
registry.h
V 25
file 7po.5ck.r26905/40851
K 14
registry_ini.c
V 23
file dh.5si.r31260/7662
K 14
registry_ini.h
V 23
file di.5su.r31260/7943
K 14
registry_xml.c
V 26
file 16x3.5ck.r26905/44658
K 14
registry_xml.h
V 26
file 16x5.5ck.r26905/45535
K 14
section_file.c
V 23
file bw9.5qi.r31246/474
K 14
section_file.h
V 25
file axo.5ck.r26905/42907
K 8
shared.c
V 22
file 55.5qi.r31435/470
K 8
shared.h
V 24
file 1d.5qi.r31333/23550
K 10
spechash.h
V 25
file 57x.5ck.r26905/46987
K 10
speclist.h
V 24
file gb.5qi.r30000/53801
K 8
specpq.h
V 26
file 1brp.5ck.r26905/42320
K 9
specvec.h
V 24
file z9.5qi.r29571/15743
K 15
string_vector.c
V 25
file 4hy.5ck.r26905/41433
K 15
string_vector.h
V 25
file 4hz.5ck.r26905/42022
K 9
support.c
V 23
file m9.5qi.r31480/1264
K 9
support.h
V 24
file ma.5qi.r29185/62235
K 8
timing.c
V 24
file el.5ck.r24200/17365
K 8
timing.h
V 24
file em.5qi.r28013/32859
END
ENDREP
id: 1c.5qi.r31480/4340
type: dir
pred: 1c.5qi.r31452/3230
count: 945
text: 31480 1520 2807 0 c4482c9d7eacdbbe60eb208803ff0591
props: 17175 331 84 0 5447a85ba28edec0d4a8f6120070e2b2
cpath: /branches/S2_6/utility
copyroot: 27474 /branches/S2_6

PLAIN
K 9
ABOUT-NLS
V 24
file fu.5ck.r27270/69307
K 7
AUTHORS
V 24
file 5u.5ck.r22143/14016
K 7
COPYING
V 22
file 1h.5qi.r29455/952
K 9
ChangeLog
V 26
file 6l.5qi.r31298/7507168
K 7
INSTALL
V 21
file 6.5qi.r29706/131
K 11
Makefile.am
V 23
file 59.5qi.r30174/7026
K 4
NEWS
V 24
file 6m.5ck.r25634/30702
K 6
README
V 20
file 7.0.r4421/96382
K 2
ai
V 21
dir 8.5qi.r31450/3082
K 10
autogen.sh
V 22
file 12o.5qi.r31343/77
K 9
bootstrap
V 23
dir 2p5.5qi.r31374/4550
K 6
client
V 21
dir d.5qi.r31467/7930
K 6
common
V 21
dir p.5qi.r31462/9498
K 12
configure.ac
V 23
file 149.5qi.r31447/227
K 4
data
V 22
dir w.5qi.r31409/59570
K 12
dependencies
V 24
dir 2yu.5qi.r31411/81870
K 3
doc
V 22
dir k7.5qi.r31472/2657
K 10
fc_version
V 25
file 2lo.5qj.r31371/15472
K 11
gen_headers
V 25
dir 1hsw.5qi.r30615/24964
K 2
m4
V 23
dir 12p.5qi.r31062/2530
K 7
scripts
V 24
dir 2yo.5qi.r31425/15183
K 6
server
V 21
dir z.5qi.r31478/4728
K 5
tests
V 22
dir 2g9.5ck.r27023/734
K 5
tools
V 23
dir 4pj.5qp.r31401/2465
K 12
translations
V 26
dir t0a.5qi.r31464/4003456
K 7
utility
V 22
dir 1c.5qi.r31480/4340
K 3
vms
V 25
dir u9.5ck.r21528/1396085
K 5
win32
V 22
dir 2eu.5qi.r31440/638
END
ENDREP
id: 3.5qi.r31480/5753
type: dir
pred: 3.5qi.r31478/6139
count: 20263
text: 31480 4583 1157 0 277d67bc385579259d976ed7f1426743
props: 28037 14463 292 0 9e1d5de0253c723466868990c52c129f
cpath: /branches/S2_6
copyroot: 27474 /branches/S2_6

PLAIN
K 5
S1_14
V 21
dir 3.21.r18109/18803
K 4
S2_0
V 21
dir 3.10x.r21862/4178
K 4
S2_1
V 22
dir 3.59e.r20026/11014
K 4
S2_2
V 21
dir 3.5cy.r21861/5036
K 4
S2_3
V 21
dir 3.5f2.r29458/5135
K 4
S2_4
V 22
dir 3.5ii.r30401/87429
K 4
S2_5
V 23
dir 3.5kv.r31473/228844
K 4
S2_6
V 21
dir 3.5qi.r31480/5753
K 11
freeciv-web
V 22
dir 3.5bl.r13594/14918
END
ENDREP
id: 1.0.r31480/6346
type: dir
pred: 1.0.r31478/6732
count: 10585
text: 31480 5991 342 0 c19bc56074211bd435851aef250cc8b3
cpath: /branches
copyroot: 0 /

PLAIN
K 8
branches
V 19
dir 1.0.r31480/6346
K 4
tags
V 19
dir 2.0.r29519/6475
K 5
trunk
V 21
dir 3.5ck.r31479/5529
K 7
website
V 20
dir 3ge.0.r30613/922
END
ENDREP
id: 0.0.r31480/6663
type: dir
pred: 0.0.r31479/5915
count: 31480
text: 31480 6499 151 0 2edbba2aabdbd21d7c46693b90c1f7b8
cpath: /
copyroot: 0 /

m9.5qi.t31479-1 modify true false /branches/S2_6/utility/support.c


6663 6808
