[Git][cmucl/cmucl][issue-130-file-author-in-c] Remove debugging prints
Raymond Toy (@rtoy)
gitlab at common-lisp.net
Fri Sep 2 05:13:11 UTC 2022
Raymond Toy pushed to branch issue-130-file-author-in-c at cmucl / cmucl
Commits:
5fe9e5d5 by Raymond Toy at 2022-09-01T22:12:48-07:00
Remove debugging prints
- - - - -
1 changed file:
- src/lisp/os-common.c
Changes:
=====================================
src/lisp/os-common.c
=====================================
@@ -756,7 +756,6 @@ os_file_author(const char *path)
while (1) {
buf2 = realloc(buf, bufsize);
- fprintf(stderr, "buf2 = %p, size %zu\n", buf2, bufsize);
if (buf2 == NULL) {
result = NULL;
@@ -783,17 +782,12 @@ os_file_author(const char *path)
}
if (result) {
- fprintf(stderr, "Allocate %d bytes for author\n",
- strlen(result->pw_name + 1));
-
author = malloc(strlen(result->pw_name) + 1);
if (author) {
- fprintf(stderr, "author = %p\n", author);
strcpy(author, result->pw_name);
}
}
- fprintf(stderr, "Free buf %p\n", buf);
if (buf) {
free(buf);
}
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/5fe9e5d56daeac24d2f16565d08fb4019eff2e01
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/5fe9e5d56daeac24d2f16565d08fb4019eff2e01
You're receiving this email because of your account on gitlab.common-lisp.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20220902/90162e3d/attachment-0001.html>
More information about the cmucl-cvs
mailing list