Ticket #17842: patch-compile.diff
File patch-compile.diff, 555 bytes (added by lfk@…, 16 years ago) |
---|
-
./buffer.c
old new 653 653 int count; 654 654 size_t remain, len; 655 655 656 len = strlcpy(bn, basename( fn), bs);656 len = strlcpy(bn, basename((char *)fn), bs); 657 657 if (len >= bs) 658 658 return (FALSE); 659 659 -
./file.c
old new 676 676 { 677 677 char *dp; 678 678 679 dp = dirname( path);679 dp = dirname((char *)path); 680 680 if (*dp && dp[0] == '/' && dp[1] == '\0') 681 681 return (strdup("")); 682 682