/[make]/make/w32/pathstuff.c
ViewVC logotype

Diff of /make/w32/pathstuff.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by psmith, Wed Jun 7 05:43:37 2000 UTC revision 1.7 by psmith, Mon Aug 8 05:08:01 2005 UTC
# Line 86  w32ify(char *filename, int resolve) Line 86  w32ify(char *filename, int resolve)
86  char *  char *
87  getcwd_fs(char* buf, int len)  getcwd_fs(char* buf, int len)
88  {  {
89          char *p;          char *p = getcwd(buf, len);
90    
91          if (p = getcwd(buf, len)) {          if (p) {
92                  char *q = w32ify(buf, 0);                  char *q = w32ify(buf, 0);
93                  strncpy(buf, q, len);                  strncpy(buf, q, len);
94          }          }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26