Tcl Source Code

View Ticket
Login
Ticket UUID: 2976504
Title: fstatfs() has two parameters, not four
Type: Bug Created on: 2010-03-25 14:40:42
Submitter: reeuwijk Assigned to: dkf
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2010-03-25 21:55:00
Status: Closed Closed by: dkf
Resolution: Fixed Closed on: 2010-03-25 14:55:00
Version: obsolete: 8.5.8
Description:
For some reason the function TclUnixCopyFile in unix/tclUnixFCmd.c invokes fstatfs with four parameters instead of two. Just delete ', sizeof(fs), 0' from the call.

This probably rarely triggered because the code is only exposed to the compiler if the OS does not have the field st_blksize.
User Comments:
dkf added on 2010-03-25 21:55:00:

allow_comments - 1