Re: [PATCH xditview] make sure filename is a regular file.

2018-05-05 Thread Alan Coopersmith
Sorry for letting this get lost in our massive backlog, but it seemed to work well a quick test with /dev/null so I've pushed it to git master now: To ssh://git.freedesktop.org/git/xorg/app/xditview 5383f40..3cd0b7e master -> master Thanks for the patch! -alan- On 12/ 7/10 08:32

[PATCH xditview] make sure filename is a regular file.

2010-12-07 Thread Pat Kane
) { +perror(name); +return; +} +if (! S_ISREG(stbuf.st_mode)){ +fprintf(stderr, %s is not a regular file.\n, name); +return; +} + seek = 1; } if (!new_file) { -- 1.7.1 [PATCH xditview] make sure filename is a regular