Ethereal-dev: RE: [ethereal-dev] Ethereal on Windows

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Farley, Tim (ISSAtlanta)" <TFarley@xxxxxxx>
Date: Tue, 25 Jan 2000 14:19:42 -0500
>trimming off the last component of pathnames - the code in "file.c" was
>looking for '/', not '\' - so I checked in a fix; on Win32, do we need
>to check either for '\' *or* '/'?)

Yes, you should.  All Microsoft OS'es of which I am aware will accept both
"\" and "/" within a file specification as a path delimiter.  This dates all
the way back to the old DOS days, it was to ease porting of Unix programs
over.  (Heck, DOS even supported referring to devices as /DEV/xxxx to
maintain some Unix compatibility, even though /DEV did not exist in any real
sense).

Parsing filenames on a command line is one exception, since "/" is generally
used there the way "-" is used in Unix.

=====================================
Tim Farley
Software Engineer
tfarley@xxxxxxx

Internet Security Systems, Inc.
(678) 443-6000 / Direct Dial (678) 443-6189 / fax (678) 443-6479
http://www.iss.net

ISS CONNECT 2000
International User Group and Information Security Summit
March 19-24, 2000   http://connect.iss.net
REGISTER TODAY!
=====================================