~ubuntu-branches/debian/squeeze/vsftpd/squeeze

« back to all changes in this revision

Viewing changes to sysstr.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2010-11-09 01:00:27 UTC
  • mfrom: (18.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20101109010027-8gx6r04qypxxcmbv
Tags: 2.3.2-3
Adding patch from Philipp Kern <pkern@debian.org> to fix vsftpd on
s390 (Closes: #602726).

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
}
101
101
 
102
102
int
 
103
str_create_exclusive(const struct mystr* p_str)
 
104
{
 
105
  return vsf_sysutil_create_file_exclusive(str_getbuf(p_str));
 
106
}
 
107
 
 
108
int
103
109
str_create(const struct mystr* p_str)
104
110
{
105
 
  return vsf_sysutil_create_file(str_getbuf(p_str));
106
 
}
107
 
 
108
 
int
109
 
str_create_overwrite(const struct mystr* p_str)
110
 
{
111
 
  return vsf_sysutil_create_overwrite_file(str_getbuf(p_str));
112
 
}
113
 
 
114
 
int
115
 
str_create_append(const struct mystr* p_str)
116
 
{
117
111
  return vsf_sysutil_create_or_open_file(
118
112
      str_getbuf(p_str), tunable_file_open_mode);
119
113
}