Menu

#88 which: Porting Errors (DIR_SEPARATOR)

Which
closed
GnuWin
Sources (36)
5
2012-07-26
2003-07-15
Tad Ashlock
No

I made the following fixes (in diff output) to which.c
from the which-2.13-src.zip file:
91c91
< strcpy(abs_path, DIR_SEPARATORSTR);


> strcat(abs_path, DIR_SEPARATORSTR);
303c303
< fprintf(stdout, ".", DIR_SEPARATORSTR);


> fprintf(stdout, "." DIR_SEPARATORSTR);
315c315
< fprintf(stdout, "~", DIR_SEPARATORSTR);


> fprintf(stdout, "~" DIR_SEPARATORSTR);
545c545
< strcat(home, "DIR_SEPARATORSTR");


> strcat(home, DIR_SEPARATORSTR);

Discussion

  • GnuWin

    GnuWin - 2003-07-19

    Logged In: YES
    user_id=217802

    This bug report is accepted as valid and will be fixed in an
    upcoming release.

     
  • GnuWin

    GnuWin - 2004-01-17

    Logged In: YES
    user_id=217802

    This bug has been fixed. A new release is available through
    http://gnuwin32.sourceforge.net/