Menu

#390 errno message: No such file or directory

closed-fixed
None
2017-01-14
2016-02-25
wolfv
No

Artistic Style does not recognize my "keybrd_single-layer" directory.
AStyle works fine with the other three directories.
All the directories have the same permission:

[wolfv@localhost keybrd_libraries]$ ls -l
total 24
drwxr-xr-x. 2 wolfv wolfv 12288 Feb 24 17:29 keybrd
drwxr-xr-x. 2 wolfv wolfv  4096 Feb 24 17:37 keybrd_DH_layers
drwxr-xr-x. 2 wolfv wolfv  4096 Feb 23 12:28 keybrd_multi-layer
drwxr-xr-x. 2 wolfv wolfv  4096 Feb 20 12:35 keybrd_single-layer
[wolfv@localhost keybrd_libraries]$ cd keybrd_single-layer/
[wolfv@localhost keybrd_single-layer]$ astyle --options=/home/wolfv/astyle_cpp --recursive "*.cpp" "*.h"
------------------------------------------------------------
Directory  /home/wolfv/Documents/Arduino/keybrd_proj/keybrd_libraries/keybrd_single-layer/*.cpp
errno message: No such file or directory
Error getting file status in directory /home/wolfv/Documents/Arduino/keybrd_proj/keybrd_libraries/keybrd_single-layer

Artistic Style has terminated

Same error message if "--recursive" is not in astyle the command.
I am using Artistic Style 2.05.1 on Fedora 22.

Discussion

  • Jim Pattee

    Jim Pattee - 2016-11-22
    • status: open --> open-remind
    • assigned_to: Jim Pattee
    • Priority: 5 --> 7
     
  • Jim Pattee

    Jim Pattee - 2016-11-22

    This is a message from the operating system.
    I will not be able to reproduce it without more information.
    It is probably a file and not a directory.
    If it is still happening, trace the function ASConsole::getFileNames for Linux in astyle_main.
    Find the errno return value.
    If it is a problem with astyle I will have to use special handling for the error.

     
  • Jim Pattee

    Jim Pattee - 2017-01-14
    • status: open-remind --> closed-fixed
     

Log in to post a comment.