Przeglądaj źródła

Use the global buffer

master
Arun Prakash Jana 8 lat temu
rodzic
commit
76d600b072
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: A75979F35C080412
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      nnn.c

+ 1
- 1
nnn.c Wyświetl plik

@@ -372,7 +372,7 @@ xmemrchr(const void *s, uchar ch, size_t n)
static char *
xdirname(const char *path)
{
static char buf[PATH_MAX];
static char *buf = g_buf;
static char *last_slash;

xstrlcpy(buf, path, PATH_MAX);


Ładowanie…
Anuluj
Zapisz