|
Last change
on this file since 1193 was 1178, checked in by Bruno Cornec, 19 years ago |
|
Continue to merge trunk memory management enhancements for libmondo-tools.c & libmondo-string.c
Introduction + test of a new function mr_strcat
|
|
File size:
356 bytes
|
| Rev | Line | |
|---|
| [1178] | 1 | *** Test with mr_malloc/mr_free
|
|---|
| [1134] | 2 | pointer is NOT null
|
|---|
| 3 | pointer is null
|
|---|
| [1178] | 4 | *** Test with mr_asprintf/mr_free
|
|---|
| 5 | Result: Chain of trust
|
|---|
| 6 | *** Test with mr_strcat
|
|---|
| 7 | Result: Another Chain of trust
|
|---|
| 8 | *** Test with mr_getline/mr_free
|
|---|
| 9 | 1st Result: root:x:0:0:root:/root:/bin/bash
|
|---|
| 10 | 2nd Result: bin:x:1:1:bin:/bin:/bin/sh
|
|---|
| 11 | 3rd Result: another line
|
|---|
| [1134] | 12 | *** Test with NULL
|
|---|
| 13 | pointer is null
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.