server.c (server_setup): Check return value of getcwd and in case of error set buff...
authorUros Bizjak <ubizjak@gmail.com>
Mon, 15 Dec 2014 08:10:41 +0000 (09:10 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 15 Dec 2014 08:10:41 +0000 (09:10 +0100)
commit451f11993580c3fb0b80da62885a00f8ee265304
tree67e523c86d557fad96ecc174028975ceba2f2c61
parentdea91a66ff51bb0f37db48baebc7e098947713e9
server.c (server_setup): Check return value of getcwd and in case of error set buff[0] to 0.

* server.c (server_setup): Check return value of
getcwd and in case of error set buff[0] to 0.

From-SVN: r218732
fixincludes/ChangeLog
fixincludes/server.c