Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename file "aux.c" because it is a reserved filename on Windows #897

Closed
fvilante opened this issue Oct 20, 2022 · 1 comment
Closed

Rename file "aux.c" because it is a reserved filename on Windows #897

fvilante opened this issue Oct 20, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@fvilante
Copy link

fvilante commented Oct 20, 2022

Improve Multi-Platform Support

The file 'tests/simulate/time/aux.c' use a reserved filename on Microsoft Windows systems.

Therefore you will experience an error when cloning this repository on Windows.

This error also propagates to downstream users of other languages like in this case rust_avr_libc. The building tools also does not work because that.

Just renaming the filename will solve the problem and make the library platform agnostic.

related: #889


╰─❯ git clone https://github.com/avrdudes/avr-libc.git
Cloning into 'avr-libc'...
remote: Enumerating objects: 22589, done.
remote: Counting objects: 100% (576/576), done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 22589 (delta 488), reused 536 (delta 461), pack-reused 22013
Receiving objects: 100% (22589/22589), 9.85 MiB | 5.59 MiB/s, done.
Resolving deltas: 100% (18329/18329), done.
error: invalid path 'tests/simulate/time/aux.c'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
fvilante added a commit to fvilante/rust-avrlibc that referenced this issue Oct 24, 2022
@sprintersb sprintersb added the duplicate This issue or pull request already exists label Feb 1, 2024
@sprintersb
Copy link
Collaborator

Closed as dup of #889.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants