search for: dju

Displaying 3 results from an estimated 3 matches for "dju".

Did you mean: djm
2011 Jul 07
5
[PATCH 0/5] checkpatch cleanups
It seems checkpatch errors krept in, this is a first go. Next run will go into usr/kinit directory. No code changes, just codingstyle fixes (verified with size(3)). maximilian attems (5): [klibc] sleep: have argument on next line [klibc] readklink: remove unneeded braces [klibc] mount: whitespace policy [klibc] ls: fix various checkpatch complaints [klibc] tests: checkpatch fixlets
2009 May 28
1
[PATCH] klibc-utils: add minils
...H) ? "w" : "-"); + + !STAT_ISSET(st->st_mode, S_ISVTX) ? + printf ("%s", STAT_ISSET(st->st_mode, S_IXOTH) ? "x" : "-") : + printf ("%s", S_ISDIR(st->st_mode) ? "t" : "T"); + + sz = snprintf(NULL, 0, " %%%dju %%%dju %%%dju", max_nlinks, max_uid, max_gid); + if ((fmt = malloc(max_size + sz + 1)) == NULL) { + perror("malloc"); + exit(1); + } + + if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) { + sprintf(fmt, " %%%dju %%%dju %%%dju %%%du,%%%du", + max_nlinks, max...
2009 May 29
1
[PATCH v2] klibc-utils: add simple ls
...: '-'); + + !STAT_ISSET(st->st_mode, S_ISVTX) ? + putchar(STAT_ISSET(st->st_mode, S_IXOTH) ? 'x' : '-') : + putchar(S_ISDIR(st->st_mode) ? 't' : 'T'); + + if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) { + rc = asprintf(&fmt," %%%dju %%%dju %%%dju %%%du,%%%du %%s", + max_nlinks, max_uid, max_gid, max_maj, max_min); + if (rc == -1) { + perror("asprintf"); + exit(1); + } + fprintf(stdout, fmt, + (uintmax_t) st->st_nlink, + (uintmax_t) st->st_uid, + (uintmax_t) st->st_gid, + ma...