/[gcl]/gcl/o/pathname.d
ViewVC logotype

Diff of /gcl/o/pathname.d

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

revision 1.7 by camm, Sun Oct 27 21:06:42 2002 UTC revision 1.8 by camm, Thu Dec 19 02:05:03 2002 UTC
# Line 77  int start, end, *ep; Line 77  int start, end, *ep;
77          vs_mark;          vs_mark;
78    
79          vsp = vs_top + 1;          vsp = vs_top + 1;
80          for (i = j = start;  i < end;  ) {          for (;--end >= start && isspace((int)s->st.st_self[end]););
81                  if (isspace((int)s->st.st_self[i]))          for (i = j = start;  i <= end;  ) {
82                          break;  /*              if (isspace((int)s->st.st_self[i])) */
83    /*                      break; */
84  #ifndef IS_DIR_SEPARATOR  #ifndef IS_DIR_SEPARATOR
85  #define IS_DIR_SEPARATOR(x) (x == '/')  #define IS_DIR_SEPARATOR(x) (x == '/')
86  #endif  #endif
# Line 102  int start, end, *ep; Line 103  int start, end, *ep;
103                          }                          }
104                          /* END OF BUG FIX */                          /* END OF BUG FIX */
105  #endif  #endif
 #ifdef AOSVS  
   
   
 #endif  
106  #ifdef UNIX  #ifdef UNIX
107                          if (i-j == 1 && s->st.st_self[j] == '.') {                          if (i-j == 1 && s->st.st_self[j] == '.') {
108                                  vs_push(sKcurrent);                                  vs_push(sKcurrent);
# Line 114  int start, end, *ep; Line 111  int start, end, *ep;
111                          } else                          } else
112                                  make_one(&s->st.st_self[j], i-j);                                  make_one(&s->st.st_self[j], i-j);
113  #endif  #endif
 #ifdef AOSVS  
   
 #endif  
114                          i++;                          i++;
115                          j = i;                          j = i;
 #ifdef AOSVS  
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 #endif  
116                  } else                  } else
117                          i++;                          i++;
118          }          }
# Line 179  int start, end, *ep; Line 145  int start, end, *ep;
145  #ifdef UNIX  #ifdef UNIX
146                  if (i-j == 1 && s->st.st_self[j] == '*')                  if (i-j == 1 && s->st.st_self[j] == '*')
147  #endif  #endif
 #ifdef AOSVS  
   
 #endif  
148                          vs_push(sKwild);                          vs_push(sKwild);
149                  else                  else
150                          make_one(&s->st.st_self[j], i-j);                          make_one(&s->st.st_self[j], i-j);
# Line 192  int start, end, *ep; Line 155  int start, end, *ep;
155  #ifdef UNIX  #ifdef UNIX
156                  if (i-d-1 == 1 && s->st.st_self[d+1] == '*')                  if (i-d-1 == 1 && s->st.st_self[d+1] == '*')
157  #endif  #endif
 #ifdef AOSVS  
   
 #endif  
158                          vs_push(sKwild);                          vs_push(sKwild);
159                  else                  else
160                          make_one(&s->st.st_self[d+1], i-d-1);                          make_one(&s->st.st_self[d+1], i-d-1);
# Line 203  int start, end, *ep; Line 163  int start, end, *ep;
163  #ifdef UNIX  #ifdef UNIX
164                  if (d-j == 1 && s->st.st_self[j] == '*')                  if (d-j == 1 && s->st.st_self[j] == '*')
165  #endif  #endif
 #ifdef AOSVS  
   
 #endif  
166                          vs_push(sKwild);                          vs_push(sKwild);
167                  else                  else
168                          make_one(&s->st.st_self[j], d-j);                          make_one(&s->st.st_self[j], d-j);
169  #ifdef UNIX  #ifdef UNIX
170                  if (i-d-1 == 1 && s->st.st_self[d+1] == '*')                  if (i-d-1 == 1 && s->st.st_self[d+1] == '*')
171  #endif  #endif
 #ifdef AOSVS  
   
 #endif  
172                          vs_push(sKwild);                          vs_push(sKwild);
173                  else                  else
174                          make_one(&s->st.st_self[d+1], i-d-1);                          make_one(&s->st.st_self[d+1], i-d-1);

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

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