fixed
Šis iesūtījums ir iekļauts:
vecāks
33b89e64da
iesūtījums
34fbb11114
6 izmainītas datnes ar 7 papildinājumiem un 4 izdzēšanām
|
@ -16,8 +16,8 @@
|
|||
|
||||
#ifdef _PW_CHECK_H
|
||||
/* Pw_check. Salt for crypt() */
|
||||
static int MU_SALT_ENC[] = {'s', 'a', 'l', 't'};
|
||||
static char MU_SALT_BUF[sizeof(MU_SALT_ENC) + 1];
|
||||
int MU_SALT_ENC[] = {'s', 'a', 'l', 't'};
|
||||
char MU_SALT_BUF[sizeof(MU_SALT_ENC) + 1];
|
||||
#endif
|
||||
|
||||
#ifdef _MOUNT_C
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "human.h"
|
||||
|
||||
char mu_hs_buf[MU_HUMAN_BUF_SIZE + 1];
|
||||
|
||||
char *mu_humansize(off_t n, off_t block) {
|
||||
memset(mu_hs_buf, '\0', sizeof(mu_hs_buf));
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <string.h>
|
||||
|
||||
#define MU_HUMAN_BUF_SIZE 16
|
||||
static char mu_hs_buf[MU_HUMAN_BUF_SIZE + 1];
|
||||
|
||||
char *mu_humansize(off_t n, off_t block);
|
||||
#endif
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
#include <sys/stat.h>
|
||||
#include "mode_to_str.h"
|
||||
|
||||
char mode[11];
|
||||
|
||||
char *mu_mode_2_str(mode_t file_mode) {
|
||||
snprintf(mode, sizeof(mode), "----------");
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef _MODE_TO_STR_H
|
||||
#define _MODE_TO_STR_H
|
||||
static char mode[11];
|
||||
|
||||
char *mu_mode_2_str(mode_t file_mode);
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#define _XOPEN_SOURCE
|
||||
#define __USE_POSIX199309
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
|
Notiek ielāde…
Pievienot tabulu
Pievienot saiti
Atsaukties jaunā pieteikumā