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

(-)./files/patch-src_cpp_core_spelling_hunspell_affentry.hxx (+20 lines)
Line 0 Link Here
1
--- src/cpp/core/spelling/hunspell/affentry.hxx.orig	2018-05-16 08:03:33.232684000 +0200
2
+++ src/cpp/core/spelling/hunspell/affentry.hxx	2018-05-16 08:04:38.957718000 +0200
3
@@ -27,7 +27,7 @@
4
   struct hentry *      checkword(const char * word, int len, char in_compound, 
5
                             const FLAG needflag = FLAG_NULL);
6
 
7
-  struct hentry *      check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = NULL);
8
+  struct hentry *      check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = FLAG_NULL);
9
 
10
   char *      check_morph(const char * word, int len, char in_compound,
11
                             const FLAG needflag = FLAG_NULL);
12
@@ -90,7 +90,7 @@
13
 //                    const FLAG cclass = FLAG_NULL, const FLAG needflag = FLAG_NULL, char in_compound=IN_CPD_NOT);
14
                     const FLAG cclass = FLAG_NULL, const FLAG needflag = FLAG_NULL, const FLAG badflag = 0);
15
 
16
-  struct hentry *   check_twosfx(const char * word, int len, int optflags, PfxEntry* ppfx, const FLAG needflag = NULL);
17
+  struct hentry *   check_twosfx(const char * word, int len, int optflags, PfxEntry* ppfx, const FLAG needflag = FLAG_NULL);
18
 
19
   char *      check_twosfx_morph(const char * word, int len, int optflags,
20
                  PfxEntry* ppfx, const FLAG needflag = FLAG_NULL);
(-)./files/patch-src_cpp_core_system_Process.cpp (+13 lines)
Line 0 Link Here
1
--- src/cpp/core/system/Process.cpp.orig	2018-05-16 08:07:48.969066000 +0200
2
+++ src/cpp/core/system/Process.cpp	2018-05-16 08:08:05.143543000 +0200
3
@@ -236,8 +236,8 @@
4
    cb.onError = bind(&ChildCallbacks::onError, pCC, _1, _2);
5
 
6
    // Not implemented for generic processes
7
-   cb.onHasSubprocs = NULL;
8
-   cb.reportCwd = NULL;
9
+   cb.onHasSubprocs = 0;
10
+   cb.reportCwd = 0;
11
 
12
    // return it
13
    return cb;
(-)./files/patch-src_cpp_session_modules_SessionCodeSearch.cpp (+11 lines)
Line 0 Link Here
1
--- src/cpp/session/modules/SessionCodeSearch.cpp.orig	2018-05-16 08:18:53.884840000 +0200
2
+++ src/cpp/session/modules/SessionCodeSearch.cpp	2018-05-16 08:19:06.300137000 +0200
3
@@ -771,7 +771,7 @@
4
    
5
    void walkFiles(const FilePath& parentPath,
6
                   boost::function<void(const Entry&)> operation,
7
-                  boost::function<bool(const Entry&)> filter = NULL)
8
+                  boost::function<bool(const Entry&)> filter = 0)
9
    {
10
       Entry parentEntry(core::toFileInfo(parentPath));
11
       EntryTree::iterator parentItr = pEntries_->find_branch(parentEntry);

Return to bug 228289