aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bgp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-25 05:48:47 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-25 05:48:47 +0000
commitd1aac3e35f7e2d1430a198f8c41a5bed7ac3b3a7 (patch)
treeb81626683b8737b43718d8b234fcbc1cf300ba5b /packet-bgp.c
parentf71823a907ee22663dd666a0733c068f5475e69e (diff)
Provide a "get_dirname()" routine, that takes a pathname and returns
either a pointer to the directory part of the pathname (after stomping on the pathname separator with a '\0', so don't use this on pathnames you plan to use afterwards), or NULL if the pathname contains no directory part, and make it handle Win32 pathnames on Win32 systems. Use it to get the containing directory of the currently open file, so that the "chdir()" stuff we do to cause the "File:Open" dialog box to show you files in the directory in which you last looked works on Win32 systems. svn path=/trunk/; revision=1555
Diffstat (limited to 'packet-bgp.c')
0 files changed, 0 insertions, 0 deletions