Include <limits.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Nov 2005 07:43:50 +0000 (07:43 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Nov 2005 07:43:50 +0000 (07:43 +0000)
commit45ad3543a92fb2368fafb13885662666597a2496
treea11b20364470b539dd03f2ba5cb5acd972b84439
parent9b539d863434b6c97efcdf08f0b3c8986adf6077
Include <limits.h>.
(dev_from_mount_options)
[defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2]:
New function.  It no longer assumes "dev=" has the System V meaning
on Linux (since it doesn't).  It also parses "dev=" more carefully.
(read_file_system_list)
[defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2]: Use it.
MOUNTED_GETMNTENT2 is new here; the code didn't used to look for
dev= in that case.
lib/mountlist.c