Ticket UUID: | 556504 | |||
Title: | fileutil::cat won't read empty files | |||
Type: | Bug | Version: | None | |
Submitter: | cleverly | Created on: | 2002-05-15 20:51:33 | |
Subsystem: | fileutil | Assigned To: | andreas_kupries | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2002-05-22 00:45:13 | |
Resolution: | Fixed | Closed By: | andreas_kupries | |
Closed on: | 2002-05-21 17:45:13 | |||
Description: |
fileutil::cat won't read non-empty "empty" files (where [file size] == 0, but the file isn't empty), as is the case with the files in the /proc filesystem on Linux. fileutil::cat /proc/[pid]/maps currently returns the empty string. With the attached patch it returns the actual data as expected. | |||
User Comments: |
andreas_kupries added on 2002-05-22 00:45:13:
Logged In: YES user_id=75003 Patch committed. cleverly added on 2002-05-16 03:51:33: File Added - 23154: fileutil.patch |
Attachments:
- fileutil.patch [download] added by cleverly on 2002-05-16 03:51:33. [details]