Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-12-13 | optimize get_current_dir_name to reduce stack bloat | Rich Felker | 1 | -3/+1 | |
our getcwd already (as an extension) supports allocation of a buffer when the buffer argument is a null pointer, so there's no need to duplicate the allocation logic in this wrapper function. duplicating it is actually harmful in that it doubles the stack usage from PATH_MAX to 2*PATH_MAX. | |||||
2013-12-12 | include cleanups: remove unused headers and add feature test macros | Szabolcs Nagy | 1 | -0/+1 | |
2012-02-17 | fix get_current_dir_name behavior | Rich Felker | 1 | -2/+6 | |
2012-02-17 | add get_current_dir_name function | Rich Felker | 1 | -0/+12 | |