aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap-scanner.l
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Another unnecessary include of io.h."Guy Harris2015-11-061-0/+4
| | | | | | | | | | This reverts commit 546984c2d1138893d07c7f31ee916eea563430c2. This (change Ie4a8d79474ae61194b1ceaafad45cca9b2970b60) should not be backported unless I59979d1fdb37e1913125a400963ff7a3fa6b9bbd is backported as well. Change-Id: Ieb6a1d778632a097102c1555b49be04b690f575b Reviewed-on: https://code.wireshark.org/review/11617 Reviewed-by: Guy Harris <guy@alum.mit.edu>
* Another unnecessary include of io.h.Guy Harris2015-11-061-4/+0
| | | | | | | | | | Change-Id: Ie4a8d79474ae61194b1ceaafad45cca9b2970b60 Reviewed-on: https://code.wireshark.org/review/11589 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com> (cherry picked from commit 018e93a384c5aca7471d7d9303af637e71320ea2) Reviewed-on: https://code.wireshark.org/review/11593
* text2pcap-scanner.l: On Windows: #include <io.h> req'd for isatty()Bill Meier2014-08-211-0/+4
| | | | | | Change-Id: I6464f11c3bc5f8dd671f6f36006fb74059d30b26 Reviewed-on: https://code.wireshark.org/review/3776 Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Remove all $Id$ from top of fileAlexis La Goutte2014-03-041-2/+0
| | | | | | | | | | (Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Add %option noinput to some Flex files, as we aren't using the input()Guy Harris2013-02-101-0/+5
| | | | | | | | routine and thus don't need to have it generated - and as it produces warnings of a routine defined but not used, we don't want to have it generated. svn path=/trunk/; revision=47616
* Fix some gcc 'old-style function definition' warnings.Bill Meier2011-05-311-8/+8
| | | | svn path=/trunk/; revision=37482
* Handle lines ending in \r\n.Bill Meier2010-05-251-2/+2
| | | | | | | Fixes Bug #4780 See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4780 svn path=/trunk/; revision=32956
* Bug 2493: Fix (Part 3 of 3): Bill Meier2008-04-251-0/+6
| | | | | | | | To prevent Windows compiler errors when using flex 2.5.35. Ignore 'signed /unsigned mismatch' warnings svn path=/trunk/; revision=25174
* Bug 2493: Fix (Part 2): Bill Meier2008-04-251-1/+8
| | | | | | | | To prevent Windows compiler errors when using flex 2.5.35. Fixes "missing unistd.h" and yywrap "mismatched parameter" warnings [Upcoming Part 3: ignore 'signed /unsigned mismatch' errors] svn path=/trunk/; revision=25173
* Add comments to various %option items to explain what they're doing. Guy Harris2007-07-301-9/+6
| | | | | | | | | | | | | | | | | | | | | Move the %options to the beginning if they weren't already there, and put them in the same order in all files. Add "prefix=" options to .l files that don't already have them, so we don't have to pass a "-P" option. Add "never-interactive" and "noyywrap" options to our lexical analyzers, to remove extra isatty() checks and to eliminate the need for yywrap() from the Flex library. Get rid of %option nostdinit - that's the default. Add .l.c: rules to Makefile.am files, replacing the rules for specific .l files. Have those rules all check that $(LEX) is set. Update the address for the FSF. svn path=/trunk/; revision=22424
* disable unput here, tooRichard van der Hoff2007-04-031-0/+6
| | | | svn path=/trunk/; revision=21323
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* Set the svn:eol-style property on all text files to "native", so thatGuy Harris2004-07-181-1/+1
| | | | | | | | | they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
* Fix to text2pcap to handle colons after offset field, from GordonGuy Harris2001-11-241-2/+2
| | | | | | McKinney. svn path=/trunk/; revision=4256
* Treat a bunch of digits followed by a newline differently from a bunchGuy Harris2001-11-241-2/+4
| | | | | | | of digits followed by a blank or tab, so that we recognize the newline as an end-of-line. svn path=/trunk/; revision=4249
* Added 'text2pcap', a utility to convert text hexdumps into pcapAshok Narayanan2001-05-161-0/+71
files. See text2pcap.1 (built from doc/text2pcap.pod) for details. Changed 'tethereal -x' output to match hex dump format of text2pcap, Ethereal and others. svn path=/trunk/; revision=3421