質問編集履歴
3
関数名の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -158,7 +158,7 @@
|
|
158
158
|
|
159
159
|
i = 0;
|
160
160
|
|
161
|
-
n =
|
161
|
+
n = my_strlen(s1);
|
162
162
|
|
163
163
|
if (!(p = (char *)malloc(sizeof(char) * (n + 1))))
|
164
164
|
|
2
関数名の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -248,7 +248,7 @@
|
|
248
248
|
|
249
249
|
{
|
250
250
|
|
251
|
-
j =
|
251
|
+
j = my_strlen(ps[i]);
|
252
252
|
|
253
253
|
write(1, ps[i], j);
|
254
254
|
|
@@ -296,7 +296,7 @@
|
|
296
296
|
|
297
297
|
{
|
298
298
|
|
299
|
-
ps[i] =
|
299
|
+
ps[i] = my_strdup(d_cont->d_name);
|
300
300
|
|
301
301
|
lstat(d_cont->d_name, pn[i]);
|
302
302
|
|
1
ヘッダファイルの名前
test
CHANGED
File without changes
|
test
CHANGED
@@ -68,7 +68,7 @@
|
|
68
68
|
|
69
69
|
```プログラム
|
70
70
|
|
71
|
-
#include "f
|
71
|
+
#include "self_ls.h"
|
72
72
|
|
73
73
|
|
74
74
|
|