* path.cc (cwdstuff::set): Avoid removing a nonexistent trailing slash.

This commit is contained in:
Christopher Faylor
2009-05-28 05:10:03 +00:00
parent 0072a41129
commit 9971adf5aa
3 changed files with 12 additions and 7 deletions

View File

@@ -63,7 +63,6 @@ extern "C"
const char *cygwin_inet_ntop (int, const void *, char *, socklen_t);
int dn_length1(const unsigned char *, const unsigned char *,
const unsigned char *);
} /* End of "C" section */
const struct in6_addr in6addr_any = {{IN6ADDR_ANY_INIT}};
@@ -119,7 +118,6 @@ inet_netof (struct in_addr in)
else
res = (i & IN_CLASSC_NET) >> IN_CLASSC_NSHIFT;
return res;
}