mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Give Emacs another performance boost
This commit is contained in:
parent
5b42c810a5
commit
9c7b81ee0f
30 changed files with 253 additions and 102 deletions
|
@ -17,7 +17,7 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/dce.h"
|
||||
#include "libc/intrin/_getenv.internal.h"
|
||||
#include "libc/intrin/getenv.internal.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/sysv/errfuns.h"
|
||||
|
||||
|
@ -36,7 +36,7 @@ int unsetenv(const char *s) {
|
|||
if (*t == '=') return einval();
|
||||
}
|
||||
if ((p = environ)) {
|
||||
e = _getenv(p, s);
|
||||
e = __getenv(p, s);
|
||||
while (p[e.i]) {
|
||||
p[e.i] = p[e.i + 1];
|
||||
++e.i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue