Re: [PATCH 1/3] libdiskfs: Allow SYMLOOP_MAX to be undefined

2013-05-05 Thread Samuel Thibault
Hello, David Michael, le Wed 01 May 2013 21:10:32 -0400, a écrit : > POSIX systems are allowed to leave SYMLOOP_MAX undefined, and in such > cases applications are supposed to use sysconf. Well, right, better use sysconf. It may however still return -1, so I've changed the test a bit. Samuel

[PATCH 1/3] libdiskfs: Allow SYMLOOP_MAX to be undefined

2013-05-01 Thread David Michael
POSIX systems are allowed to leave SYMLOOP_MAX undefined, and in such cases applications are supposed to use sysconf. * libdiskfs/boot-start.c (diskfs_start_bootstrap): Replace macro with sysconf. --- According to the standard[1], an undefined SYMLOOP_MAX has a defined interpretation. The glibc