*Bogotá, Sunday April 2nd, 2023*
*REF: 'tac' trying to use "/tmp"; Error: not found*
*_______________________________________________________*
*| 'tac' utility dies with a not found "/tmp" error. |*
*¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯*
I didn't see this problem in older 'tac' versions...
I created "/tmp" under my root directory:
* "c:\tmp"* (Windows 10), *to no avail*.
I make a *tmp* dir directly *above*, in the *parent's 'tac' dir*:
*"../tmp"*, at the same level as other usual folders like:
*bin*, *dev*, *etc*, *lib*, *sbin*...,
and now: *'**tac' works fine**!*
I think that in *line 70 of "tac.c"*:
*ID: tac (GNU coreutils) 9.0 Packaged by Cygwin (9.0-1) Copyright (C)
2021 Free Software Foundation, Inc.*
...if it is defined as:
*#define DEFAULT_TMPDIR "**..**/tmp"*
*instead of* the *actual*:
*#define DEFAULT_TMPDIR "/tmp"*
it could work fine!
Best regards,
*Eng. Luis G. Uribe C.*
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple