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 pierre, 8 months ago

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

comment:2 by Xi Ruoyao, 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...

in reply to:  2 comment:3 by pierre, 8 months ago

Owner: changed from blfs-book to pierre
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.

comment:4 by pierre, 8 months ago

Resolution: → fixed
Status: assigned → closed

Fixed at 0c01207f6

Note: See TracTickets for help on using tickets.