Bruno Haible wrote: > Hi Eric, > > Good move. I also like to see a glibc compatible getcwd() that does not > require the complex 'openat' and 'fdopendir' machinery. > > A remark regarding copyright. Through your now module, lib/getcwd.c changes > from GPLv3+ to LGPLv2+. (It is too hard to explain to lawyers that part of a > file could be under GPL and another part under LGPL. It is also too hard for > users to check that a series of #ifs happen to pick only the LGPL code.) > So, either the authors of this file (Paul, Jim, Petr Salinger, and perhaps me)
I would approve a change in copyright if needed, but think separating is clearer indeed. > need to give their approval to this copyright change. Or you move your new > code to lib/getcwd-lgpl.c, like we have two files canonicalize.c and > canonicalize-lgpl.c with code from different origins.