View | Details | Raw Unified | Return to bug 12135
Collapse All | Expand All

(-)scrollkeeper-0.3.14.orig/libs/database.c (-1 / +2 lines)
Lines 22-27 Link Here
22
#include <stddef.h>
22
#include <stddef.h>
23
#include <unistd.h>
23
#include <unistd.h>
24
#include <sys/stat.h>
24
#include <sys/stat.h>
25
#include <sys/param.h>
25
#include <errno.h>
26
#include <errno.h>
26
#include <libintl.h>
27
#include <libintl.h>
27
#include <dirent.h>
28
#include <dirent.h>
Lines 160-166 Link Here
160
	else /* link the directory */
161
	else /* link the directory */
161
	{
162
	{
162
	    char *target_locale;
163
	    char *target_locale;
163
	    char aux_path[PATHLEN];
164
	    char aux_path[MAXPATHLEN];
164
165
165
	    realpath(source_path, aux_path);
166
	    realpath(source_path, aux_path);
166
	    target_locale = strrchr(aux_path, '/');
167
	    target_locale = strrchr(aux_path, '/');

Return to bug 12135