OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-link-grammar commits / 1d9770f

lg_xdg.c: Fix typos
1d9770f0191c19a863ef67c4d34126c2bbe4c0a1
by ampli <amirpli@gmail.com> · 2024-05-28T22:03:09.000Z

Changed files (1) +2 -2

link-parser/lg_xdg.c +2 -2
……@@ -38,7 +38,7 @@ typedef struct
3838
3939xdg_definition xdg_def[] =
4040{
41 { "/.local/state", "XDG_STATE_HOME" },
41 { "/.local/state", "XDG_STATE_HOME" },
4242 // Add more definitions if needed.
4343};
4444
……@@ -108,7 +108,7 @@ static bool make_dirpath(const char *path)
108108 {
109109 if (is_sep(p[-1])) continue; // Ignore directory separator sequences
110110 *p = '\0'; // Now dir is the path up to this point
111 //prt_error("DEBUG: mkdir: '%s'\n", dir);
111 //prt_error("Debug: mkdir: '%s'\n", dir);
112112 if (mkdir(dir, S_IRWXU) == -1)
113113 {
114114 int save_errno = errno;