Commit Graph

29 Commits

Author SHA1 Message Date
Jörg Mayer fbef795dc3 Move common.c to dirty files
svn path=/trunk/; revision=52012
2013-09-13 17:23:29 +00:00
Jörg Mayer b0ef116a4c Fix
/home/jmayer/work/wireshark/svn/trunk/echld/parent.c: In function ‘echld_terminate’:
/home/jmayer/work/wireshark/svn/trunk/echld/parent.c:305:5: error: suggest braces around empty body in ‘do’ statement [-Werror=empty-body]
  do ; while(sleep(1)); /* wait a full sec without signals */
     ^
cc1: all warnings being treated as errors


svn path=/trunk/; revision=52011
2013-09-13 17:23:00 +00:00
Jörg Mayer 79cd883f02 Fix might be used uninitialized warning
svn path=/trunk/; revision=52009
2013-09-13 17:20:39 +00:00
Jörg Mayer f24067ec9d Fix warnings shown by gcc-4.8.1
/home/jmayer/work/wireshark/svn/trunk/echld/common.c:134:2: error: enum conversion in initialization is invalid in C++ [-Werror=c++-compat]
  {0,NULL}
  ^
/home/jmayer/work/wireshark/svn/trunk/echld/common.c:134:2: error: (near initialization for ‘t_map[34].type’) [-Werror=c++-compat]
/home/jmayer/work/wireshark/svn/trunk/echld/common.c:269:3: note: expected ‘echld_msg_type_t’ but argument is of type ‘guint32’
/home/jmayer/work/wireshark/svn/trunk/echld/common.c:253:8: error: variable ‘off’ set but not used [-Werror=unused-but-set-variable]
   long off;
        ^
cc1: all warnings being treated as errors

Still todo:

/home/jmayer/work/wireshark/svn/trunk/echld/common.c: In function ‘echld_read_frame’:
/home/jmayer/work/wireshark/svn/trunk/echld/common.c:269:3: error: enum conversion when passing argument 4 of ‘cb’ is invalid in C++ [-Werror=c++-compat]
   cb( &(r->rp[sizeof(hdr_t)]), HDR_LEN(h), h->h.chld_id, HDR_TYPE(h), h->h.reqh_id, cb_data);
   ^
/home/jmayer/work/wireshark/svn/trunk/echld/common.c:269:3: note: expected ‘echld_msg_type_t’ but argument is of type ‘guint32’

Whitespace fixes


svn path=/trunk/; revision=52007
2013-09-13 17:08:00 +00:00
Jörg Mayer 8d5cb217dc Fix ECHLD_TIMEOUT vs ECHLD_TIMED_OUT a second time for today.
svn path=/trunk/; revision=50852
2013-07-23 20:45:25 +00:00
Luis Ontanon c9e6eda769 Yet another iteration...
svn path=/trunk/; revision=50846
2013-07-23 18:26:38 +00:00
Jörg Mayer 7e4ed00126 Move files to dirty that generate a warning about
variable length array

svn path=/trunk/; revision=50835
2013-07-23 13:24:52 +00:00
Jörg Mayer 8bdf0dd3ff - Fix a typo that was warned about (acually a coding error that
would not have had any effect in this particular case).
- Remove trailing whitespace.

svn path=/trunk/; revision=50834
2013-07-23 13:23:40 +00:00
Jörg Mayer da52691fb1 Include sys/wait.h
svn path=/trunk/; revision=50833
2013-07-23 13:11:16 +00:00
Jörg Mayer 0177ef4970 - Whitespace changes
- Add a missing continuation \

svn path=/trunk/; revision=50770
2013-07-21 21:17:35 +00:00
Jörg Mayer 61f57ac30e Remove trailing whitespace
svn path=/trunk/; revision=50754
2013-07-21 14:05:04 +00:00
Jörg Mayer 94aa66e642 More fixes for building echld with cmake (not yet finished)
svn path=/trunk/; revision=50752
2013-07-21 13:40:08 +00:00
Jörg Mayer 94bdbd2e1e Include config.h, not ../config.h, just like everywhere else.
svn path=/trunk/; revision=50750
2013-07-21 13:25:35 +00:00
Jeff Morriss 7a3ea48eb8 disabled_protos.c is in libwireshark now.
svn path=/trunk/; revision=50523
2013-07-12 02:40:44 +00:00
Jeff Morriss 16206348d9 Move disabled_protos.{h,c} into epan.
svn path=/trunk/; revision=50521
2013-07-12 01:40:06 +00:00
Luis Ontanon 880e19ac3d Yet another iteration:
- improve the parameter api
- Add a parameter set message to the NEW child message to set parameters in bulk in the child
- some more harvestig from tshark


svn path=/trunk/; revision=50393
2013-07-05 23:57:07 +00:00
Luis Ontanon 047c252e93 some more harvesting from tshark
svn path=/trunk/; revision=50380
2013-07-04 05:34:25 +00:00
Luis Ontanon baee2e21f7 ANother iteration,
- started harvesting pieces from tshark.
- fixed? signal handlers
- interactive test program

very hard to debug... set follow-on-fork doesn't seem to work on my mac. Need linux I guess...


svn path=/trunk/; revision=50273
2013-07-01 01:49:34 +00:00
Luis Ontanon a3c320fd75 One further iteration, get things right, put placeholders for things to do.
svn path=/trunk/; revision=50227
2013-06-29 01:16:48 +00:00
Luis Ontanon cf647de6a1 MS: new child
MS: ping child
MS: set/get child parameter


svn path=/trunk/; revision=50218
2013-06-28 21:10:52 +00:00
Luis Ontanon 99013aefa8 MS: list interfaces!
svn path=/trunk/; revision=50195
2013-06-27 19:00:01 +00:00
Luis Ontanon e48b0084e1 MS: Pong from the dispatcher!
svn path=/trunk/; revision=50183
2013-06-27 03:41:48 +00:00
Luis Ontanon 0a060270b3 Last changes to autofoo, rename the files as they live now in their own dir...
svn path=/trunk/; revision=50152
2013-06-25 21:09:29 +00:00
Luis Ontanon ab6c7a8bce remove the Makefile.nmake target to avoid errors in dist...
svn path=/trunk/; revision=50142
2013-06-25 17:55:47 +00:00
Luis Ontanon e200f6cbf9 This should get cmake to ignore echld...
svn path=/trunk/; revision=50141
2013-06-25 17:43:52 +00:00
Luis Ontanon db09d8d0f0 another iteration, prepared for automake.
svn path=/trunk/; revision=50136
2013-06-25 03:33:02 +00:00
Luis Ontanon e591c9f21e more stuff...
svn path=/trunk/; revision=50135
2013-06-25 00:31:01 +00:00
Luis Ontanon f25a68221c Not yet running but almost there with the dummy
svn path=/trunk/; revision=50114
2013-06-22 20:26:13 +00:00
Luis Ontanon b5c96de50b move echld to final dest...
svn path=/trunk/; revision=50102
2013-06-21 01:27:28 +00:00