Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96e1fbe

Browse files
committed
I recently received the Debian bug report below about missing iconv
support for the dbf2pg contrib module.The submitter created a patch which replaces the silent ignoring of -F(when iconv support is disabled) with a meaningful warning.Martin Pitt
1 parentdc1cb4c commit96e1fbe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎contrib/dbase/dbf2pg.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,10 +618,14 @@ main(int argc, char **argv)
618618
case'U':
619619
username= (char*)strdup(optarg);
620620
break;
621-
#ifdefHAVE_ICONV_H
622621
case'F':
622+
#ifdefHAVE_ICONV_H
623623
charset_from= (char*)strdup(optarg);
624+
#else
625+
printf("WARNING: dbf2pg was compiled without iconv support, ignoring -F option\n");
626+
#endif
624627
break;
628+
#ifdefHAVE_ICONV_H
625629
case'T':
626630
charset_to= (char*)strdup(optarg);
627631
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp