mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 06:15:03 +02:00
grammer: codespell 🤓
This commit is contained in:
parent
f03656f509
commit
6d9b02e6de
@ -1,2 +1,2 @@
|
|||||||
[codespell]
|
[codespell]
|
||||||
skip = ./assets/pkg/aur/*/src
|
skip = ./assets/pkg/aur/*/src,./assets/pkg/aur/*/*/objects
|
||||||
|
@ -131,9 +131,9 @@ void moarEnv(char *user, struct session session, struct passwd *pw,
|
|||||||
char *newbuf =
|
char *newbuf =
|
||||||
malloc(home_len + strlen(file2sourcepath) + 2); // nullbyte and slash
|
malloc(home_len + strlen(file2sourcepath) + 2); // nullbyte and slash
|
||||||
if (newbuf == NULL)
|
if (newbuf == NULL)
|
||||||
continue; // cant bother
|
continue; // can't bother
|
||||||
strcpy(newbuf, pw->pw_dir);
|
strcpy(newbuf, pw->pw_dir);
|
||||||
newbuf[home_len] = '/'; // assume pw_dir doesnt start with '/' :P
|
newbuf[home_len] = '/'; // assume pw_dir doesn't start with '/' :P
|
||||||
strcpy(&newbuf[home_len + 1], file2sourcepath);
|
strcpy(&newbuf[home_len + 1], file2sourcepath);
|
||||||
|
|
||||||
/* printf("DEBUG(user_source)!!!! %d %s\n", i, newbuf); */
|
/* printf("DEBUG(user_source)!!!! %d %s\n", i, newbuf); */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user