]> git.pld-linux.org Git - packages/poldek.git/blob - poldek-dir-dot.patch
- updated for new snap 0.30
[packages/poldek.git] / poldek-dir-dot.patch
1 diff -urN poldek-0.21-cvs20070703.00.org/misc.c poldek-0.21-cvs20070703.00/misc.c
2 --- poldek-0.21-cvs20070703.00.org/misc.c       2007-07-02 20:30:48.000000000 +0200
3 +++ poldek-0.21-cvs20070703.00/misc.c   2007-11-22 18:09:26.899099602 +0100
4 @@ -526,6 +526,9 @@
5  {
6      if (strstr(path, "./") == NULL)
7          return NULL;
8 +
9 +    if (strncmp(path, ".", 1) == 0)
10 +       return get_current_dir_name();
11      
12  #ifdef HAVE_CANONICALIZE_FILE_NAME /* have safe GNU ext? */
13      return realpath(path, NULL);
This page took 0.234791 seconds and 3 git commands to generate.