mailing list of musl libc
 help / color / mirror / code / Atom feed
* getmntent: problem with long lines
@ 2016-03-10 14:07 Rüdiger Meier
  0 siblings, 0 replies; only message in thread
From: Rüdiger Meier @ 2016-03-10 14:07 UTC (permalink / raw)
  To: musl

Hi,

getmntent() returns NULL and errno ERANGE if /proc/mounts
contains this line:
skylla:/backup/ssssddddddd/ddsdssdddddx /backup/home_data nfs4 
ro,nosuid,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp6,port=0,timeo=600,retrans=2,sec=sys,clientaddr=fdcc:216f:1d2c::28,local_lock=none,addr=fdcc:216f:1d2c::111 0 0

It works if I make the "device" one char shorter

cu,
Rudi


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-10 14:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-10 14:07 getmntent: problem with long lines Rüdiger Meier

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).