Fossil

Check-in [d72aa24ce6]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Avoid the clearenv() interface (which seems to be missing on NetBSD according to [2d4c16df5a9e61c2]) and simply set the global "environ" variable directly.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d72aa24ce6172986d9605c927b3cd6e99dfcf6f3e16f3d70e4b9e9a1b23049c4
User & Date: drh 2019-08-02 18:13:10.855
Context
2019-08-03
01:07
merge to logical conclusion (nop) check-in: f4f9c1090b user: bch tags: trunk
2019-08-02
18:13
Avoid the clearenv() interface (which seems to be missing on NetBSD according to [2d4c16df5a9e61c2]) and simply set the global "environ" variable directly. check-in: d72aa24ce6 user: drh tags: trunk
18:01
Added a comment to fslsrv in place of the just-removed parameter to make it clear what's going on here. check-in: df2eb08e2a user: wyoung tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/file.c.
1765
1766
1767
1768
1769
1770
1771


1772
1773
1774
1775
1776
1777
1778
1779
      rc = 2;
    }
  }else{
    rc = 1;
  }
  return rc;
#else


  return clearenv();
#endif
}

/*
** Like fopen() but always takes a UTF8 argument.
**
** This function assumes ExtFILE. In other words, symbolic links







>
>
|







1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
      rc = 2;
    }
  }else{
    rc = 1;
  }
  return rc;
#else
  extern char **environ;
  environ = 0;
  return 0;
#endif
}

/*
** Like fopen() but always takes a UTF8 argument.
**
** This function assumes ExtFILE. In other words, symbolic links