/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to dracut-module/password-agent.c

  • Committer: Teddy Hogeborn
  • Date: 2023-02-07 23:29:39 UTC
  • Revision ID: teddy@recompile.se-20230207232939-7qxu3keq5gvx6a9b
Fix issue with french translation

Initial white space was missing in both msgid and msgstr of the french
translation, leading to checking tools reporing an incomplete
translation.

* debian/po/fr.po: Add missing whitespace to the id and translation
  for msgid " key_id = <HEXSTRING>".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1488
1488
    if(send_buffer == NULL){
1489
1489
      error(0, errno, "Failed to allocate send_buffer");
1490
1490
    } else {
1491
 
#if defined(__GNUC__) and __GNUC__ >= 5
1492
 
#pragma GCC diagnostic push
1493
 
  /* mlock() does not access the memory */
1494
 
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
1495
 
#endif
1496
1491
      if(mlock(send_buffer, send_buffer_length) != 0){
1497
 
#if defined(__GNUC__) and __GNUC__ >= 5
1498
 
#pragma GCC diagnostic pop
1499
 
#endif
1500
1492
        /* Warn but do not treat as fatal error */
1501
1493
        if(errno != EPERM and errno != ENOMEM){
1502
1494
          error(0, errno, "Failed to lock memory for password"
4855
4847
  memcpy(ievent->name, dummy_file_name, sizeof(dummy_file_name));
4856
4848
  const size_t ievent_size = (sizeof(struct inotify_event)
4857
4849
                              + sizeof(dummy_file_name));
4858
 
#if defined(__GNUC__) and __GNUC__ >= 11
4859
 
#pragma GCC diagnostic push
4860
 
  /* ievent is pointing into a struct which is of sufficient size */
4861
 
#pragma GCC diagnostic ignored "-Wstringop-overread"
4862
 
#endif
4863
4850
  g_assert_cmpint(write(pipefds[1], (char *)ievent, ievent_size),
4864
4851
                  ==, ievent_size);
4865
 
#if defined(__GNUC__) and __GNUC__ >= 11
4866
 
#pragma GCC diagnostic pop
4867
 
#endif
4868
4852
  g_assert_cmpint(close(pipefds[1]), ==, 0);
4869
4853
 
4870
4854
  bool quit_now = false;