1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-30 05:40:58 +01:00

13280: NewImproved handling of colon modifiers w.r.t. paths

This commit is contained in:
Peter Stephenson 2001-02-19 10:26:52 +00:00
parent 441648bf5d
commit cd02c345af
5 changed files with 82 additions and 28 deletions

View file

@ -657,3 +657,9 @@ extern short ospeed;
#ifndef MAILDIR_SUPPORT
#define mailstat(X,Y) stat(X,Y)
#endif
#ifdef __CYGWIN__
# define IS_DIRSEP(c) ((c) == '/' || (c) == '\\')
#else
# define IS_DIRSEP(c) ((c) == '/')
#endif