diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-10-25 15:38:27 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-10-25 22:39:58 +0000 |
commit | f36bbffc3bfab33171fcb6c910fcb010e0edce24 (patch) | |
tree | 858003c04795c74ca1a632d373f0e24a9ab43f27 /wiretap | |
parent | 1a45f1848fca8af1f4dfeecae5da70ad39927b6b (diff) |
Update a comment.
Change-Id: I55002477a416710592a482725af68cdf2511e063
Reviewed-on: https://code.wireshark.org/review/4929
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/file_access.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index 1a33c8dd73..cd929dcfc6 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -749,13 +749,12 @@ wtap_open_offline(const char *filename, unsigned int type, int *err, char **err_ * Opens of FIFOs are allowed only when not opening * for random access. * - * XXX - currently, we do seeking when trying to find - * out the file type, so we don't actually support - * opening FIFOs. However, we may eventually - * do buffering that allows us to do at least some - * file type determination even on pipes, so we - * allow FIFO opens and let things fail later when - * we try to seek. + * Currently, we do seeking when trying to find out + * the file type, but our I/O routines do some amount + * of buffering, and do backward seeks within the buffer + * if possible, so at least some file types can be + * opened from pipes, so we don't completely disallow opens + * of pipes. */ if (do_random) { *err = WTAP_ERR_RANDOM_OPEN_PIPE; |