don't absolute qualify stdin (it's a macro)

This commit is contained in:
Doug Hoyte
2024-09-05 14:22:40 -04:00
parent 4bb2a785d2
commit 3358e5e0ff

View File

@ -66,7 +66,7 @@ void cmd_import(const std::vector<std::string> &subArgs) {
uint64_t currLine = 0;
while (ssize_t numRead = ::getline(&buf, &bufLen, ::stdin)) {
while (ssize_t numRead = ::getline(&buf, &bufLen, stdin)) {
if (numRead <= 0) break;
currLine++;