bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCHv2 0/9] reduce getcwd weight


From: Eric Blake
Subject: [PATCHv2 0/9] reduce getcwd weight
Date: Tue, 26 Apr 2011 17:35:22 -0600

Round 2; addresses the comments from round one, and scrubs the
rest of gnulib for clients of getcwd that can benefit from the
new module.

Eric Blake (9):
  getcwd: tweak comments
  getcwd-lgpl: new module
  getcwd: enhance tests
  save-cwd: reduce dependency
  dirent-safer: drop unused link dependency
  tests: reduce dependencies
  linkat, renameat: add missing dependency
  filenamecat-lgpl: fix licence
  fchdir: avoid extra chdir and fix test

 ChangeLog                       |   53 +++++++++
 MODULES.html.sh                 |    1 +
 doc/posix-functions/getcwd.texi |   13 ++-
 lib/fchdir.c                    |   45 ++++-----
 lib/getcwd-lgpl.c               |  117 ++++++++++++++++++++
 m4/dup2.m4                      |    1 +
 m4/getcwd-abort-bug.m4          |    5 +-
 m4/getcwd-path-max.m4           |    5 +-
 m4/getcwd.m4                    |   33 ++++++-
 modules/dirent-safer-tests      |    3 -
 modules/fchdir                  |    3 +
 modules/fchdir-tests            |    3 +-
 modules/filenamecat-lgpl        |    2 +-
 modules/getcwd-lgpl             |   25 +++++
 modules/getcwd-lgpl-tests       |   12 ++
 modules/getcwd-tests            |    6 +-
 modules/linkat                  |    1 +
 modules/linkat-tests            |    2 +-
 modules/renameat                |    1 +
 modules/renameat-tests          |    2 +-
 modules/save-cwd                |    2 +-
 tests/test-getcwd-lgpl.c        |   76 +++++++++++++
 tests/test-getcwd.c             |  222 ++++++++++++++++++++++++++++++++-------
 tests/test-linkat.c             |    4 +-
 tests/test-renameat.c           |    4 +-
 25 files changed, 552 insertions(+), 89 deletions(-)
 create mode 100644 lib/getcwd-lgpl.c
 create mode 100644 modules/getcwd-lgpl
 create mode 100644 modules/getcwd-lgpl-tests
 create mode 100644 tests/test-getcwd-lgpl.c

-- 
1.7.4.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]