patch-src_l_lib_h 431 B

123456789101112131415
  1. $OpenBSD: patch-src_l_lib_h,v 1.1.1.1 2006/12/30 15:42:53 steven Exp $
  2. --- src/l_lib.h.orig Mon Aug 28 08:15:43 2006
  3. +++ src/l_lib.h Sat Dec 30 00:29:10 2006
  4. @@ -69,8 +69,8 @@ namespace OS {
  5. inline std::string getcwd() {
  6. untested();
  7. - char buf[BUFLEN+1];
  8. - char* cwd = ::getcwd(buf,BUFLEN);
  9. + char buf[MAXPATHLEN];
  10. + char* cwd = ::getcwd(buf,MAXPATHLEN);
  11. if (cwd) {
  12. untested();
  13. return cwd;