Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.120
 
1.121
 
MAIN:gmcgarry:20080809111153
 
cc.c
_>10021002 int
 10031003 callsys(char *f, char *v[])
 10041004 {
<> 1005+        char *s;
10051006         int t, status = 0;
 10061007         char cmd[MAX_PATH];
 10071008         int len;
     
 !
10101011         DWORD exitCode;
 10111012         BOOL ok;
 10121013 
<>1013 -        len = strlcpy(cmd, f, MAX_PATH);
  1014+        s = strrchr(f, '/');
  1015+        len = strlcpy(cmd, s+1, MAX_PATH);
10141016         for (t = 1; v[t] && len < MAX_PATH; t++) {
 10151017                 len = strlcat(cmd, " ", MAX_PATH);
 10161018                 len = strlcat(cmd, v[t], MAX_PATH);
     
 !
11141116 int
 11151117 cunlink(char *f)
 11161118 {
<>1117 -#ifdef WIN32
 1118 -#define unlink(f) _unlink(f)
 1119 -#endif
<_11201119         if (f==0 || Xflag)
 11211120                 return(0);
 11221121         return (unlink(f));
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-31 00:15 +0100