Since in environment script file, PATH length is well possibly bigger than 1000, the read buffer for paring this file for function fgets need to increase. Otherwise, it will cause PATH cut.
This bug has been fixed by commit: 08e6e37a3ebd4ef278d73373c0b5c4b6d68e54f6
I verified this bug during M3 testing phase. (poky tree cs: 94f29f66797b98, anjuta sdk plugin cs 08e6e37a3ebd4ef278d73373c0b5c4b6d68e54f6).
This bug is fixed and could be closed. It's verified in the latest cs.