2006-04-14 Tilman Sauerbeck (tilman at crux nu)
* ChangeLog, NEWS: Moved old ChangeLog to NEWS
* pkgmk.in: Write warnings and errors to stderr instead of stdout
+ * pkgutil.cc: Use the proper sentinel in the execl() call
throw runtime_error_with_errno("fork() failed");
if (pid == 0) {
- execl(LDCONFIG, LDCONFIG, "-r", root.c_str(), 0);
+ execl(LDCONFIG, LDCONFIG, "-r", root.c_str(), (char *) 0);
const char* msg = strerror(errno);
cerr << utilname << ": could not execute " << LDCONFIG << ": " << msg << endl;
exit(EXIT_FAILURE);