Opened 8 months ago
Closed 8 months ago
#22771 closed defect (fixed)
Links FTBFS with glibc-2.43
| Reported by: | pierre | Owned by: | pierre |
|---|---|---|---|
| Priority: | normal | Milestone: | 13.0 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
From IRC #lfs-support (r1c0n3r0 report), the error is:
ftp.c: In function ‘got_something_from_data_connection’: ftp.c:771:99: error: assignment of read-only location ‘*(const char *)strchr((const char *)ud, 1)’ 771 | if (strchr(cast_const_char ud, POST_CHAR)) *strchr(cast_const_char ud, POST_CHAR) = 0;
Change History (4)
comment:1 by , 8 months ago
follow-up: 3 comment:2 by , 8 months ago
I guess the issue is "cast_const_char" should be removed, similar to libxcrypt.
I don't know why they must write this nonsense cast in the first place...
comment:3 by , 8 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
Replying to Xi Ruoyao:
I guess the issue is "cast_const_char" should be removed, similar to libxcrypt.
I don't know why they must write this nonsense cast in the first place...
Tried this, and it worked. Will fix the book.
Note:
See TracTickets
for help on using tickets.

Note that links seems abandoned, and I'd suggest using elinks instead...