D 2011-06-17T19:04:31.121 J comment In\sfile.c,\sgetcwd()\scan\sreturn\sNULL\sby\sdifferent\scauses.\r\n\r\nOne\sthat\sgot\sme\smad\sis\sthat\sa\sshell\sis\sin\sa\sdirectory\sthat\ssomeone\sremoved.\s'ls'\sstill\sworks\sthere,\sbut\sany\sfossil\soperation\sreturns\s'pwd\stoo\sbig:\smax\s1999'.\r\n\r\nShowing\sstrerror(errno)\swould\shave\stought\sme\swhat\sto\sdo,\sas\sI\sonly\sdiscovered\sthe\scause\sof\sgetcwd()==0\sthrough\sgdb.\sMy\spwd\swas\s'/tmp/f',\sthat\sisn't\svery\sbig.\s:) J foundin [dbe1e68e43] J severity Minor J status Open J title pwd\stoo\sbig:\smax\s1999 J type Code_Defect K f628d183c958c5b12fccb42f4b52a7c94031e07e U viriketo Z aabe9ebb87a7e6bd07ad4f4c55c3a735